Class: Ehbrs::Tools::Runner::Music::LyricsBook

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs/tools/runner/music/lyrics_book.rb

Instance Method Summary collapse

Instance Method Details

#book_uncachedObject



29
30
31
32
# File 'lib/ehbrs/tools/runner/music/lyrics_book.rb', line 29

def book_uncached
  ::EhbrsRubyUtils::Music::LyricsBook.new(parsed.source_dir,
                                          provider_name: parsed.provider)
end

#output_contentObject



34
35
36
# File 'lib/ehbrs/tools/runner/music/lyrics_book.rb', line 34

def output_content
  book.output
end

#runObject



19
20
21
22
# File 'lib/ehbrs/tools/runner/music/lyrics_book.rb', line 19

def run
  start_banner
  run_output
end

#start_bannerObject



24
25
26
27
# File 'lib/ehbrs/tools/runner/music/lyrics_book.rb', line 24

def start_banner
  infov 'Source directory', book.source_dir
  infov 'Selected provider', book.provider
end