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