method

end

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

Returns the object that defines the end of rng.

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