Module: Ripl::Rc::LastException
- Includes:
- U
- Defined in:
- lib/ripl/rc/last_exception.rb
Defined Under Namespace
Modules: LastExceptionImp
Instance Method Summary collapse
Methods included from U
Methods included from SqueezeHistory::Imp
Methods included from StripBacktrace::Imp
#cwd, #home, #snip, #strip_backtrace
Methods included from Anchor::Imp
Methods included from Color::Imp
#black, #blue, #color, #colors, #cyan, #find_color, #green, #magenta, #red, #reset, #white, #yellow
Instance Method Details
#print_eval_error(e) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/ripl/rc/last_exception.rb', line 7 def print_eval_error(e) Ripl.config[:rc_last_exception] = nil return super if LastException.disabled? Ripl.config[:rc_last_exception] = e super end |