i have had over 6hours on this. gosh.. now i have one error it translate 1110111 as T instead of M
.. i think am getting the users speed wrong. what can i do?
This had me stumped too for a while. If you're still having trouble with this kata:
We know from this error that your solution is failing because Ruby is trying to call a method on NilClass, but that specific method doesn't exist for NilClass.
What being passed in to your method as an argument could belong to NilClass?
i dont seem to understand whats wrong. my solution purely works fine.. but when i hit attempt it keeps giving me an error. im on ruby
but amazing thing is code works well on my pc with no errors
i dont know how to debug errors..
main.rb:13:in to_camel_case': undefined method []' for nil:NilClass (NoMethodError)
from main.rb:22:in `'
T is one dash, M is two dashes.
i have had over 6hours on this. gosh.. now i have one error it translate 1110111 as T instead of M
.. i think am getting the users speed wrong. what can i do?
like seriously???
This had me stumped too for a while. If you're still having trouble with this kata:
We know from this error that your solution is failing because Ruby is trying to call a method on NilClass, but that specific method doesn't exist for NilClass.
What being passed in to your method as an argument could belong to NilClass?
i dont seem to understand whats wrong. my solution purely works fine.. but when i hit attempt it keeps giving me an error. im on ruby
but amazing thing is code works well on my pc with no errors
i dont know how to debug errors..
main.rb:13:in
to_camel_case': undefined method
[]' for nil:NilClass (NoMethodError)from main.rb:22:in `'