Created
November 27, 2012 18:13
-
-
Save zzak/4155983 to your computer and use it in GitHub Desktop.
deprecate dl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
end | |
+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