Class: Script::Run
- Inherits:
-
Object
- Object
- Script::Run
- Defined in:
- lib/script.rb
Instance Method Summary collapse
- #doit ⇒ Object
-
#initialize(toplevel, tag) ⇒ Run
constructor
A new instance of Run.
Constructor Details
#initialize(toplevel, tag) ⇒ Run
Returns a new instance of Run.
122 123 124 125 |
# File 'lib/script.rb', line 122 def initialize(toplevel, tag) @toplevel = toplevel @tag = tag end |
Instance Method Details
#doit ⇒ Object
127 128 129 |
# File 'lib/script.rb', line 127 def doit @toplevel.actions[@tag].doit end |