X7ROOT File Manager
Current Path:
/opt/alt/ruby24/lib64/ruby/2.4.0
opt
/
alt
/
ruby24
/
lib64
/
ruby
/
2.4.0
/
??
..
??
English.rb
(6.45 KB)
??
abbrev.rb
(3.49 KB)
??
base64.rb
(3.31 KB)
??
benchmark.rb
(17.9 KB)
??
cgi
??
cgi.rb
(9.8 KB)
??
cmath.rb
(9.48 KB)
??
csv.rb
(83.53 KB)
??
date.rb
(1004 B)
??
debug.rb
(29.98 KB)
??
delegate.rb
(10.31 KB)
??
digest
??
digest.rb
(2.83 KB)
??
drb
??
drb.rb
(50 B)
??
e2mmap.rb
(3.94 KB)
??
erb.rb
(27.25 KB)
??
expect.rb
(2.17 KB)
??
fiddle
??
fiddle.rb
(1.68 KB)
??
fileutils.rb
(44.06 KB)
??
find.rb
(2.52 KB)
??
forwardable
??
forwardable.rb
(8.5 KB)
??
getoptlong.rb
(15.41 KB)
??
io
??
ipaddr.rb
(17.1 KB)
??
irb
??
irb.rb
(20.29 KB)
??
json
??
json.rb
(1.77 KB)
??
kconv.rb
(5.77 KB)
??
logger.rb
(23.53 KB)
??
mathn.rb
(3.42 KB)
??
matrix
??
matrix.rb
(53.37 KB)
??
mkmf.rb
(84.32 KB)
??
monitor.rb
(7.02 KB)
??
mutex_m.rb
(2.04 KB)
??
net
??
observer.rb
(5.83 KB)
??
open-uri.rb
(24.76 KB)
??
open3.rb
(20.59 KB)
??
openssl
??
openssl.rb
(445 B)
??
optionparser.rb
(59 B)
??
optparse
??
optparse.rb
(57.25 KB)
??
ostruct.rb
(10.2 KB)
??
pathname.rb
(16.08 KB)
??
pp.rb
(14.43 KB)
??
prettyprint.rb
(15.89 KB)
??
prime.rb
(12.49 KB)
??
profile.rb
(236 B)
??
profiler.rb
(4.54 KB)
??
pstore.rb
(14.71 KB)
??
psych
??
psych.rb
(15.25 KB)
??
racc
??
rbconfig
??
rdoc
??
rdoc.rb
(5.07 KB)
??
resolv-replace.rb
(1.76 KB)
??
resolv.rb
(73.48 KB)
??
rexml
??
rinda
??
ripper
??
ripper.rb
(2.56 KB)
??
rss
??
rss.rb
(2.87 KB)
??
rubygems
??
rubygems.rb
(35.38 KB)
??
scanf.rb
(23.56 KB)
??
securerandom.rb
(7.48 KB)
??
set.rb
(20.74 KB)
??
shell
??
shell.rb
(11.37 KB)
??
shellwords.rb
(6.66 KB)
??
singleton.rb
(4.06 KB)
??
socket.rb
(42.99 KB)
??
sync.rb
(7.29 KB)
??
syslog
??
tempfile.rb
(10.8 KB)
??
thwait.rb
(3.35 KB)
??
time.rb
(22.36 KB)
??
timeout.rb
(3.83 KB)
??
tmpdir.rb
(4.29 KB)
??
tracer.rb
(6.44 KB)
??
tsort.rb
(14.3 KB)
??
ubygems.rb
(298 B)
??
un.rb
(9.18 KB)
??
unicode_normalize
??
unicode_normalize.rb
(3.2 KB)
??
uri
??
uri.rb
(3.1 KB)
??
weakref.rb
(2.95 KB)
??
webrick
??
webrick.rb
(6.72 KB)
??
x86_64-linux
??
yaml
??
yaml.rb
(1.73 KB)
Editing: fiddle.rb
# frozen_string_literal: false require 'fiddle.so' require 'fiddle/function' require 'fiddle/closure' 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 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