APIdock
/
Ruby
/
Browse
About
method
numerator
v1_9_3_125
-
Show latest stable
- Class:
Integer
numerator
()
public
Returns self.
Show source
static VALUE integer_numerator(VALUE self) { return self; }
Related methods
Instance methods
ceil
chr
denominator
downto
even?
floor
gcd
gcdlcm
integer?
lcm
next
numerator
odd?
ord
pred
prime?
prime_division
rationalize
round
succ
times
to_bn
to_d
to_i
to_int
to_r
truncate
upto
Class methods
each_prime
from_prime_division