Class: Ehbrs::Tools::Runner::Music::Spread
- Inherits:
-
Object
- Object
- Ehbrs::Tools::Runner::Music::Spread
- Defined in:
- lib/ehbrs/tools/runner/music/spread.rb
Instance Method Summary collapse
Instance Method Details
#albums ⇒ Object
31 32 33 34 35 |
# File 'lib/ehbrs/tools/runner/music/spread.rb', line 31 def albums parsed.albums.map do |path| ::EhbrsRubyUtils::Music::Ous::Album.new(path) end end |
#run ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/ehbrs/tools/runner/music/spread.rb', line 17 def run spreader.result.each do |album| if parsed.ids? out("#{album.id}\n") else puts album.to_label end end end |
#spreader_uncached ⇒ Object
27 28 29 |
# File 'lib/ehbrs/tools/runner/music/spread.rb', line 27 def spreader_uncached ::EhbrsRubyUtils::CircularListSpreader.new(albums) end |