Module: AppMap::Event

Defined in:
lib/appmap/event.rb

Defined Under Namespace

Classes: MethodCall, MethodEvent, MethodEventStruct, MethodReturn, MethodReturnIgnoreValue

Constant Summary collapse

@@id_counter =
0

Class Method Summary collapse

Class Method Details

.next_id_counterObject



13
14
15
# File 'lib/appmap/event.rb', line 13

def next_id_counter
  @@id_counter += 1
end

.reset_id_counterObject

reset_id_counter is used by test cases to get consistent event ids.



9
10
11
# File 'lib/appmap/event.rb', line 9

def reset_id_counter
  @@id_counter = 0
end