Class: Sequence
- Inherits:
-
Object
- Object
- Sequence
- Defined in:
- lib/sequence.rb
Class Method Summary collapse
Class Method Details
.next ⇒ Object
3 4 5 |
# File 'lib/sequence.rb', line 3 def self.next @current_value += 1 end |