Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
gems /
3.1.0 /
gems /
rbs-2.1.0 /
sig /
Delete
Unzip
Name
Size
Permission
Date
Action
annotate
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
collection
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
ancestor_builder.rbs
5.3
KB
-rw-r--r--
2022-04-12 11:11
ancestor_graph.rbs
1.27
KB
-rw-r--r--
2022-04-12 11:11
annotation.rbs
554
B
-rw-r--r--
2022-04-12 11:11
buffer.rbs
659
B
-rw-r--r--
2022-04-12 11:11
builtin_names.rbs
813
B
-rw-r--r--
2022-04-12 11:11
char_scanner.rbs
158
B
-rw-r--r--
2022-04-12 11:11
cli.rbs
1.86
KB
-rw-r--r--
2022-04-12 11:11
collection.rbs
41
B
-rw-r--r--
2022-04-12 11:11
comment.rbs
495
B
-rw-r--r--
2022-04-12 11:11
constant.rbs
502
B
-rw-r--r--
2022-04-12 11:11
constant_table.rbs
1.1
KB
-rw-r--r--
2022-04-12 11:11
declarations.rbs
6.79
KB
-rw-r--r--
2022-04-12 11:11
definition.rbs
4.86
KB
-rw-r--r--
2022-04-12 11:11
definition_builder.rbs
3.46
KB
-rw-r--r--
2022-04-12 11:11
environment.rbs
4.21
KB
-rw-r--r--
2022-04-12 11:11
environment_loader.rbs
3.79
KB
-rw-r--r--
2022-04-12 11:11
environment_walker.rbs
1.79
KB
-rw-r--r--
2022-04-12 11:11
errors.rbs
7.93
KB
-rw-r--r--
2022-04-12 11:11
location.rbs
3.22
KB
-rw-r--r--
2022-04-12 11:11
locator.rbs
1.52
KB
-rw-r--r--
2022-04-12 11:11
members.rbs
6.58
KB
-rw-r--r--
2022-04-12 11:11
method_builder.rbs
2.86
KB
-rw-r--r--
2022-04-12 11:11
method_types.rbs
1.55
KB
-rw-r--r--
2022-04-12 11:11
namespace.rbs
3.26
KB
-rw-r--r--
2022-04-12 11:11
parser.rbs
892
B
-rw-r--r--
2022-04-12 11:11
polyfill.rbs
2.01
KB
-rw-r--r--
2022-04-12 11:11
rbs.rbs
341
B
-rw-r--r--
2022-04-12 11:11
repository.rbs
2.41
KB
-rw-r--r--
2022-04-12 11:11
substitution.rbs
1.38
KB
-rw-r--r--
2022-04-12 11:11
type_alias_dependency.rbs
585
B
-rw-r--r--
2022-04-12 11:11
type_alias_regularity.rbs
2.89
KB
-rw-r--r--
2022-04-12 11:11
type_name_resolver.rbs
618
B
-rw-r--r--
2022-04-12 11:11
type_param.rbs
2.16
KB
-rw-r--r--
2022-04-12 11:11
typename.rbs
2.03
KB
-rw-r--r--
2022-04-12 11:11
types.rbs
11.25
KB
-rw-r--r--
2022-04-12 11:11
util.rbs
128
B
-rw-r--r--
2022-04-12 11:11
validator.rbs
1.8
KB
-rw-r--r--
2022-04-12 11:11
variance_calculator.rbs
2.56
KB
-rw-r--r--
2022-04-12 11:11
vendorer.rbs
1.43
KB
-rw-r--r--
2022-04-12 11:11
version.rbs
33
B
-rw-r--r--
2022-04-12 11:11
writer.rbs
1.08
KB
-rw-r--r--
2022-04-12 11:11
Save
Rename
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 # Add repository path and libraries via rbs_collection.lock.yaml. def add_collection: (Collection::Config collection_config) -> 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