Class: EhbrsRubyUtils::Videos2::Unsupported::Search
- Inherits:
-
Object
- Object
- EhbrsRubyUtils::Videos2::Unsupported::Search
- 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
-
#initialize(root, file_options) ⇒ Search
constructor
A new instance of Search.
-
#traverser_recursive ⇒ Object
rubocop:disable Naming/PredicateMethod.
-
#traverser_sort ⇒ Object
rubocop:disable Naming/PredicateMethod.
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, ) @root = root = @files = 0 @videos = 0 @unsupported = 0 run end |
Instance Method Details
#traverser_recursive ⇒ Object
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_sort ⇒ Object
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 |