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

included

Methods included from SqueezeHistory::Imp

#squeeze_history

Methods included from StripBacktrace::Imp

#cwd, #home, #snip, #strip_backtrace

Methods included from Anchor::Imp

#short_inspect

Methods included from Color::Imp

#black, #blue, #color, #colors, #cyan, #find_color, #green, #magenta, #red, #reset, #white, #yellow

Instance Method Details



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