lib/dassets/config.rb in dassets-0.8.0 vs lib/dassets/config.rb in dassets-0.9.0

- old
+ new

@@ -18,9 +18,14 @@ super @sources = [] @combinations = Hash.new{ |h, k| [k] } # digest pass-thru if none defined end + def base_url(value = nil) + @base_url = value if !value.nil? + @base_url + end + def source(path, &block) @sources << Source.new(path).tap{ |s| block.call(s) if block } end def combination(key_digest_path, value_digest_paths)