Exception: RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError
- Inherits:
-
StandardError
- Object
- StandardError
- RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError
- Defined in:
- lib/rbs/collection/config/lockfile_generator.rb
Instance Method Summary collapse
-
#initialize(expected:, actual:) ⇒ GemfileLockMismatchError
constructor
A new instance of GemfileLockMismatchError.
- #message ⇒ Object
Constructor Details
#initialize(expected:, actual:) ⇒ GemfileLockMismatchError
Returns a new instance of GemfileLockMismatchError.
10 11 12 13 |
# File 'lib/rbs/collection/config/lockfile_generator.rb', line 10 def initialize(expected:, actual:) @expected = expected @actual = actual end |
Instance Method Details
#message ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/rbs/collection/config/lockfile_generator.rb', line 15 def <<~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 |