Sha256: 35df6ba6ca40f69a8f2b184b420a544be002483a6480f077b80fdda1fb8261d1
Contents?: true
Size: 302 Bytes
Versions: 68
Compression:
Stored size: 302 Bytes
Contents
module HQMF # Simple class to issue monotonically increasing integer identifiers class InstanceCounter def initialize @count=0 end def reset @count=0 end def next @count+=1 end end class Counter < InstanceCounter include Singleton end end
Version data entries
68 entries across 68 versions & 3 rubygems