struct
Latch::Extractor::SizeFromIO
- Latch::Extractor::SizeFromIO
- Struct
- Value
- Object
Included Modules
Defined in:
latch/extractor/size_from_io.crConstructors
Instance Method Summary
-
#extract(uploaded_file, metadata, **options) : Int64 | Nil
Tries to extract the file size from the IO.
- #initialize
Instance methods inherited from module Latch::Extractor
extract(uploaded_file : Latch::UploadedFile, metadata : MetadataHash, **options) : MetadataValue | Nil
extract
Constructor Detail
Instance Method Detail
def extract(uploaded_file, metadata, **options) : Int64 | Nil
#
Tries to extract the file size from the IO.