Skip to content

Commit

Permalink
simpler t_print
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Dec 30, 2015
1 parent ee3fa1b commit 4fdec33
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/assert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ def t_print(*args)
len = args.size
while i < len
str = args[i].to_s
begin
__printstr__ str
rescue NoMethodError
__t_printstr__ str rescue print str
end
__t_printstr__ str
i += 1
end
end
Expand Down

0 comments on commit 4fdec33

Please sign in to comment.