Exception: Bundler::VersionConflict

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

Overview

Internal errors, should be rescued

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BundlerError

status_code

Constructor Details

#initialize(conflicts, msg = nil) ⇒ VersionConflict

Returns a new instance of VersionConflict.



67
68
69
70
# File 'lib/bundler.rb', line 67

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

Instance Attribute Details

#conflictsObject (readonly)

Returns the value of attribute conflicts.



65
66
67
# File 'lib/bundler.rb', line 65

def conflicts
  @conflicts
end