class AbstractEventedQueue

Abstract evented queue. @abstract

Public Instance Methods

clear(&block) click to toggle source

Clears the queue.

@yield [nil] @abstract

# File lib/evented-queue/abstract.rb, line 66
def clear(&block)
    not_implemented
end
Also aliased as: clear!
clear!(&block)
Alias for: clear
empty?(&block) click to toggle source

Indicates queue is empty.

@return [Boolean] true it it is, false otherwise @yield [Boolean] true it it is, false otherwise @abstract

# File lib/evented-queue/abstract.rb, line 55
def empty?(&block)
    not_implemented
end
length(&block) click to toggle source

Indicates length of the queue.

@return [Integer] queue length @yield [Integer] queue length @abstract

# File lib/evented-queue/abstract.rb, line 43
def length(&block)
    not_implemented
end
pop(&block) click to toggle source

Pushes value out of the queue.

@yield [Object] an object from the queue @abstract

# File lib/evented-queue/abstract.rb, line 31
def pop(&block)
    not_implemented
end
push(value, &block) click to toggle source

Pushes value into the queue.

@param value [Object] object to push @abstract

# File lib/evented-queue/abstract.rb, line 20
def push(value, &block)
    not_implemented
end