Exception: Chef::Exceptions::GemRequirementConflict

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(gem_name, option, value1, value2) ⇒ GemRequirementConflict

Returns a new instance of GemRequirementConflict.


518
519
520
# File 'lib/chef/exceptions.rb', line 518

def initialize(gem_name, option, value1, value2)
  super "Conflicting requirements for gem '#{gem_name}': Both #{value1.inspect} and #{value2.inspect} given for option #{option.inspect}"
end