instance method
third
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
third()
Equal to self[2].
Source
# File activesupport/lib/active_support/core_ext/array/access.rb, line 28
def third
self[2]
end
Defined in activesupport/lib/active_support/core_ext/array/access.rb line 28
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Array