• Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    My code is passing all the tests, but when I run an attempt I get the following exit error. What does this mean? The rb: line references are always the same - there is no line 10 in my code.

    main.rb:10:in `list': undefined method `[]' for nil:NilClass (NoMethodError)
    	from main.rb:21:in `block in <main>'
    	from /runner/frameworks/ruby/cw-2.rb:55:in `block in describe'
    	from /runner/frameworks/ruby/cw-2.rb:46:in `measure'
    	from /runner/frameworks/ruby/cw-2.rb:51:in `describe'
    	from main.rb:13:in `<main>'