Skip to content
Create a gist now

Instantly share code, notes, and snippets.

@zzak /dl.patch
Created Nov 27, 2012

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
Something went wrong with that request. Please try again.