lib/assetify/dsl.rb in assetify-0.4.0 vs lib/assetify/dsl.rb in assetify-0.7.0.rc1

- old
+ new

@@ -38,9 +38,16 @@ :to => to})# h.split(".").last, ) end end end + # Create assets path setters + Assetify::ASSETS.each do |asset| + define_method asset do |path| + Opt[asset] = path + end + end + # # js "foo", "http://foo.com" # js "foo", "http://foo.com", :to => "/other/place" # def method_missing method, name, uri, *params