1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
keiju 2012-12-26 14:29:01 +00:00
parent a03c075845
commit 5983e1be10
2 changed files with 9 additions and 10 deletions

View file

@ -1,3 +1,8 @@
Wed Dec 26 23:26:15 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb/context.rb: IRB::Context#use_readline= has been obsolate
[Bug #6339].
Wed Dec 26 21:32:46 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb/context.rb: make a correct prompt from

View file

@ -335,21 +335,15 @@ module IRB
@inspect_mode
end
# Sets whether or not to use the Readline extension
# Obsolate method.
#
# +true+:: enables +Readline+
# +false+:: disables +Readline+
# +nil+:: intends to use +Readline+,
# except for when +inf-ruby-mode+ is active.
#
# 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