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
- .next_id_counter ⇒ Object
-
.reset_id_counter ⇒ Object
reset_id_counter is used by test cases to get consistent event ids.
Class Method Details
.next_id_counter ⇒ Object
16 17 18 |
# File 'lib/appmap/event.rb', line 16 def next_id_counter @@id_counter += 1 end |
.reset_id_counter ⇒ Object
reset_id_counter is used by test cases to get consistent event ids.
12 13 14 |
# File 'lib/appmap/event.rb', line 12 def reset_id_counter @@id_counter = 0 end |