diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-10-04 14:42:15 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-10-04 14:42:50 +0200 |
commit | d1c061f1aee62c83e21fb5bf7b26901ab8c12af4 (patch) | |
tree | aa223229555efd4225e097dd901f61762af39c98 /lib/song.rb | |
parent | 448380ae81e3dfe182b9092880d4a314b39d034a (diff) | |
download | norsk-urskog-registrations-d1c061f1aee62c83e21fb5bf7b26901ab8c12af4.tar.gz norsk-urskog-registrations-d1c061f1aee62c83e21fb5bf7b26901ab8c12af4.tar.bz2 norsk-urskog-registrations-d1c061f1aee62c83e21fb5bf7b26901ab8c12af4.zip |
Flesh out PDF generation.
Diffstat (limited to 'lib/song.rb')
-rw-r--r-- | lib/song.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/song.rb b/lib/song.rb index c045ed2..e20b5b8 100644 --- a/lib/song.rb +++ b/lib/song.rb @@ -8,4 +8,8 @@ class Song @performers = params['performers'] @notes = params['notes'] end + + def to_s + "#{title} (#{time})" + end end |