Module: Ripl::Rc::EnsureAfterLoop

Includes:
U
Defined in:
lib/ripl/rc/ensure_after_loop.rb

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

#in_loopObject



7
8
9
10
11
12
13
14
15
# File 'lib/ripl/rc/ensure_after_loop.rb', line 7

def in_loop
  return super if EnsureAfterLoop.disabled?
  begin
    super
  rescue Exception
    after_loop
    raise
  end
end