summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/lib/dl.rb')
-rw-r--r--ext/dl/lib/dl.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/dl/lib/dl.rb b/ext/dl/lib/dl.rb
deleted file mode 100644
index 8e615ae..0000000
--- a/ext/dl/lib/dl.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-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