Does provide a line number


$ vim hash.rb
$ ruby hash.rb
game please
hash.rb:11:in sort_by': wrong number of arguments (1 for 0) (ArgumentError)
from hash.rb:11:in
block in '
from hash.rb:9:in each'
from hash.rb:9:in

And that does provide a line number

Iterating over the hash. What is wrong with this code!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.