Class: Sequence

Inherits:
Object
  • Object
show all
Defined in:
lib/sequence.rb

Class Method Summary collapse

Class Method Details

.nextObject


3
4
5
# File 'lib/sequence.rb', line 3

def self.next
  @current_value += 1
end