diff options
Diffstat (limited to 'lib/irb/ext/save-history.rb')
-rw-r--r-- | lib/irb/ext/save-history.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 95ef71b5c1..5260bfcdd8 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -11,11 +11,13 @@ # # -@RCS_ID='-$Id$-' - require "readline" module IRB + module HistorySavingAbility + @RCS_ID='-$Id$-' + end + class Context def init_save_history unless (class<<@io;self;end).include?(HistorySavingAbility) |