⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Kernel
/
View File Name :
require-i.ri
U:RDoc::AnyMethod[iI"require:ETI"Kernel#require;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OLoads the given +name+, returning +true+ if successful and +false+ if the ;TI"feature is already loaded.;To:RDoc::Markup::BlankLine o; ; [ I"JIf the filename neither resolves to an absolute path nor starts with ;TI"A'./' or '../', the file will be searched for in the library ;TI"Fdirectories listed in
$LOAD_PATH
(
$:
). ;TI"OIf the filename starts with './' or '../', resolution is based on Dir.pwd.;T@o; ; [I"PIf the filename has the extension ".rb", it is loaded as a source file; if ;TI"Lthe extension is ".so", ".o", or ".dll", or the default shared library ;TI"Kextension on the current platform, Ruby loads the shared library as a ;TI"KRuby extension. Otherwise, Ruby tries adding ".rb", ".so", and so on ;TI"Nto the name until found. If the file named cannot be found, a LoadError ;TI"will be raised.;T@o; ; [I"GFor Ruby extensions the filename given may use any shared library ;TI"Oextension. For example, on Linux the socket extension is "socket.so" and ;TI"F
require 'socket.dll'
will load the socket extension.;T@o; ; [ I"6The absolute path of the loaded file is added to ;TI"J
$LOADED_FEATURES
(
$"
). A file will not be ;TI"Ploaded again if its path already appears in
$"
. For example, ;TI"M
require 'a'; require './a'
will not load
a.rb
;TI"again.;T@o:RDoc::Markup::Verbatim; [I"require "my-library.rb" ;TI"require "db-driver" ;T:@format0o; ; [I"NAny constants or globals within the loaded source file will be available ;TI"Nin the calling program's global namespace. However, local variables will ;TI"2not be propagated to the loading environment.;T: @fileI"load.c;T:0@omit_headings_from_table_of_contents_below0I"'require(name) -> true or false ;T0[[I"gem_original_require;To;; [ ;I",lib/rubygems/core_ext/kernel_require.rb;T;0I" (p1);T@3FI"Kernel;TcRDoc::NormalModule00