Class: ImgToScript::AbstractToken::DataRead
- Inherits:
-
ImgToScript::AbstractToken
- Object
- ImgToScript::AbstractToken
- ImgToScript::AbstractToken::DataRead
- Defined in:
- lib/img_to_script/abstract_token/data_read.rb
Overview
Read value(s) from an array of constants.
Instance Attribute Summary collapse
-
#var_list ⇒ Object
readonly
Returns the value of attribute var_list.
Instance Method Summary collapse
-
#initialize(var_list:) ⇒ DataRead
constructor
A new instance of DataRead.
Constructor Details
#initialize(var_list:) ⇒ DataRead
Returns a new instance of DataRead.
11 12 13 14 15 16 |
# File 'lib/img_to_script/abstract_token/data_read.rb', line 11 def initialize(var_list:, **) @type = AbsTokenType::DATA_READ @var_list = Array(var_list) super end |
Instance Attribute Details
#var_list ⇒ Object (readonly)
Returns the value of attribute var_list.
9 10 11 |
# File 'lib/img_to_script/abstract_token/data_read.rb', line 9 def var_list @var_list end |