summaryrefslogtreecommitdiff
path: root/lib/bundler/deprecate.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2012-11-22 00:24:57 -0800
committerAndre Arko <andre@arko.net>2012-11-22 00:24:57 -0800
commit7174a90c39c926ea67ce57c749c4b603861e5785 (patch)
tree153547d9a7dce78960835320de539b377be36d7b /lib/bundler/deprecate.rb
parent12a392c1eb0b14087f9bef2a303adcade853113d (diff)
downloadbundler-7174a90c39c926ea67ce57c749c4b603861e5785.tar.gz
omg define the method we're checking for -_-
Diffstat (limited to 'lib/bundler/deprecate.rb')
-rw-r--r--lib/bundler/deprecate.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/deprecate.rb b/lib/bundler/deprecate.rb
index f3f51ab65e..e47d609dbf 100644
--- a/lib/bundler/deprecate.rb
+++ b/lib/bundler/deprecate.rb
@@ -9,9 +9,7 @@ module Bundler
end
unless Deprecate.respond_to?(:skip_during)
- class Deprecate
- def skip_during; yield; end
- end
+ def Deprecate.skip_during; yield; end
end
end \ No newline at end of file