class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError

公共类方法

new(expected:, actual:) 点击切换源代码
# File rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb, line 10
def initialize(expected:, actual:)
  @expected = expected
  @actual = actual
end

公共实例方法

message() 点击切换源代码
# File rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb, line 15
          def message
            <<~MESSAGE
              RBS Collection loads a different Gemfile.lock from before.
              The Gemfile.lock must be the same as that is recorded in rbs_collection.lock.yaml.
              Expected Gemfile.lock: #{@expected}
              Actual Gemfile.lock: #{@actual}
            MESSAGE
          end