summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/band.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/band.rb b/lib/band.rb
index 760274b..e75dd6e 100644
--- a/lib/band.rb
+++ b/lib/band.rb
@@ -45,4 +45,8 @@ class Band
errors << "Du må ha med minst én låt!"
end
end
+
+ def has_errors
+ errors.length > 0
+ end
end