Method: NilClass#to_h
- Defined in:
- object.c
#to_h ⇒ Object
call-seq:
to_h -> {}
Returns an empty Hash.
nil.to_h #=> {}
1420 1421 1422 1423 1424 |
# File 'object.c', line 1420
static VALUE
nil_to_h(VALUE obj)
{
return rb_hash_new();
}
|