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
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, ) @root = root = @files = 0 @videos = 0 @unsupported = 0 run end |
Instance Method Details
#traverser_recursive ⇒ Object
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_sort ⇒ Object
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 |