class Nrename::Counter

Public Class Methods

new() click to toggle source
# File lib/nrename/counter.rb, line 3
def initialize
  @counter = 0
end

Public Instance Methods

next() click to toggle source
# File lib/nrename/counter.rb, line 7
def next
  @counter = @counter.next
end