PHP 8.2.31
Preview: new-i.yaml Size: 477 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Class/new-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Calls <tt>allocate</tt> to create a new object of <em>class</em>'s class, then invokes that object's <tt>initialize</tt> method, passing it <em>args</em>. This is the method that ends up getting called whenever an object is constructed using .new.
full_name: Class#new
is_singleton: false
name: new
params: |
  class.new(args, ...)    =>  obj

visibility: public

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
665 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
2.45 KB lrw-r--r-- 2023-07-26 13:47:18
Edit Download
710 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
429 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
477 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
460 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download
178 B lrw-r--r-- 2023-07-26 13:47:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).