Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.16 kB
module RationalSpecs
class SubNumeric < Numeric
def initialize(value)
@value = Rational(value)
end
def to_r
@value
end
end
end
Jump to Line
Something went wrong with that request. Please try again.