Class: Sphyg::Enumerators::Rotate

Inherits:
Base
  • Object
show all
Defined in:
lib/sphyg/enumerators/rotate.rb

Overview

Rotates the whole array of frames at each iteration

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Sphyg::Enumerators::Base

Instance Method Details

#nextObject



7
8
9
# File 'lib/sphyg/enumerators/rotate.rb', line 7

def next
  @frames.rotate!.join
end