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.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby31 /
share /
gems /
gems /
rbs-2.7.0 /
sig /
Delete
Unzip
Name
Size
Permission
Date
Action
annotate
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
collection
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
prototype
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
rdoc
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
resolver
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
shims
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
ancestor_builder.rbs
7.36
KB
-rw-r--r--
2025-04-28 21:06
ancestor_graph.rbs
1.27
KB
-rw-r--r--
2025-04-28 21:06
annotation.rbs
556
B
-rw-r--r--
2025-04-28 21:06
buffer.rbs
718
B
-rw-r--r--
2025-04-28 21:06
builtin_names.rbs
847
B
-rw-r--r--
2025-04-28 21:06
cli.rbs
2.15
KB
-rw-r--r--
2025-04-28 21:06
collection.rbs
41
B
-rw-r--r--
2025-04-28 21:06
comment.rbs
495
B
-rw-r--r--
2025-04-28 21:06
constant.rbs
502
B
-rw-r--r--
2025-04-28 21:06
constant_table.rbs
1.1
KB
-rw-r--r--
2025-04-28 21:06
declarations.rbs
6.79
KB
-rw-r--r--
2025-04-28 21:06
definition.rbs
5.06
KB
-rw-r--r--
2025-04-28 21:06
definition_builder.rbs
5.48
KB
-rw-r--r--
2025-04-28 21:06
environment.rbs
4.27
KB
-rw-r--r--
2025-04-28 21:06
environment_loader.rbs
3.83
KB
-rw-r--r--
2025-04-28 21:06
environment_walker.rbs
1.79
KB
-rw-r--r--
2025-04-28 21:06
errors.rbs
7.93
KB
-rw-r--r--
2025-04-28 21:06
factory.rbs
77
B
-rw-r--r--
2025-04-28 21:06
location.rbs
3.3
KB
-rw-r--r--
2025-04-28 21:06
locator.rbs
1.62
KB
-rw-r--r--
2025-04-28 21:06
manifest.yaml
148
B
-rw-r--r--
2025-04-28 21:06
members.rbs
7.05
KB
-rw-r--r--
2025-04-28 21:06
method_builder.rbs
3.17
KB
-rw-r--r--
2025-04-28 21:06
method_types.rbs
1.55
KB
-rw-r--r--
2025-04-28 21:06
namespace.rbs
3.46
KB
-rw-r--r--
2025-04-28 21:06
parser.rbs
892
B
-rw-r--r--
2025-04-28 21:06
rbs.rbs
384
B
-rw-r--r--
2025-04-28 21:06
repository.rbs
2.41
KB
-rw-r--r--
2025-04-28 21:06
shims.rbs
1.34
KB
-rw-r--r--
2025-04-28 21:06
sorter.rbs
499
B
-rw-r--r--
2025-04-28 21:06
substitution.rbs
1.38
KB
-rw-r--r--
2025-04-28 21:06
type_alias_dependency.rbs
585
B
-rw-r--r--
2025-04-28 21:06
type_alias_regularity.rbs
2.89
KB
-rw-r--r--
2025-04-28 21:06
type_name_resolver.rbs
618
B
-rw-r--r--
2025-04-28 21:06
type_param.rbs
2.16
KB
-rw-r--r--
2025-04-28 21:06
typename.rbs
2.11
KB
-rw-r--r--
2025-04-28 21:06
types.rbs
11.57
KB
-rw-r--r--
2025-04-28 21:06
util.rbs
128
B
-rw-r--r--
2025-04-28 21:06
validator.rbs
1.93
KB
-rw-r--r--
2025-04-28 21:06
variance_calculator.rbs
2.56
KB
-rw-r--r--
2025-04-28 21:06
vendorer.rbs
1.44
KB
-rw-r--r--
2025-04-28 21:06
version.rbs
33
B
-rw-r--r--
2025-04-28 21:06
writer.rbs
2.91
KB
-rw-r--r--
2025-04-28 21:06
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: Set[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?, ?resolve_dependencies: boolish) -> void def resolve_dependencies: (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