lib/remi/extractor/file_system.rb in remi-0.2.35 vs lib/remi/extractor/file_system.rb in remi-0.2.36

- old
+ new

@@ -16,11 +16,10 @@ end end class FileSystem - class FileNotFoundError < StandardError; end def initialize(*args, remote_path:, pattern: /.*/, local_path: Settings.work_dir, most_recent_only: false, group_by: nil, most_recent_by: :create_time, logger: Remi::Settings.logger, **kargs, &block) @remote_path = Pathname.new(remote_path) @pattern = pattern @@ -29,9 +28,15 @@ @group_by = group_by @most_recent_by = most_recent_by @logger = logger end + attr_reader :remote_path + attr_reader :pattern + attr_reader :local_path + attr_reader :most_recent_only + attr_reader :group_by + attr_reader :most_recent_by attr_reader :logger # Public: Called to extract files from the source filesystem. # # Returns an array with containing the paths to all files extracted.