| Class TryHandler |
|
| Methods |
| Included modules |
| Public Class methods |
| new() |
# File util/try.rb, line 48 def initialize() @errproc = [DEFAULT] end
| Public Instance methods |
| push_handler(p) |
# File util/try.rb, line 51 def push_handler(p) @errproc.push(p) end
| pop_handler() |
# File util/try.rb, line 55 def pop_handler @errproc.pop if @errproc.size > 1 end
| reset() |
# File util/try.rb, line 59 def reset @errproc.clear @errprofc.push(DEFAULT) end
| current_handler() |
# File util/try.rb, line 63 def current_handler() @errproc.last end