Exception: Bundler::IncorrectLockfileDependencies

Inherits:
BundlerError
  • Object
show all
Defined in:
lib/bundler/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(spec) ⇒ IncorrectLockfileDependencies

Returns a new instance of IncorrectLockfileDependencies.

[View source]

271
272
273
# File 'lib/bundler/errors.rb', line 271

def initialize(spec)
  @spec = spec
end

Instance Attribute Details

#specObject (readonly)

Returns the value of attribute spec.


269
270
271
# File 'lib/bundler/errors.rb', line 269

def spec
  @spec
end

Instance Method Details

#messageObject

[View source]

275
276
277
# File 'lib/bundler/errors.rb', line 275

def message
  "Bundler found incorrect dependencies in the lockfile for #{spec.full_name}"
end