diff options
-rw-r--r-- | lib/irb/extend-command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb index e377148fb4..8b074262ee 100644 --- a/lib/irb/extend-command.rb +++ b/lib/irb/extend-command.rb @@ -289,7 +289,7 @@ module IRB # :nodoc: 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 |