From 0a9bd7cd61ad99aca3ea3f3c8d0e6e3971def75c Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 3 Jul 2003 11:02:53 +0000 Subject: * array.c (rb_values_at): extract common procedure from rb_ary_values_at. follow DRY principle. * re.c (match_values_at): values_at should understand ranges. * struct.c (rb_struct_values_at): ditto. * struct.c (inspect_struct): inspect format changed; add "struct " at the top. * sprintf.c (rb_f_sprintf): "%p" specifier for inspect output. (RCR#68) * eval.c (rb_mod_undef_method): allow "undef_method" to accept multiple arguments. (RCR#146) * lib/timeout.rb: put timeout in Timeout module. (RCR#121) [ruby-talk:61028] * re.c (match_groups): new method added. (RCR#139) * variable.c (rb_mod_const_of): should exclude constant defined in Object, unless retrieving constants of Object. * string.c (rb_str_new4): do not allocate new string if original is frozen or already have copy-on-write entry. [ruby-talk:74940] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/context.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/irb') diff --git a/lib/irb/context.rb b/lib/irb/context.rb index 9022e8138..f1194f8db 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -177,6 +177,7 @@ module IRB @inspect_mode end + undef use_readline= def use_readline=(opt) @use_readline = opt print "use readline module\n" if @use_readline -- cgit