Class: Momo::Parameter
- Inherits:
-
Object
- Object
- Momo::Parameter
- Includes:
- MomoCondition
- Defined in:
- lib/momo/parameter.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, stack, options = {}) ⇒ Parameter
constructor
A new instance of Parameter.
Methods included from MomoCondition
Constructor Details
#initialize(name, stack, options = {}) ⇒ Parameter
Returns a new instance of Parameter.
8 9 10 11 12 |
# File 'lib/momo/parameter.rb', line 8 def initialize(name, stack, ={}) @name = name @stack = stack @options = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/momo/parameter.rb', line 4 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/momo/parameter.rb', line 4 def @options end |