Class: Hearken::Indexing::AudioTraverser
- Inherits:
-
Object
- Object
- Hearken::Indexing::AudioTraverser
- Defined in:
- lib/hearken/indexing/audio_traverser.rb
Constant Summary collapse
- EXTS =
%w{m4a mp3 ogg wma flac aac}.map {|e| '.'+e }
Instance Attribute Summary collapse
-
#current ⇒ Object
readonly
Returns the value of attribute current.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(path) ⇒ AudioTraverser
constructor
A new instance of AudioTraverser.
Constructor Details
#initialize(path) ⇒ AudioTraverser
Returns a new instance of AudioTraverser.
8 9 10 |
# File 'lib/hearken/indexing/audio_traverser.rb', line 8 def initialize path @path = Pathname.new path end |
Instance Attribute Details
#current ⇒ Object (readonly)
Returns the value of attribute current.
5 6 7 |
# File 'lib/hearken/indexing/audio_traverser.rb', line 5 def current @current end |