Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 308 Bytes
# :enddoc:
warn('lib/rational.rb is deprecated') if $VERBOSE
class Fixnum
alias quof fdiv
alias rdiv quo
alias power! ** unless method_defined? :power!
alias rpower **
end
class Bignum
alias quof fdiv
alias rdiv quo
alias power! ** unless method_defined? :power!
alias rpower **
end
Jump to Line
Something went wrong with that request. Please try again.