aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-07-05 11:29:34 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-07-05 11:29:34 +0200
commita7b1b9305e0aad7e9b76f0983c9d927f2d9f8ec5 (patch)
tree0f9068ad74368837cf5c19d2d0db46379829992d
parente78e69a50201191d359cde0ad4616ce347e6f028 (diff)
useless each caused exception
-rw-r--r--timepollhead.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/timepollhead.rb b/timepollhead.rb
index 6f3fcec..4a444b2 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -40,7 +40,7 @@ class TimePollHead
# column should be the internal representation
# column.to_s should deliver humanreadable form
def columns
- @data.sort.each.collect{|day| day.to_s}
+ @data.sort.collect{|day| day.to_s}
end
def concrete_times