APIdock / Ruby
/
method

end

ruby latest stable - Class: Range
end()
public

Returns the object that defines the end of the range.

(1..10).end  #=> 10
(1...10).end  #=> 10
static VALUE
range_end(VALUE range)
{
 return RANGE_END(range);
}

AltStyle によって変換されたページ (->オリジナル) /