class StalkClimber::Tubes

Public Instance Methods

all() → Array[StalkClimber::Tube] click to toggle source

List of all known beanstalk tubes in the connection pool. Adapted with minor modification from Beaneater::Tubes#all

# File lib/stalk_climber/tubes.rb, line 15
def all
  return transmit_to_all('list-tubes', :merge => true)[:body].map do |tube_name|
    StalkClimber::Tube.new(self.pool, tube_name)
  end
end