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.



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

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

Instance Method Details

#traverser_recursiveObject

rubocop:disable Naming/PredicateMethod



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

def traverser_recursive # rubocop:disable Naming/PredicateMethod
  true
end

#traverser_sortObject

rubocop:disable Naming/PredicateMethod



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

def traverser_sort # rubocop:disable Naming/PredicateMethod
  true
end