method

end

v1_9_3_125 - Show latest stable - Class: Range
end()
public

Returns the object that defines the end of rng.

(1..10).end    #=> 10
(1...10).end   #=> 10