Class: EhbrsRubyUtils::Videos2::Unsupported::Search

Inherits:
Object
  • Object
show all
Includes:
EacFs::Traversable
Defined in:
lib/ehbrs_ruby_utils/videos2/unsupported/search.rb

Constant Summary collapse

VALID_EXTENSIONS =
%w[.avi .mp4 .mkv .m4v].freeze

Instance Method Summary collapse

Constructor Details

#initialize(root, file_options) ⇒ Search

Returns a new instance of Search.



17
18
19
20
21
22
23
24
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/search.rb', line 17

def initialize(root, file_options)
  @root = root
  @file_options = file_options
  @files = 0
  @videos = 0
  @unsupported = 0
  run
end

Instance Method Details

#traverser_recursiveObject



26
27
28
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/search.rb', line 26

def traverser_recursive
  true
end

#traverser_sortObject



30
31
32
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/search.rb', line 30

def traverser_sort
  true
end