summaryrefslogtreecommitdiffstats
path: root/lib/song.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/song.rb')
-rw-r--r--lib/song.rb4
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