Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
Class /
Delete
Unzip
Name
Size
Permission
Date
Action
allocate-i.ri
693
B
-rw-r--r--
2023-07-26 17:26
cdesc-Class.ri
2.65
KB
-rw-r--r--
2023-07-26 17:26
inherited-i.ri
657
B
-rw-r--r--
2023-07-26 17:26
json_creatable%3f-i.ri
461
B
-rw-r--r--
2023-07-26 17:26
new-c.ri
1.1
KB
-rw-r--r--
2023-07-26 17:26
new-i.ri
489
B
-rw-r--r--
2023-07-26 17:26
superclass-i.ri
688
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI"new:EFI"Class::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FCreates a new anonymous (unnamed) class with the given superclass;TI"F(or <code>Object</code> if no parameter is given). You can give a;TI">class a name by assigning the class object to a constant.;To:RDoc::Markup::BlankLine o; ; [I"FIf a block is given, it is passed the class object, and the block;TI"4is evaluated in the context of this class using;TI"<code>class_eval</code>.;T@o:RDoc::Markup::Verbatim; [I"fred = Class.new do ;FI" def meth1 ;FI" "hello" ;FI" end ;FI" def meth2 ;FI" "bye" ;FI" end ;FI" end ;FI" ;FI">a = fred.new #=> #<#<Class:0x100381890>:0x100376b98> ;FI""a.meth1 #=> "hello" ;FI" a.meth2 #=> "bye" ;Fo; ; [I"DAssign the class to a constant (name starting uppercase) if you;TI"+want to treat it like a regular class.;T: @file0I"tClass.new(super_class=Object) -> a_class Class.new(super_class=Object) { |mod| ... } -> a_class ;T0[ I"(p1 = v1);FI" object.c;T