mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
f9a81499ff
commit
0b7979a8fd
2 changed files with 72 additions and 72 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue