-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Improved the Number.range() method
Example: range(5, 10).each { |i| # range from 5 to 10 say i; }; range(1, 10).by(2).each { |i| # range from 1 to 10 by 2 say i; }; - Added the Number.expmod() alias for Number.modpow()
- Loading branch information
trizen
committed
Sep 4, 2015
1 parent
8ab0b77
commit b95ac45
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters