Class: Queue

Inherits:
Object
  • Object
show all
Defined in:
lib/gossip/multi-exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_aObject



11
12
13
14
15
16
17
# File 'lib/gossip/multi-exceptions.rb', line 11

def to_a
  result = []
  until empty?
    result << self.pop
  end
  result
end