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 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
io
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
array.rbs
126.13
KB
-rw-r--r--
2022-04-12 11:11
basic_object.rbs
13.02
KB
-rw-r--r--
2022-04-12 11:11
binding.rbs
6.03
KB
-rw-r--r--
2022-04-12 11:11
builtin.rbs
1.42
KB
-rw-r--r--
2022-04-12 11:11
class.rbs
5.34
KB
-rw-r--r--
2022-04-12 11:11
comparable.rbs
5.55
KB
-rw-r--r--
2022-04-12 11:11
complex.rbs
14.38
KB
-rw-r--r--
2022-04-12 11:11
constants.rbs
1.71
KB
-rw-r--r--
2022-04-12 11:11
deprecated.rbs
186
B
-rw-r--r--
2022-04-12 11:11
dir.rbs
21.29
KB
-rw-r--r--
2022-04-12 11:11
encoding.rbs
24.15
KB
-rw-r--r--
2022-04-12 11:11
enumerable.rbs
79.8
KB
-rw-r--r--
2022-04-12 11:11
enumerator.rbs
15.43
KB
-rw-r--r--
2022-04-12 11:11
env.rbs
48.25
KB
-rw-r--r--
2022-04-12 11:11
errno.rbs
12.38
KB
-rw-r--r--
2022-04-12 11:11
errors.rbs
17.78
KB
-rw-r--r--
2022-04-12 11:11
exception.rbs
7.14
KB
-rw-r--r--
2022-04-12 11:11
false_class.rbs
1.79
KB
-rw-r--r--
2022-04-12 11:11
fiber.rbs
5.88
KB
-rw-r--r--
2022-04-12 11:11
fiber_error.rbs
374
B
-rw-r--r--
2022-04-12 11:11
file.rbs
62.22
KB
-rw-r--r--
2022-04-12 11:11
file_test.rbs
9.42
KB
-rw-r--r--
2022-04-12 11:11
float.rbs
30.82
KB
-rw-r--r--
2022-04-12 11:11
gc.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
global_variables.rbs
5.72
KB
-rw-r--r--
2022-04-12 11:11
hash.rbs
59.31
KB
-rw-r--r--
2022-04-12 11:11
integer.rbs
39.28
KB
-rw-r--r--
2022-04-12 11:11
io.rbs
95.65
KB
-rw-r--r--
2022-04-12 11:11
kernel.rbs
96.28
KB
-rw-r--r--
2022-04-12 11:11
marshal.rbs
6.91
KB
-rw-r--r--
2022-04-12 11:11
match_data.rbs
11.55
KB
-rw-r--r--
2022-04-12 11:11
math.rbs
12.32
KB
-rw-r--r--
2022-04-12 11:11
method.rbs
8.41
KB
-rw-r--r--
2022-04-12 11:11
module.rbs
48.61
KB
-rw-r--r--
2022-04-12 11:11
nil_class.rbs
2.99
KB
-rw-r--r--
2022-04-12 11:11
numeric.rbs
24.58
KB
-rw-r--r--
2022-04-12 11:11
object.rbs
36.79
KB
-rw-r--r--
2022-04-12 11:11
object_space.rbs
6.11
KB
-rw-r--r--
2022-04-12 11:11
proc.rbs
21.71
KB
-rw-r--r--
2022-04-12 11:11
process.rbs
51.68
KB
-rw-r--r--
2022-04-12 11:11
ractor.rbs
29.67
KB
-rw-r--r--
2022-04-12 11:11
random.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
range.rbs
26.65
KB
-rw-r--r--
2022-04-12 11:11
rational.rbs
15.05
KB
-rw-r--r--
2022-04-12 11:11
rb_config.rbs
1.97
KB
-rw-r--r--
2022-04-12 11:11
refinement.rbs
1.11
KB
-rw-r--r--
2022-04-12 11:11
regexp.rbs
44.66
KB
-rw-r--r--
2022-04-12 11:11
ruby_vm.rbs
2.01
KB
-rw-r--r--
2022-04-12 11:11
signal.rbs
3.49
KB
-rw-r--r--
2022-04-12 11:11
string.rbs
112.63
KB
-rw-r--r--
2022-04-12 11:11
string_io.rbs
13.51
KB
-rw-r--r--
2022-04-12 11:11
struct.rbs
9.49
KB
-rw-r--r--
2022-04-12 11:11
symbol.rbs
13.71
KB
-rw-r--r--
2022-04-12 11:11
thread.rbs
50.99
KB
-rw-r--r--
2022-04-12 11:11
thread_group.rbs
2.37
KB
-rw-r--r--
2022-04-12 11:11
time.rbs
54.79
KB
-rw-r--r--
2022-04-12 11:11
trace_point.rbs
9.84
KB
-rw-r--r--
2022-04-12 11:11
true_class.rbs
1.72
KB
-rw-r--r--
2022-04-12 11:11
unbound_method.rbs
6.71
KB
-rw-r--r--
2022-04-12 11:11
warning.rbs
1.49
KB
-rw-r--r--
2022-04-12 11:11
Save
Rename
# <!-- rdoc-file=cont.c --> # Fibers are primitives for implementing light weight cooperative concurrency in # Ruby. Basically they are a means of creating code blocks that can be paused # and resumed, much like threads. The main difference is that they are never # preempted and that the scheduling must be done by the programmer and not the # VM. # # As opposed to other stackless light weight concurrency models, each fiber # comes with a stack. This enables the fiber to be paused from deeply nested # function calls within the fiber block. See the ruby(1) manpage to configure # the size of the fiber stack(s). # # When a fiber is created it will not run automatically. Rather it must be # explicitly asked to run using the Fiber#resume method. The code running inside # the fiber can give up control by calling Fiber.yield in which case it yields # control back to caller (the caller of the Fiber#resume). # # Upon yielding or termination the Fiber returns the value of the last executed # expression # # For instance: # # fiber = Fiber.new do # Fiber.yield 1 # 2 # end # # puts fiber.resume # puts fiber.resume # puts fiber.resume # # *produces* # # 1 # 2 # FiberError: dead fiber called # # The Fiber#resume method accepts an arbitrary number of parameters, if it is # the first call to #resume then they will be passed as block arguments. # Otherwise they will be the return value of the call to Fiber.yield # # Example: # # fiber = Fiber.new do |first| # second = Fiber.yield first + 2 # end # # puts fiber.resume 10 # puts fiber.resume 1_000_000 # puts fiber.resume "The fiber will be dead before I can cause trouble" # # *produces* # # 12 # 1000000 # FiberError: dead fiber called # # ## Non-blocking Fibers # # The concept of *non-blocking fiber* was introduced in Ruby 3.0. A non-blocking # fiber, when reaching a operation that would normally block the fiber (like # `sleep`, or wait for another process or I/O) will yield control to other # fibers and allow the *scheduler* to handle blocking and waking up (resuming) # this fiber when it can proceed. # # For a Fiber to behave as non-blocking, it need to be created in Fiber.new with # `blocking: false` (which is the default), and Fiber.scheduler should be set # with Fiber.set_scheduler. If Fiber.scheduler is not set in the current thread, # blocking and non-blocking fibers' behavior is identical. # # Ruby doesn't provide a scheduler class: it is expected to be implemented by # the user and correspond to Fiber::SchedulerInterface. # # There is also Fiber.schedule method, which is expected to immediately perform # the given block in a non-blocking manner. Its actual implementation is up to # the scheduler. # class Fiber < Object # <!-- # rdoc-file=cont.c # - Fiber.yield(args, ...) -> obj # --> # Yields control back to the context that resumed the fiber, passing along any # arguments that were passed to it. The fiber will resume processing at this # point when #resume is called next. Any arguments passed to the next #resume # will be the value that this Fiber.yield expression evaluates to. # def self.yield: (*untyped args) -> untyped # <!-- # rdoc-file=cont.c # - Fiber.new(blocking: false) { |*args| ... } -> fiber # --> # Creates new Fiber. Initially, the fiber is not running and can be resumed with # #resume. Arguments to the first #resume call will be passed to the block: # # f = Fiber.new do |initial| # current = initial # loop do # puts "current: #{current.inspect}" # current = Fiber.yield # end # end # f.resume(100) # prints: current: 100 # f.resume(1, 2, 3) # prints: current: [1, 2, 3] # f.resume # prints: current: nil # # ... and so on ... # # If `blocking: false` is passed to `Fiber.new`, *and* current thread has a # Fiber.scheduler defined, the Fiber becomes non-blocking (see "Non-blocking # Fibers" section in class docs). # def initialize: () { () -> untyped } -> void # <!-- # rdoc-file=cont.c # - fiber.resume(args, ...) -> obj # --> # Resumes the fiber from the point at which the last Fiber.yield was called, or # starts running it if it is the first call to #resume. Arguments passed to # resume will be the value of the Fiber.yield expression or will be passed as # block parameters to the fiber's block if this is the first #resume. # # Alternatively, when resume is called it evaluates to the arguments passed to # the next Fiber.yield statement inside the fiber's block or to the block value # if it runs to completion without any Fiber.yield # def resume: (*untyped args) -> untyped # <!-- # rdoc-file=cont.c # - fiber.raise -> obj # - fiber.raise(string) -> obj # - fiber.raise(exception [, string [, array]]) -> obj # --> # Raises an exception in the fiber at the point at which the last `Fiber.yield` # was called. If the fiber has not been started or has already run to # completion, raises `FiberError`. If the fiber is yielding, it is resumed. If # it is transferring, it is transferred into. But if it is resuming, raises # `FiberError`. # # With no arguments, raises a `RuntimeError`. With a single `String` argument, # raises a `RuntimeError` with the string as a message. Otherwise, the first # parameter should be the name of an `Exception` class (or an object that # returns an `Exception` object when sent an `exception` message). The optional # second parameter sets the message associated with the exception, and the third # parameter is an array of callback information. Exceptions are caught by the # `rescue` clause of `begin...end` blocks. # def raise: () -> untyped | (string message) -> untyped | (_Exception exception, ?string message, ?Array[String] backtrace) -> untyped end