Exception: Bundler::VersionConflict

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

Overview

Internal error, should be rescued

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(conflicts, msg = nil) ⇒ VersionConflict

Returns a new instance of VersionConflict.



27
28
29
30
# File 'lib/bundler/errors.rb', line 27

def initialize(conflicts, msg = nil)
  super(msg)
  @conflicts = conflicts
end

Instance Attribute Details

#conflictsObject (readonly)

Returns the value of attribute conflicts.



25
26
27
# File 'lib/bundler/errors.rb', line 25

def conflicts
  @conflicts
end