Class: Htk::FDebugCounter

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/Htk/utils.rb

Instance Method Summary collapse

Constructor Details

#initializeFDebugCounter

Returns a new instance of FDebugCounter.



12
13
14
# File 'lib/Htk/utils.rb', line 12

def initialize()
  @counter = 0
end

Instance Method Details

#countObject



20
21
22
# File 'lib/Htk/utils.rb', line 20

def count
  @counter
end

#incrementObject



16
17
18
# File 'lib/Htk/utils.rb', line 16

def increment
  @counter += 1
end