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.



227
228
229
230
231
# File 'lib/cheffish/chef_provider_base.rb', line 227

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



233
234
235
# File 'lib/cheffish/chef_provider_base.rb', line 233

def name
  @name
end

#orgObject (readonly)

Returns the value of attribute org.



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

def org
  @org
end

#parentObject (readonly)

Returns the value of attribute parent.



234
235
236
# File 'lib/cheffish/chef_provider_base.rb', line 234

def parent
  @parent
end