In Files

  • mrbgems/mruby-eval/test/eval.rb

Parent

Methods

toggle debugging

HellRaiser

Public Instance Methods

raise_hell() click to toggle source
 
               # File mrbgems/mruby-eval/test/eval.rb, line 85
def raise_hell
  order = [:enter_raise_hell]
  begin
    order.push :begin
    self.instance_eval("raise 'error'")
  rescue
    order.push :rescue
  ensure
    order.push :ensure
  end
  order
end