Exception: Chef::Exceptions::GemRequirementConflict
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Chef::Exceptions::GemRequirementConflict
- Defined in:
- lib/chef/exceptions.rb
Instance Method Summary collapse
-
#initialize(gem_name, option, value1, value2) ⇒ GemRequirementConflict
constructor
A new instance of GemRequirementConflict.
Constructor Details
#initialize(gem_name, option, value1, value2) ⇒ GemRequirementConflict
Returns a new instance of GemRequirementConflict.
508 509 510 |
# File 'lib/chef/exceptions.rb', line 508 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 |