Module: Tap::Tasks::Console::CleanExit

Defined in:
lib/tap/tasks/console.rb

Overview

Handles a bug in IRB that causes exit to throw :IRB_EXIT and consequentially make a warning message, even on a clean exit. This module resets exit to the original aliased method.

Instance Method Summary collapse

Instance Method Details

#exit(ret = 0) ⇒ Object

:nodoc:



29
30
31
# File 'lib/tap/tasks/console.rb', line 29

def exit(ret = 0)
  __exit__(ret)
end