Sha256: a5e6998b9f3aa7c379ef64a7eb409d9757dc551ad871189a0278ee037d1331ca
Contents?: true
Size: 272 Bytes
Versions: 7
Compression:
Stored size: 272 Bytes
Contents
# frozen_string_literal: true module SimpleTextExtract class FileExtractor < TextExtractor attr_reader :filepath def initialize(filepath:) @filepath = filepath end private def file @file ||= File.new(filepath) end end end
Version data entries
7 entries across 7 versions & 1 rubygems