summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/particle.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:26:40 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:26:40 +0200
commit6c0975a3771171ff5ee611d29ef101c189440947 (patch)
tree5b69679030fb926bb1e26d43b7e7d8f17920fc43 /lib/evendoors/particle.rb
parente8ab416ea1a935b178a3ee361d499066f64f8a5b (diff)
downloadedoors-ruby-6c0975a3771171ff5ee611d29ef101c189440947.zip
edoors-ruby-6c0975a3771171ff5ee611d29ef101c189440947.tar.gz
Particle: add #clear_merged!
Diffstat (limited to 'lib/evendoors/particle.rb')
-rw-r--r--lib/evendoors/particle.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/evendoors/particle.rb b/lib/evendoors/particle.rb
index ea84f8a..7fd3e11 100644
--- a/lib/evendoors/particle.rb
+++ b/lib/evendoors/particle.rb
@@ -136,6 +136,10 @@ module EvenDoors
@merged.shift
end
#
+ def clear_merged!
+ @merged.clear
+ end
+ #
end
#
end