diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 14:29:01 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 14:29:01 +0000 |
commit | 5983e1be1057c534355c82f7eb8e962e0a68f319 (patch) | |
tree | 403bccb1fb5056e162f509ce6a43f196087d5584 /lib/irb/context.rb | |
parent | a03c07584577f279183946bf238994b345c95ffd (diff) |
* 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
Diffstat (limited to 'lib/irb/context.rb')
-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 |