Class: ImgToScript::AbstractToken::LoadAndRun
- Inherits:
-
ImgToScript::AbstractToken
- Object
- ImgToScript::AbstractToken
- ImgToScript::AbstractToken::LoadAndRun
- Defined in:
- lib/img_to_script/abstract_token/load_and_run.rb
Overview
Load and run another script file.
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename:) ⇒ LoadAndRun
constructor
A new instance of LoadAndRun.
Constructor Details
#initialize(filename:) ⇒ LoadAndRun
Returns a new instance of LoadAndRun.
11 12 13 14 15 16 |
# File 'lib/img_to_script/abstract_token/load_and_run.rb', line 11 def initialize(filename:, **) @type = AbsTokenType::LOAD_AND_RUN @filename = filename super end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
9 10 11 |
# File 'lib/img_to_script/abstract_token/load_and_run.rb', line 9 def filename @filename end |