Method: Class#allocate
- Defined in:
- lib/source/ruby.rb
#allocate ⇒ Object
call-seq:
klass.allocate -> object
Returns a new object that is an instance of klass. This method is used internally by a Class object’s new method and should not be called directly.
1072 1073 1074 |
# File 'lib/source/ruby.rb', line 1072 def allocate `new(this)()` end |