Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I tried several solutions and amongst them your solution; all passed fine "TESTS" and "ATTEMPT". I don't understand why you got that and I am unable to reproduce it. Save your solution, "RESET" the page try again.
I've changed it to def convert_fract(lst) copied verbtim from you snippet it's still producing
#<NoMethodError: undefined method
expect' for main:Object Did you mean? exec> main.rb:15:in
block (2 levels) in '/runner/frameworks/ruby/cw-2.rb:180:in
wrap_error' /runner/frameworks/ruby/cw-2.rb:72:in
it'/runner/frameworks/ruby/cw-2.rb:206:in
it' main.rb:14:in
block in '/runner/frameworks/ruby/cw-2.rb:55:in
block in describe' /runner/frameworks/ruby/cw-2.rb:46:in
measure'/runner/frameworks/ruby/cw-2.rb:51:in
describe' /runner/frameworks/ruby/cw-2.rb:202:in
describe'main.rb:13:in `'
When going through ATTEMPT!
The template solution is:
Function name in your solution is not the good one. Your solution is passing "ATTEMPT".
Issue with test for the attempt with ruby returning this in the logs #<NoMethodError: undefined method `expect' for main:Object
Did you mean? exec>
unable to complete kata because of this