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

Returns a new instance of FakeEntry.



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

def initialize(name, parent = nil)
  @name = name
  @parent = parent
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



221
222
223
# File 'lib/cheffish/chef_provider_base.rb', line 221

def name
  @name
end

#parentObject (readonly)

Returns the value of attribute parent.



222
223
224
# File 'lib/cheffish/chef_provider_base.rb', line 222

def parent
  @parent
end