Exception: ChefCLI::CookbookSourceConflict
- Inherits:
-
StandardError
- Object
- StandardError
- ChefCLI::CookbookSourceConflict
- Defined in:
- lib/chef-cli/exceptions.rb
Instance Attribute Summary collapse
-
#conflicting_cookbooks ⇒ Object
readonly
Returns the value of attribute conflicting_cookbooks.
-
#cookbook_sources ⇒ Object
readonly
Returns the value of attribute cookbook_sources.
Instance Method Summary collapse
-
#initialize(conflicting_cookbooks, cookbook_sources) ⇒ CookbookSourceConflict
constructor
A new instance of CookbookSourceConflict.
Constructor Details
#initialize(conflicting_cookbooks, cookbook_sources) ⇒ CookbookSourceConflict
Returns a new instance of CookbookSourceConflict.
104 105 106 107 108 |
# File 'lib/chef-cli/exceptions.rb', line 104 def initialize(conflicting_cookbooks, cookbook_sources) @conflicting_cookbooks = conflicting_cookbooks @cookbook_sources = cookbook_sources super() end |
Instance Attribute Details
#conflicting_cookbooks ⇒ Object (readonly)
Returns the value of attribute conflicting_cookbooks.
100 101 102 |
# File 'lib/chef-cli/exceptions.rb', line 100 def conflicting_cookbooks @conflicting_cookbooks end |
#cookbook_sources ⇒ Object (readonly)
Returns the value of attribute cookbook_sources.
102 103 104 |
# File 'lib/chef-cli/exceptions.rb', line 102 def cookbook_sources @cookbook_sources end |