lib/irb/extend-command.rb in irb-1.7.0 vs lib/irb/extend-command.rb in irb-1.7.1
- old
+ new
@@ -287,10 +287,10 @@
alias_method(EXCB.irb_original_method_name(to), to)
end
alias_method to, from
}
else
- Kernel.print "irb: warn: can't alias #{to} from #{from}.\n"
+ Kernel.warn "irb: warn: can't alias #{to} from #{from}.\n"
end
end
def self.irb_original_method_name(method_name) # :nodoc:
"irb_" + method_name + "_org"