Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Class
/
//opt/alt/ruby21/share/ri/2.1.0/system/Class/allocate-i.ri
U:RDoc::AnyMethod[iI" allocate:ETI"Class#allocate;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KAllocates space for a new object of <i>class</i>'s class and does not ;TI"Icall initialize on the new instance. The returned object must be an ;TI"instance of <i>class</i>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"klass = Class.new do ;TI" def initialize(*args) ;TI" @initialized = true ;TI" end ;TI" ;TI" def initialized? ;TI" @initialized || false ;TI" end ;TI" end ;TI" ;TI"*klass.allocate.initialized? #=> false;T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"!class.allocate() -> obj ;T0[ I"();T@FI" Class;TcRDoc::NormalClass00