Class: Configuration
- Inherits:
-
Object
- Object
- Configuration
- Defined in:
- lib/configurations/configuration.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#displayfield ⇒ Object
Returns the value of attribute displayfield.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value, description) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(name, value, description) ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 |
# File 'lib/configurations/configuration.rb', line 6 def initialize(name, value, description) @name = name @value = value @description = description end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/configurations/configuration.rb', line 4 def description @description end |
#displayfield ⇒ Object
Returns the value of attribute displayfield.
4 5 6 |
# File 'lib/configurations/configuration.rb', line 4 def displayfield @displayfield end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/configurations/configuration.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/configurations/configuration.rb', line 4 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/configurations/configuration.rb', line 4 def value @value end |