Sha256: 4f3437cf8214e6199718e9717fd216a5616b69adba2ecf4efe3374ce09a5a398
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
require_relative "./file_reader" module Metacrunch class FileReader class 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 end
Version data entries
5 entries across 5 versions & 1 rubygems