Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
method
to_i
v1_8_7_72
-
Show latest stable
-
0 notes
- Class:
Rational
1_8_6_287
(0)
1_8_7_72
(-38)
1_8_7_330
(0)
1_9_1_378
(-2)
1_9_2_180
(25)
1_9_3_125
(0)
1_9_3_392
(0)
2_1_10
(-1)
2_2_9
(0)
2_4_6
(0)
2_5_5
(1)
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
coerce
denominator
(>= v1_9_1_378)
div
divmod
exact?
(>= v1_9_1_378)
fdiv
(>= v1_9_1_378)
floor
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
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
= private
= protected
to_i
()
public
Alias for
#truncate
Register
or
log in
to add new notes.