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