Module: Embarista::SassFunctions
- Defined in:
- lib/embarista/sass_functions.rb
Instance Method Summary collapse
Instance Method Details
#manifest_path(path) ⇒ Object
8 9 10 11 |
# File 'lib/embarista/sass_functions.rb', line 8 def manifest_path(path) digested_path = lookup_manifest_path(path.value) Sass::Script::String.new(digested_path) end |
#manifest_url(path) ⇒ Object
3 4 5 6 |
# File 'lib/embarista/sass_functions.rb', line 3 def manifest_url(path) digested_path = lookup_manifest_path(path.value) Sass::Script::String.new("url(#{URI.encode(digested_path)})") end |