Class: Phoenx::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/phoenx/entities/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, parent) ⇒ Configuration

Returns a new instance of Configuration.



7
8
9
10
# File 'lib/phoenx/entities/configuration.rb', line 7

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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/phoenx/entities/configuration.rb', line 5

def name
  @name
end

#parentObject

Returns the value of attribute parent.



4
5
6
# File 'lib/phoenx/entities/configuration.rb', line 4

def parent
  @parent
end