–}}}
41 42 43 44 45 46 47
# File 'lib/rq/lockfile.rb', line 41 def next #--{{{ ret = self[@idx] @idx = ((@idx + 1) % self.size) ret #--}}} end