Class: Queue
- Inherits:
-
Object
- Object
- Queue
- Defined in:
- lib/gossip/multi-exceptions.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#to_a ⇒ Object
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 |