lib/vx/builder/source.rb in vx-builder-0.0.12 vs lib/vx/builder/source.rb in vx-builder-0.0.13

- old
+ new

@@ -50,9 +50,17 @@ def global_env attributes["env"]["global"] end + def cached_directories + if attributes["cache"] == false + false + else + (attributes["cache"] && attributes["cache"]["directories"]) || [] + end + end + AS_ARRAY.each do |m| define_method m do @attributes[m] || [] end end