diff options
Diffstat (limited to 'lib/irb/output-method.rb')
-rw-r--r-- | lib/irb/output-method.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb/output-method.rb b/lib/irb/output-method.rb index aae9e2294d..e0ba25f3e4 100644 --- a/lib/irb/output-method.rb +++ b/lib/irb/output-method.rb @@ -35,7 +35,7 @@ module IRB # #parse_printf_format def printf(format, *opts) if /(%*)%I/ =~ format - format, opts = parse_printf_format(format, opts) + format, opts = parse_printf_format(format, opts) end print sprintf(format, *opts) end @@ -58,8 +58,8 @@ module IRB # character. def puts(*objs) for obj in objs - print(*obj) - print "\n" + print(*obj) + print "\n" end end |