Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
method
/
v1_8_6_287
-
Show latest stable
-
0 notes
- Class:
Rational
1_8_6_287
(0)
1_8_7_72
(0)
1_8_7_330
(0)
1_9_1_378
(-28)
1_9_2_180
(38)
1_9_3_125
(0)
1_9_3_392
(0)
2_1_10
(-2)
2_2_9
(0)
2_4_6
(0)
2_5_5
(0)
2_6_3
(0)
What's this?
Related methods
Class methods (5)
json_create
(>= v1_9_3_125)
new
new!
reduce
yaml_new
(>= v1_9_1_378)
Instance methods (45)
<=>
==
-
-@
(>= v2_4_6)
/
//
(>= v1_9_1_378)
*
**
%
+
abs
as_json
(>= v1_9_3_125)
ceil
(>= v1_8_7_72)
coerce
denominator
(>= v1_9_1_378)
div
(>= v1_8_7_72)
divmod
exact?
(>= v1_9_1_378)
fdiv
(>= v1_9_1_378)
floor
(>= v1_8_7_72)
hash
inspect
magnitude
(>= v2_4_6)
marshal_dump
(>= v1_9_1_378)
marshal_load
(>= v1_9_1_378)
modulo
(>= v1_9_1_378)
negative?
(>= v2_4_6)
numerator
(>= v1_9_1_378)
positive?
(>= v2_4_6)
power2
quo
(>= v1_9_1_378)
quot
(>= v1_9_1_378)
quotrem
(>= v1_9_1_378)
rational?
(>= v1_9_1_378)
rationalize
(>= v1_9_2_180)
remainder
(>= v1_9_1_378)
round
(>= v1_8_7_72)
to_d
(>= v1_9_1_378)
to_f
to_i
to_json
(>= v1_9_3_125)
to_r
to_s
to_yaml
(>= v1_9_1_378)
truncate
(>= v1_8_7_72)
= private
= protected
/
(p1)
public
Alias for
#quo
Register
or
log in
to add new notes.