X7ROOT File Manager
Current Path:
/opt/alt/ruby30/share/ruby
opt
/
alt
/
ruby30
/
share
/
ruby
/
ðŸ“
..
📄
English.rb
(6.11 KB)
📄
abbrev.rb
(3.45 KB)
📄
base64.rb
(3.3 KB)
ðŸ“
benchmark
📄
benchmark.rb
(18.02 KB)
ðŸ“
bigdecimal
📄
bigdecimal.rb
(24 B)
ðŸ“
cgi
📄
cgi.rb
(9.82 KB)
📄
coverage.rb
(368 B)
ðŸ“
csv
📄
csv.rb
(86.71 KB)
📄
date.rb
(1.02 KB)
📄
debug.rb
(30.3 KB)
📄
delegate.rb
(11.68 KB)
ðŸ“
did_you_mean
📄
did_you_mean.rb
(3.85 KB)
ðŸ“
digest
📄
digest.rb
(2.83 KB)
ðŸ“
drb
📄
drb.rb
(50 B)
📄
erb.rb
(28.81 KB)
📄
expect.rb
(2.17 KB)
ðŸ“
fiddle
📄
fiddle.rb
(2.11 KB)
📄
fileutils.rb
(48.26 KB)
📄
find.rb
(2.47 KB)
ðŸ“
forwardable
📄
forwardable.rb
(8.98 KB)
📄
getoptlong.rb
(15.45 KB)
ðŸ“
io
📄
ipaddr.rb
(19.52 KB)
ðŸ“
json
📄
json.rb
(19.3 KB)
📄
kconv.rb
(5.72 KB)
ðŸ“
logger
📄
logger.rb
(16.48 KB)
ðŸ“
matrix
📄
matrix.rb
(61.83 KB)
📄
mkmf.rb
(86.59 KB)
📄
monitor.rb
(6.76 KB)
📄
mutex_m.rb
(2.23 KB)
ðŸ“
net
📄
objspace.rb
(2.66 KB)
📄
observer.rb
(6.38 KB)
📄
open-uri.rb
(24.74 KB)
📄
open3.rb
(21.93 KB)
ðŸ“
openssl
📄
openssl.rb
(1.06 KB)
📄
optionparser.rb
(59 B)
ðŸ“
optparse
📄
optparse.rb
(60.34 KB)
📄
ostruct.rb
(12.38 KB)
📄
pathname.rb
(16.46 KB)
📄
pp.rb
(15.85 KB)
📄
prettyprint.rb
(15.9 KB)
📄
prime.rb
(15.13 KB)
📄
pstore.rb
(14.73 KB)
ðŸ“
psych
📄
psych.rb
(22.4 KB)
ðŸ“
racc
📄
racc.rb
(137 B)
📄
readline.rb
(113 B)
ðŸ“
reline
📄
reline.rb
(13.9 KB)
📄
resolv-replace.rb
(1.76 KB)
📄
resolv.rb
(74.18 KB)
ðŸ“
rinda
ðŸ“
ripper
📄
ripper.rb
(2.44 KB)
📄
securerandom.rb
(8.86 KB)
ðŸ“
set
📄
set.rb
(19.42 KB)
📄
shellwords.rb
(7.09 KB)
📄
singleton.rb
(4.08 KB)
📄
socket.rb
(43.65 KB)
ðŸ“
syslog
📄
tempfile.rb
(12.43 KB)
📄
time.rb
(24.27 KB)
📄
timeout.rb
(4 KB)
📄
tmpdir.rb
(4.4 KB)
📄
tracer.rb
(6.5 KB)
📄
tsort.rb
(14.3 KB)
📄
un.rb
(10.11 KB)
ðŸ“
unicode_normalize
ðŸ“
uri
📄
uri.rb
(3.04 KB)
ðŸ“
vendor_ruby
📄
weakref.rb
(1.46 KB)
ðŸ“
yaml
📄
yaml.rb
(1.8 KB)
Editing: fiddle.rb
# frozen_string_literal: true require 'fiddle.so' require 'fiddle/closure' require 'fiddle/function' require 'fiddle/version' module Fiddle if WINDOWS # Returns the last win32 +Error+ of the current executing +Thread+ or nil # if none def self.win32_last_error Thread.current[:__FIDDLE_WIN32_LAST_ERROR__] end # Sets the last win32 +Error+ of the current executing +Thread+ to +error+ def self.win32_last_error= error Thread.current[:__FIDDLE_WIN32_LAST_ERROR__] = error end # Returns the last win32 socket +Error+ of the current executing # +Thread+ or nil if none def self.win32_last_socket_error Thread.current[:__FIDDLE_WIN32_LAST_SOCKET_ERROR__] end # Sets the last win32 socket +Error+ of the current executing # +Thread+ to +error+ def self.win32_last_socket_error= error Thread.current[:__FIDDLE_WIN32_LAST_SOCKET_ERROR__] = error end end # Returns the last +Error+ of the current executing +Thread+ or nil if none def self.last_error Thread.current[:__FIDDLE_LAST_ERROR__] end # Sets the last +Error+ of the current executing +Thread+ to +error+ def self.last_error= error Thread.current[:__DL2_LAST_ERROR__] = error Thread.current[:__FIDDLE_LAST_ERROR__] = error end # call-seq: dlopen(library) => Fiddle::Handle # # Creates a new handler that opens +library+, and returns an instance of # Fiddle::Handle. # # If +nil+ is given for the +library+, Fiddle::Handle::DEFAULT is used, which # is the equivalent to RTLD_DEFAULT. See <code>man 3 dlopen</code> for more. # # lib = Fiddle.dlopen(nil) # # The default is dependent on OS, and provide a handle for all libraries # already loaded. For example, in most cases you can use this to access # +libc+ functions, or ruby functions like +rb_str_new+. # # See Fiddle::Handle.new for more. def dlopen library Fiddle::Handle.new library end module_function :dlopen # Add constants for backwards compat RTLD_GLOBAL = Handle::RTLD_GLOBAL # :nodoc: RTLD_LAZY = Handle::RTLD_LAZY # :nodoc: RTLD_NOW = Handle::RTLD_NOW # :nodoc: end
Upload File
Create Folder