From 5983e1be1057c534355c82f7eb8e962e0a68f319 Mon Sep 17 00:00:00 2001 From: keiju Date: Wed, 26 Dec 2012 14:29:01 +0000 Subject: * lib/irb/context.rb: IRB::Context#use_readline= has been obsolate [Bug #6339]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/context.rb | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3