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.
Ruby translation:
isTriangle
<-- bad ruby method nameis_triangle?
<-- good ruby method nameaddFive
<-- bad ruby method nameadd_five()
<-- good ruby method namehttp://stackoverflow.com/a/10542599/6794294
Ruby translation:
openOrSenior
is a bad method name. Rename it to:open_or_senior
This comment is hidden because it contains spoiler information about the solution
Ruby method name should be snake case
get_count
instead ofgetCount
Please, check the kata test cases (for ruby)!
Suggestion for ruby-kata.
Change method name from this:
keysAndValues(data)
into this:
keys_and_values(data)
This comment is hidden because it contains spoiler information about the solution