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