class Minipack::Manifest::ChunkGroup

A class that represents a group of chunked entries in a manifest

Attributes

entries[R]

Public Class Methods

new(entries) click to toggle source

@param [Array<Minipack::Manifest::Entry>] entries paths of chunked group

# File lib/minipack/manifest.rb, line 30
def initialize(entries)
  @entries = Array(entries).map { |entry| entry.is_a?(String) ? Entry.new(entry) : entry }
end

Public Instance Methods

==(other) click to toggle source
# File lib/minipack/manifest.rb, line 34
def ==(other)
  @entries == other.entries
end