last()
  public
  
    
    
Returns the object that defines the end of
rng.
   (1..10).end    
   (1...10).end   
   
  
    Show source    
    
      /*
 *  call-seq:
 *     rng.end    => obj
 *     rng.last   => obj
 *  
 *  Returns the object that defines the end of <i>rng</i>.
 *     
 *     (1..10).end    
 *     (1...10).end   
 */
static VALUE
range_last(range)
    VALUE range;
{
    return rb_ivar_get(range, id_end);
}