Does provide a line number


#1

$ vim hash.rb
$ ruby hash.rb
game please
tic
1
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!
#2

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