Class: Sprockets::Helpers::ManifestPath
- Defined in:
- lib/sprockets/helpers/manifest_path.rb
Overview
‘ManifestPath` uses the digest path and prepends the prefix.
Instance Attribute Summary
Attributes inherited from BasePath
Instance Method Summary collapse
-
#initialize(uri, path, options = {}) ⇒ ManifestPath
constructor
A new instance of ManifestPath.
Methods inherited from AssetPath
Methods inherited from BasePath
#sprockets_helpers_settings, #to_s
Constructor Details
#initialize(uri, path, options = {}) ⇒ ManifestPath
Returns a new instance of ManifestPath.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/sprockets/helpers/manifest_path.rb', line 6 def initialize(uri, path, = {}) @uri = uri @options = @options = { :body => false, :prefix => sprockets_helpers_settings.prefix }.merge @uri.path = path.to_s end |