Method: Class#allocate
- Defined in:
- object.c
#allocate ⇒ Object
Allocates space for a new object of class’s class. The returned object must be an instance of class.
1544 1545 1546 |
# File 'object.c', line 1544 VALUE rb_obj_alloc(klass) VALUE klass; |