summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-09 11:20:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-09 11:20:10 +0200
commit51c79ed8bbdf2bc75cea37f1468ccbbd0f2d54d1 (patch)
tree3911fe392d6f09be0bb6dd7daae3bbaf1aa2c60b /lib
parent066db018c2c3004de2a1965c894e0b939b34cb57 (diff)
downloadedoors-ruby-51c79ed8bbdf2bc75cea37f1468ccbbd0f2d54d1.zip
edoors-ruby-51c79ed8bbdf2bc75cea37f1468ccbbd0f2d54d1.tar.gz
Twirl: add clear!
Diffstat (limited to 'lib')
-rw-r--r--lib/evendoors/twirl.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/evendoors/twirl.rb b/lib/evendoors/twirl.rb
index b3eca89..1ddf490 100644
--- a/lib/evendoors/twirl.rb
+++ b/lib/evendoors/twirl.rb
@@ -56,6 +56,11 @@ module EvenDoors
end
end
#
+ def clear!
+ @sys_fifo.clear
+ @app_fifo.clear
+ end
+ #
end
#
end