D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
alt
/
ruby20
/
lib64
/
ruby
/
2.0.0
/
Filename :
dl.rb
back
Copy
require 'dl.so' begin require 'fiddle' unless Object.const_defined?(:Fiddle) rescue LoadError end warn "DL is deprecated, please use Fiddle" module DL # Returns true if DL is using Fiddle, the libffi wrapper. def self.fiddle? Object.const_defined?(:Fiddle) end end