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.
This comment has been reported as abusive
foi isso que pensei tambem
what if the sequence 'step' isn't one? what if it's increasing by 2 for example?
All classes come from some super class, you need to lookup ancestors also lookup the RUBY docs, Integer inherits methods from its superclasses.
class numeric has step method
I am new to Ruby - I'd expect the
min
parameter to be an integer, but the integer class doesn't have astep
method. What gives?https://ruby-doc.org/core-2.5.0/Integer.html