Module: RoundRobin

Included in:
OzonParser::Agent, OzonParser::ProxyList
Defined in:
lib/round_robin.rb

Instance Method Summary collapse

Instance Method Details

#next!(arry) ⇒ Object



2
3
4
5
6
# File 'lib/round_robin.rb', line 2

def next!(arry)
  value = arry.shift
  arry << value
  value
end