403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/ruby/gems/3.3.0/gems/rbs-3.4.0/stdlib/delegate/0/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/ruby/gems/3.3.0/gems/rbs-3.4.0/stdlib/delegate/0/kernel.rbs
%a{annotate:rdoc:skip}
class Object
  # <!--
  #   rdoc-file=lib/delegate.rb
  #   - DelegateClass(superclass, &block)
  # -->
  # The primary interface to this library.  Use to setup delegation when defining
  # your class.
  #
  #     class MyClass < DelegateClass(ClassToDelegateTo) # Step 1
  #       def initialize
  #         super(obj_of_ClassToDelegateTo)              # Step 2
  #       end
  #     end
  #
  # or:
  #
  #     MyClass = DelegateClass(ClassToDelegateTo) do    # Step 1
  #       def initialize
  #         super(obj_of_ClassToDelegateTo)              # Step 2
  #       end
  #     end
  #
  # Here's a sample of use from Tempfile which is really a File object with a few
  # special rules about storage location and when the File should be deleted.
  # That makes for an almost textbook perfect example of how to use delegation.
  #
  #     class Tempfile < DelegateClass(File)
  #       # constant and class member data initialization...
  #
  #       def initialize(basename, tmpdir=Dir::tmpdir)
  #         # build up file path/name in var tmpname...
  #
  #         @tmpfile = File.open(tmpname, File::RDWR|File::CREAT|File::EXCL, 0600)
  #
  #         # ...
  #
  #         super(@tmpfile)
  #
  #         # below this point, all methods of File are supported...
  #       end
  #
  #       # ...
  #     end
  #
  def DelegateClass: (Class) -> Class
end

Youez - 2016 - github.com/yon3zu
LinuXploit