diff options
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/context.rb | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb index d856f16c1f..833e90c2c2 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -335,21 +335,15 @@ module IRB @inspect_mode end - - # Sets whether or not to use the Readline extension - # - # +true+:: enables +Readline+ - # +false+:: disables +Readline+ - # +nil+:: intends to use +Readline+, - # except for when +inf-ruby-mode+ is active. + # Obsolate method. # - # Can also be set using the +--noreadline+ and +--readline+ command line + # Can be set using the +--noreadline+ and +--readline+ command line # options. # # See IRB@Command+line+options for more command line options. def use_readline=(opt) - @use_readline = opt - print "use readline module\n" if @use_readline + print "This method is obsolete." + print "Do nothing." end # Sets the debug level of irb |