From d1c061f1aee62c83e21fb5bf7b26901ab8c12af4 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 4 Oct 2015 14:42:15 +0200 Subject: Flesh out PDF generation. --- lib/song.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/song.rb') 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 -- cgit v1.2.3