Class: Ehbrs::Videos::Unsupported::Search
- Inherits:
-
Object
- Object
- Ehbrs::Videos::Unsupported::Search
- Includes:
- EacRubyUtils::Fs::Traversable
- Defined in:
- lib/ehbrs/videos/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
- #traverser_sort ⇒ Object
Constructor Details
#initialize(root, file_options) ⇒ Search
Returns a new instance of Search.
17 18 19 20 21 22 23 24 |
# File 'lib/ehbrs/videos/unsupported/search.rb', line 17 def initialize(root, ) @root = root = @files = 0 @videos = 0 @unsupported = 0 run end |
Instance Method Details
#traverser_recursive ⇒ Object
26 27 28 |
# File 'lib/ehbrs/videos/unsupported/search.rb', line 26 def traverser_recursive true end |
#traverser_sort ⇒ Object
30 31 32 |
# File 'lib/ehbrs/videos/unsupported/search.rb', line 30 def traverser_sort true end |