Class: Cheffish::ChefProviderBase::FakeEntry
- Inherits:
-
Object
- Object
- Cheffish::ChefProviderBase::FakeEntry
- Defined in:
- lib/cheffish/chef_provider_base.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize(name, parent = nil) ⇒ FakeEntry
constructor
A new instance of FakeEntry.
Constructor Details
#initialize(name, parent = nil) ⇒ FakeEntry
213 214 215 216 |
# File 'lib/cheffish/chef_provider_base.rb', line 213 def initialize(name, parent = nil) @name = name @parent = parent end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
218 219 220 |
# File 'lib/cheffish/chef_provider_base.rb', line 218 def name @name end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
219 220 221 |
# File 'lib/cheffish/chef_provider_base.rb', line 219 def parent @parent end |