Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Extended the Number.range() method to accept an optional argument f…
…or the step number. Example: range(1, 10, 2).each { |i| say i; # prints: 1, 3, 5, ... }; range(10, 1, -1).each { |i| say i; # prints: 10, 9, 8, ... };
- Loading branch information