Method: Object#itself
- Defined in:
- object.c
#itself ⇒ Object
Returns the receiver.
string = "my string"
string.itself.object_id == string.object_id #=> true
556 557 558 559 560 |
# File 'object.c', line 556
static VALUE
rb_obj_itself(VALUE obj)
{
return obj;
}
|