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