Method: Range#end
- Defined in:
- range.c
permalink #end ⇒ Object
Returns the object that defines the end of the range.
(1..10).end #=> 10
(1...10).end #=> 10
1019 1020 1021 1022 1023 |
# File 'range.c', line 1019
static VALUE
range_end(VALUE range)
{
return RANGE_END(range);
}
|