Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 367 Bytes

happypath.md

File metadata and controls

5 lines (5 loc) · 367 Bytes
  • CSV.read –- read CSV from params
  • Archive::ArchiveFileFactory.new -- pass the path and the zip (in this case, always 'zip')
    • use the extension to determine which type of ArchiveFile to use
    • pass the extension & full filepath (including filename and extension) to initialize specific ArchiveFile subclass or raise ArgumentError
    • --> ArchiveFile.build --