Class: Gly::Lister::OverviewFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/gly/lister.rb

Overview

simple, sort of beautiful, easy to read for a human

Instance Method Summary collapse

Instance Method Details

#file(f) ⇒ Object



45
46
47
# File 'lib/gly/lister.rb', line 45

def file(f)
  "\n== #{f}"
end

#score(s) ⇒ Object



49
50
51
52
# File 'lib/gly/lister.rb', line 49

def score(s)
  l = s.lyrics.readable
  l unless l.empty?
end