aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/output-method.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-10 01:05:08 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-10 01:05:08 +0000
commit0b7979a8fd03b02a82b2dc1f1ef78ba431dfdc2d (patch)
tree760b5c6ea49f1ed139d41e7ec4fd774d6df72535 /lib/irb/output-method.rb
parentf9a81499ff72b920798d440d292a97e4809b14f4 (diff)
downloadruby-0b7979a8fd03b02a82b2dc1f1ef78ba431dfdc2d.tar.gz
* lib/irb/ext/multi-irb.rb: fixed indent.
* lib/irb/output-method.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/output-method.rb')
-rw-r--r--lib/irb/output-method.rb6
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