I have Java background and in Java when programmer call method with wrong parameters, exception will be thrown. How Ruby programmers treat wrong method arguments?
Two opposite examples from core classes:
irb(main):009:0> "" * (-2)
ArgumentError: negative argument
from (irb):9:in `*'
from (irb):9
from C:/Ruby/Ruby193/bin/irb:12:in `<main>'
irb(main):013:0> (-2).times { puts 'hello' }
=> -2