Class: Pwrake::LifoQueueArray

Inherits:
QueueArray show all
Defined in:
lib/pwrake/queue/queue_array.rb

Instance Method Summary collapse

Methods inherited from QueueArray

#find_rank, #initialize, #shift

Constructor Details

This class inherits a constructor from Pwrake::QueueArray

Instance Method Details

#q_at(i) ⇒ Object



54
55
56
# File 'lib/pwrake/queue/queue_array.rb', line 54

def q_at(i)
  at(size-1-i)
end

#q_delete_at(i) ⇒ Object



57
58
59
# File 'lib/pwrake/queue/queue_array.rb', line 57

def q_delete_at(i)
  delete_at(size-1-i)
end