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
Returns a new instance of FakeEntry.
215 216 217 218 |
# File 'lib/cheffish/chef_provider_base.rb', line 215 def initialize(name, parent = nil) @name = name @parent = parent end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
220 221 222 |
# File 'lib/cheffish/chef_provider_base.rb', line 220 def name @name end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
221 222 223 |
# File 'lib/cheffish/chef_provider_base.rb', line 221 def parent @parent end |