Class: Hanami::Assets::Bundler::ManifestEntry Private
- Inherits:
-
Object
- Object
- Hanami::Assets::Bundler::ManifestEntry
- Defined in:
- lib/hanami/assets/bundler/manifest_entry.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constructs a hash for a single asset’s manifest file entry
Constant Summary collapse
- SUBRESOURCE_INTEGRITY_SEPARATOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'-'.freeze
Instance Method Summary collapse
-
#entry ⇒ Object
private
A single entry for this asset, to go into manifest file.
-
#initialize(asset) ⇒ ManifestEntry
constructor
private
Return a new instance.
Constructor Details
#initialize(asset) ⇒ ManifestEntry
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return a new instance
17 18 19 |
# File 'lib/hanami/assets/bundler/manifest_entry.rb', line 17 def initialize(asset) @asset = asset end |
Instance Method Details
#entry ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
A single entry for this asset, to go into manifest file
24 25 26 |
# File 'lib/hanami/assets/bundler/manifest_entry.rb', line 24 def entry { name => values } end |