Skip to content

Instantly share code, notes, and snippets.

Created Nov 27, 2012
What would you like to do?
deprecate dl
Index: ext/dl/lib/dl.rb
--- ext/dl/lib/dl.rb (revision 37908)
+++ ext/dl/lib/dl.rb (working copy)
@@ -5,6 +5,8 @@
rescue LoadError
+warn "DL is deprecated, please use Fiddle"
module DL
# Returns true if DL is using Fiddle, the libffi wrapper.
def self.fiddle?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment