Module: FileScanner

Defined in:
lib/file_scanner.rb,
lib/file_scanner/client.rb,
lib/file_scanner/version.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.new(dir, **options) ⇒ Object

Parameters:

  • dir (String)

    Directory to be processed

  • options (Hash)

Options Hash (**options):

  • :nested (Boolean)

    Specify if nested directories should be scanned

  • extension (String)

    Extension of filenames to be selected. Defaults to “*.mp4”



12
13
14
# File 'lib/file_scanner.rb', line 12

def self.new(dir, **options)
  Client.new(dir, **options)
end