From 7e5324e6c110616dc7082962e78dc6af939743b2 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 8 Aug 2006 15:17:06 +0000 Subject: [PATCH] * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify RDoc. a patch from Eric Hodel . [ruby-core:08522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ lib/irb/extend-command.rb | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 99333abef3..3cd1f9506e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 8 23:49:06 2006 Yukihiro Matsumoto + + * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify + RDoc. a patch from Eric Hodel . + [ruby-core:08522] + Tue Aug 8 19:26:10 2006 Yukihiro Matsumoto * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string): diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb index c330d1bd3b..8994f2f8d2 100644 --- a/lib/irb/extend-command.rb +++ b/lib/irb/extend-command.rb @@ -106,14 +106,14 @@ module IRB ] - def EXCB.install_extend_commands + def self.install_extend_commands for args in @EXTEND_COMMANDS def_extend_command(*args) end end # aliases = [commans_alias, flag], ... - def EXCB.def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases) + def self.def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases) case cmd_class when Symbol cmd_class = cmd_class.id2name @@ -172,7 +172,7 @@ module IRB "irb_" + method_name + "_org" end - def EXCB.extend_object(obj) + def self.extend_object(obj) unless (class<