method

third_to_last

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: Array
third_to_last() public

Equal to self[-3].

%w( a b c d e ).third_to_last # => "c"
Show source
Register or log in to add new notes.