diff options
-rw-r--r-- | lib/edoors/particle.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/edoors/particle.rb b/lib/edoors/particle.rb index 864d1e7..1dd6db4 100644 --- a/lib/edoors/particle.rb +++ b/lib/edoors/particle.rb @@ -370,13 +370,19 @@ module Edoors @merged.clear end # - # Yields each element in @merged + # Yields each element in merged Particle list # def each_merged return if not block_given? @merged.each do |p| yield p end end # + # returns length of merged Pasrticle list + # + def merged_length + @merged.length + end + # end # end |