Module: Debuggable
- Extended by:
- Decoratable
- Defined in:
- lib/decoratable/debuggable.rb
Instance Method Summary collapse
Methods included from Decoratable
Instance Method Details
#debuggable(options = { on: [RuntimeError] }) ⇒ Object
6 7 8 9 10 |
# File 'lib/decoratable/debuggable.rb', line 6 def debuggable( = { on: [RuntimeError] }) yield rescue *[:on] require "debug" end |