diff options
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/particle.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/evendoors/particle.rb b/lib/evendoors/particle.rb index 7b951f9..7c2af07 100644 --- a/lib/evendoors/particle.rb +++ b/lib/evendoors/particle.rb @@ -119,11 +119,7 @@ module EvenDoors # # merge particles management # - def merged_count - @merged.length - end - # - def merge p + def merge! p @merged << p end # @@ -131,6 +127,10 @@ module EvenDoors @merged[i] end # + def merged_shift + @merged.shift + end + # end # end |