class Minipack::Manifest::Entry
A class that represents a single entry in a manifest
Attributes
integrity[R]
path[R]
Public Class Methods
new(path, integrity: nil)
click to toggle source
@param [String] path single path of a single entry @param [String,nil] integrity optional value for subresource integrity of script tags
# File lib/minipack/manifest.rb, line 15 def initialize(path, integrity: nil) @path = path @integrity = integrity end
Public Instance Methods
==(other)
click to toggle source
# File lib/minipack/manifest.rb, line 20 def ==(other) @path == other.path && @integrity == other.integrity end