Sha256: 15ec97b45db749410925d00070be8edf4e8d4d3333de60b4225e9c1cdde3348e

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

require "colorize"
require_relative "file_scanner/client"
require_relative "file_scanner/version"

module FileScanner # :nodoc:
  # @param [String] dir Directory to be processed
  # @param [Hash] options
  # @option options [Boolean] :nested Specify if nested directories should be scanned
  # @option options [String] extension Extension of filenames to be selected. Defaults to "*.mp4"
  def self.new(dir, **options)
    Client.new(dir, **options)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
file_scan-0.1.1 lib/file_scanner.rb
file_scan-0.1.0 lib/file_scanner.rb