Class: Momo::Parameter

Inherits:
Object
  • Object
show all
Includes:
MomoCondition
Defined in:
lib/momo/parameter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MomoCondition

#and, #equals, #or

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, options={})
	@name = name
	@stack = stack
	@options = options
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/momo/parameter.rb', line 4

def name
  @name
end

#optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/momo/parameter.rb', line 4

def options
  @options
end