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



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

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



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

def traverser_recursive # rubocop:disable Naming/PredicateMethod
  true
end

#traverser_sortObject

rubocop:disable Naming/PredicateMethod



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

def traverser_sort # rubocop:disable Naming/PredicateMethod
  true
end