Class: ImgToScript::AbstractToken::LoopEnd
- Inherits:
-
ImgToScript::AbstractToken
- Object
- ImgToScript::AbstractToken
- ImgToScript::AbstractToken::LoopEnd
- Defined in:
- lib/img_to_script/abstract_token/loop_end.rb
Overview
Marks loop end.
Instance Attribute Summary collapse
-
#var_name ⇒ Object
readonly
Returns the value of attribute var_name.
Instance Method Summary collapse
-
#initialize(var_name:) ⇒ LoopEnd
constructor
A new instance of LoopEnd.
Constructor Details
#initialize(var_name:) ⇒ LoopEnd
Returns a new instance of LoopEnd.
11 12 13 14 15 16 |
# File 'lib/img_to_script/abstract_token/loop_end.rb', line 11 def initialize(var_name:, **) @var_name = var_name @type = AbsTokenType::LOOP_END super end |
Instance Attribute Details
#var_name ⇒ Object (readonly)
Returns the value of attribute var_name.
9 10 11 |
# File 'lib/img_to_script/abstract_token/loop_end.rb', line 9 def var_name @var_name end |