RosettaCodeData/Task/Repeat-a-string/Ruby/repeat-a-string-2.rb

2 lines
59 B
Ruby

5 * "ha" # TypeError: String can't be coerced into Fixnum