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