Created
September 27, 2015 04:48
-
-
Save ir-norn/36bd8e1ef4635cbd3e60 to your computer and use it in GitHub Desktop.
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
module Rationalize | |
refine Fixnum do | |
def /(other) | |
quo(other) | |
end | |
end | |
end | |
p 1 / 2 | |
using Rationalize | |
p 1 / 2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment