diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-12 15:28:47 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-12 15:28:47 +0000 |
commit | 75033ea16f86679164eac5030c230ca50d86d1cf (patch) | |
tree | 0849defe1b1eaa13c84bf64a9ad0344cdcf72fdc /ext/dl | |
parent | 2be632476e8f2b3db28e463ca7b1a2c0cf0f83b7 (diff) | |
download | ruby-75033ea16f86679164eac5030c230ca50d86d1cf.tar.gz |
* ext/dl/lib/dl.rb: don't require when already loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/lib/dl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl.rb b/ext/dl/lib/dl.rb index 168a18a55e..80d46b685a 100644 --- a/ext/dl/lib/dl.rb +++ b/ext/dl/lib/dl.rb @@ -1,7 +1,7 @@ require 'dl.so' begin - require 'fiddle' + require 'fiddle' unless Object.const_defined?(:Fiddle) rescue LoadError end |