Class: Gly::Lister::GrepFormat
- Inherits:
-
Object
- Object
- Gly::Lister::GrepFormat
- Defined in:
- lib/gly/lister.rb
Overview
less beauty, more repetition, for easier grepping
Instance Method Summary collapse
Instance Method Details
#file(f) ⇒ Object
57 58 59 60 |
# File 'lib/gly/lister.rb', line 57 def file(f) @file = f nil end |
#score(s) ⇒ Object
62 63 64 |
# File 'lib/gly/lister.rb', line 62 def score(s) "#{@file}##{s.headers['id']} #{s.lyrics.readable}" end |