Class: Melbourne::AST::Redo
- Defined in:
- lib/melbourne/ast/control_flow.rb
Overview
A redo statement as in:
while true do
begin
x
rescue Exception => x
redo
end
end
Instance Attribute Summary
Attributes inherited from Break
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line) ⇒ Redo
constructor
A new instance of Redo.
Methods inherited from Node
Constructor Details
#initialize(line) ⇒ Redo
Returns a new instance of Redo.
335 336 337 |
# File 'lib/melbourne/ast/control_flow.rb', line 335 def initialize(line) @line = line end |