Class: Trackablaze::Param
- Inherits:
-
Object
- Object
- Trackablaze::Param
- Defined in:
- lib/trackablaze/param.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(name, config) ⇒ Param
constructor
A new instance of Param.
Constructor Details
#initialize(name, config) ⇒ Param
Returns a new instance of Param.
5 6 7 8 9 10 |
# File 'lib/trackablaze/param.rb', line 5 def initialize(name, config) @name = name @title = config['title'] @description = config['description'] @config = config end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
3 4 5 |
# File 'lib/trackablaze/param.rb', line 3 def config @config end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/trackablaze/param.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/trackablaze/param.rb', line 3 def name @name end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/trackablaze/param.rb', line 3 def title @title end |