Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
Notes posted by sld7700
RSS feed
sld7700
-
May 26, 2012 - (v1_9_3_125)
0 thanks
rindex with identically array elements
Code Example
a
=
[
1
,
1
,
1
]
a
.
rindex
(
a
.
min
)
#=> 2