aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-03-27 22:31:01 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-03-27 22:31:01 +0100
commit3485cbc3f9d655096cafb62f3f4d9b802a858464 (patch)
treebb09730d6632e2e0f8b521789506160d317f38cd /poll.rb
parentdb7c0a02cf5592b1b2406607d795230560fe547b (diff)
implemented feature to hide poll
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/poll.rb b/poll.rb
index 3f6773d..5e6f4eb 100644
--- a/poll.rb
+++ b/poll.rb
@@ -223,6 +223,12 @@ END
store "Column #{columntitle} #{action}"
true
end
+
+ def toggle_hidden
+ @hidden = !@hidden
+ store "Hidden status changed!"
+ end
+
end
if __FILE__ == $0