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

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a new anonymous (unnamed) class with the given superclass (or <tt>Object</tt> if no parameter is given). You can give a class a name by assigning the class object to a constant.
full_name: Class::new
is_singleton: true
name: new
params: |
  Class.new(super_class=Object)   =>    a_class

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).