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.
-
#org ⇒ Object
readonly
Returns the value of attribute org.
-
#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.
223 224 225 226 227 |
# File 'lib/cheffish/chef_provider_base.rb', line 223 def initialize(name, parent = nil) @name = name @parent = parent @org = nil end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
229 230 231 |
# File 'lib/cheffish/chef_provider_base.rb', line 229 def name @name end |
#org ⇒ Object (readonly)
Returns the value of attribute org.
231 232 233 |
# File 'lib/cheffish/chef_provider_base.rb', line 231 def org @org end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
230 231 232 |
# File 'lib/cheffish/chef_provider_base.rb', line 230 def parent @parent end |