Class: Skeem::SkmIterationSpec
- Inherits:
-
Object
- Object
- Skeem::SkmIterationSpec
- Defined in:
- lib/skeem/s_expr_nodes.rb
Instance Attribute Summary collapse
-
#init_expr ⇒ Object
readonly
Returns the value of attribute init_expr.
-
#step_expr ⇒ Object
readonly
Returns the value of attribute step_expr.
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Instance Method Summary collapse
-
#initialize(anIdentifier, anInitialization, aStep) ⇒ SkmIterationSpec
constructor
A new instance of SkmIterationSpec.
Constructor Details
#initialize(anIdentifier, anInitialization, aStep) ⇒ SkmIterationSpec
Returns a new instance of SkmIterationSpec.
331 332 333 334 335 |
# File 'lib/skeem/s_expr_nodes.rb', line 331 def initialize(anIdentifier, anInitialization, aStep) @variable = anIdentifier @init_expr = anInitialization @step_expr = aStep end |
Instance Attribute Details
#init_expr ⇒ Object (readonly)
Returns the value of attribute init_expr.
328 329 330 |
# File 'lib/skeem/s_expr_nodes.rb', line 328 def init_expr @init_expr end |
#step_expr ⇒ Object (readonly)
Returns the value of attribute step_expr.
329 330 331 |
# File 'lib/skeem/s_expr_nodes.rb', line 329 def step_expr @step_expr end |
#variable ⇒ Object (readonly)
Returns the value of attribute variable.
327 328 329 |
# File 'lib/skeem/s_expr_nodes.rb', line 327 def variable @variable end |