Class: Cheffish::ChefProviderBase::FakeEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/cheffish/chef_provider_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



218
219
220
# File 'lib/cheffish/chef_provider_base.rb', line 218

def name
  @name
end

#parentObject (readonly)

Returns the value of attribute parent.



219
220
221
# File 'lib/cheffish/chef_provider_base.rb', line 219

def parent
  @parent
end