Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
gems /
3.0.0 /
gems /
rbs-1.0.4 /
sig /
[ HOME SHELL ]
Name
Size
Permission
Action
ancestor_builder.rbs
5.22
KB
-rw-r--r--
annotation.rbs
536
B
-rw-r--r--
buffer.rbs
659
B
-rw-r--r--
builtin_names.rbs
795
B
-rw-r--r--
cli.rbs
1.81
KB
-rw-r--r--
comment.rbs
547
B
-rw-r--r--
constant.rbs
502
B
-rw-r--r--
constant_table.rbs
1.09
KB
-rw-r--r--
declarations.rbs
5.39
KB
-rw-r--r--
definition.rbs
4.43
KB
-rw-r--r--
definition_builder.rbs
2.27
KB
-rw-r--r--
environment.rbs
3.03
KB
-rw-r--r--
environment_loader.rbs
3.65
KB
-rw-r--r--
errors.rbs
5.12
KB
-rw-r--r--
location.rbs
1.18
KB
-rw-r--r--
members.rbs
4.2
KB
-rw-r--r--
method_builder.rbs
2.78
KB
-rw-r--r--
method_types.rbs
823
B
-rw-r--r--
namespace.rbs
3.25
KB
-rw-r--r--
parser.rbs
907
B
-rw-r--r--
polyfill.rbs
847
B
-rw-r--r--
rbs.rbs
283
B
-rw-r--r--
repository.rbs
2.27
KB
-rw-r--r--
substitution.rbs
1.38
KB
-rw-r--r--
type_name_resolver.rbs
618
B
-rw-r--r--
typename.rbs
2.05
KB
-rw-r--r--
types.rbs
9.08
KB
-rw-r--r--
util.rbs
193
B
-rw-r--r--
validator.rbs
380
B
-rw-r--r--
variance_calculator.rbs
927
B
-rw-r--r--
vendorer.rbs
1.43
KB
-rw-r--r--
version.rbs
33
B
-rw-r--r--
writer.rbs
1005
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : environment_loader.rbs
module RBS # EnvironmentLoader is an object to load RBS files from filesystem. # # Set up your configuration through repository and `#add` method. # # # Set up the repository to load library RBSs from. # repo = RBS::Repository.default # repo.add(Pathname("vendor/rbs/gem-rbs")) # repo.add(Pathname("vendor/rbs/internal-rbs")) # # loader = RBS::EnvironmentLoader.new(repository: repo) # # # Add libraries to load RBS files. # loader.add(library: "minitest") # loader.add(library: "rbs", version: "1.0.0") # # # Add dirs to load RBS files from. # loader.add(path: Pathname("sig")) # # # Load RBSs into an environment. # environment = RBS::Environment.new() # loader.load(env: environment) # class EnvironmentLoader class UnknownLibraryError < StandardError attr_reader library: Library def initialize: (lib: Library) -> void end class Library < Struct[String | String?] attr_reader name: String attr_reader version: String? def initialize: (name: String, version: String?) -> void end DEFAULT_CORE_ROOT: Pathname attr_reader core_root: Pathname? attr_reader repository: Repository attr_reader libs: Array[Library] attr_reader dirs: Array[Pathname] # The source where the RBS comes from. # # `:core` means it is part of core library. # `Library` means it is from library. # `Pathname` means it is loaded from a directory. # type source = :core | Library | Pathname # Accepts two optional keyword arguments. # # `core_root` is the path to the directory with RBSs for core classes. # The default value is the core library included in RBS gem. (EnvironmentLoader::DEFAULT_CORE_ROOT) # Passing `nil` means it skips loading core class definitions. # # `repository` is the repository for library classes. # The default value is repository only with stdlib classes. (Repository.new) # def initialize: (?core_root: Pathname?, ?repository: Repository) -> void # Add a path or library to load RBSs from. # # `path` can be a file or a directory. # All `.rbs` files from the given directory will be loaded. # Specifying a file will load the file regardless the extension of the file is. # # `library` can be a name of a gem. # Specifying `nil` to `version` will load any version available. # It first tries to load RBS files from gem with specified version. # If RBS files cannot be found in the gem, it tries to load RBSs from repository. # def add: (path: Pathname) -> void | (library: String, version: String?) -> void # This is helper function to test if RBS for a library is available or not. # def has_library?: (library: String, version: String?) -> bool # Add all declarations to environment. # # Raises `UnknownLibraryError` if RBS cannot be loaded from a library. # # Returns an array of tuples of the declaration, path to the file, and the source. # def load: (env: Environment) -> Array[[AST::Declarations::t, Pathname, source]] # Returns a pair of spec and path for a gem with RBS. # Returns nil if the gem is not installed, or the gem doesn't provide RBS. # def self.gem_sig_path: (String name, String? version) -> [Gem::Specification, Pathname]? def each_decl: () { (AST::Declarations::t, Buffer, source, Pathname) -> void } -> void def each_dir: { (source, Pathname) -> void } -> void def each_file: (Pathname path, immediate: boolish, skip_hidden: boolish) { (Pathname) -> void } -> void end end
Close