From 03acb264f50437aa6a566e1359b418afb3e5d8cb Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 8 Aug 2006 15:17:06 +0000 Subject: * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify RDoc. a patch from Eric Hodel . [ruby-core:08522] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/extend-command.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb index c330d1bd3..8994f2f8d 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<