lib/tap.rb in bahuvrihi-tap-0.10.5 vs lib/tap.rb in bahuvrihi-tap-0.10.6
- old
+ new
@@ -1,5 +1,5 @@
-require 'yaml' # expensive to load
+autoload(:YAML, 'yaml') # expensive to load
# Apply version-specific patches
case RUBY_VERSION
when /^1.9/
$: << File.expand_path(File.dirname(__FILE__) + "/tap/patches/ruby19")
\ No newline at end of file