summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/edoors/particle.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/edoors/particle.rb b/lib/edoors/particle.rb
index 763c578..864d1e7 100644
--- a/lib/edoors/particle.rb
+++ b/lib/edoors/particle.rb
@@ -370,6 +370,13 @@ module Edoors
@merged.clear
end
#
+ # Yields each element in @merged
+ #
+ def each_merged
+ return if not block_given?
+ @merged.each do |p| yield p end
+ end
+ #
end
#
end