Sha256: fa0149c7d3c91a8abfc78d30c49aaec4bc74d1ca915bb8ffd20b9344c3b14c08
Contents?: true
Size: 394 Bytes
Versions: 8
Compression:
Stored size: 394 Bytes
Contents
require "metacrunch/file" module Metacrunch class File::Entry attr_reader :filename, :archive_filename, :contents def initialize(filename:, archive_filename: nil, contents: nil) @filename = filename @archive_filename = archive_filename.presence @contents = contents end def from_archive? @archive_filename != nil end end end
Version data entries
8 entries across 8 versions & 1 rubygems