Class: ChefZero::ChefData::CookbookData::PretendCookbook
- Inherits:
-
Object
- Object
- ChefZero::ChefData::CookbookData::PretendCookbook
- Defined in:
- lib/chef_zero/chef_data/cookbook_data.rb
Overview
Just enough cookbook to make a Metadata object
Instance Attribute Summary collapse
-
#fully_qualified_recipe_names ⇒ Object
readonly
Returns the value of attribute fully_qualified_recipe_names.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, fully_qualified_recipe_names) ⇒ PretendCookbook
constructor
A new instance of PretendCookbook.
Constructor Details
#initialize(name, fully_qualified_recipe_names) ⇒ PretendCookbook
Returns a new instance of PretendCookbook.
166 167 168 169 |
# File 'lib/chef_zero/chef_data/cookbook_data.rb', line 166 def initialize(name, fully_qualified_recipe_names) @name = name @fully_qualified_recipe_names = fully_qualified_recipe_names end |
Instance Attribute Details
#fully_qualified_recipe_names ⇒ Object (readonly)
Returns the value of attribute fully_qualified_recipe_names.
170 171 172 |
# File 'lib/chef_zero/chef_data/cookbook_data.rb', line 170 def fully_qualified_recipe_names @fully_qualified_recipe_names end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
170 171 172 |
# File 'lib/chef_zero/chef_data/cookbook_data.rb', line 170 def name @name end |