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.



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

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



23
24
25
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/search.rb', line 23

def traverser_recursive # rubocop:disable Naming/PredicateMethod
  true
end

#traverser_sortObject

rubocop:disable Naming/PredicateMethod



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

def traverser_sort # rubocop:disable Naming/PredicateMethod
  true
end