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.



230
231
232
233
234
# File 'lib/cheffish/chef_provider_base.rb', line 230

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



236
237
238
# File 'lib/cheffish/chef_provider_base.rb', line 236

def name
  @name
end

#orgObject (readonly)

Returns the value of attribute org.



238
239
240
# File 'lib/cheffish/chef_provider_base.rb', line 238

def org
  @org
end

#parentObject (readonly)

Returns the value of attribute parent.



237
238
239
# File 'lib/cheffish/chef_provider_base.rb', line 237

def parent
  @parent
end