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

Public Class Methods

new(expected:, actual:) click to toggle source
# File rbs-3.4.4/lib/rbs/collection/config/lockfile_generator.rb, line 8
def initialize(expected:, actual:)
  @expected = expected
  @actual = actual
end

Public Instance Methods

message() click to toggle source
# File rbs-3.4.4/lib/rbs/collection/config/lockfile_generator.rb, line 13
          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