Method: Barrage::Generators::Sequence#generate

Defined in:
lib/barrage/generators/sequence.rb

#generateObject



11
12
13
# File 'lib/barrage/generators/sequence.rb', line 11

def generate
  @sequence = (@sequence + 1) & (2 ** length - 1)
end