class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError - rbs: Ruby Standard Library Documentation

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

### Public Class Methods

new(expected:, actual:) click to toggle source

    # File rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb, line 10
    def initialize(expected:, actual:)
      @expected = expected
      @actual = actual
    end

### Public Instance Methods

message() click to toggle source

    # 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