Class: PetriDish::HookLog

Inherits:
Object
  • Object
show all
Defined in:
lib/petri_dish/hook_log.rb

Constant Summary collapse

SUMMARY_TRUNCATE =
40

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ HookLog

Returns a new instance of HookLog.



25
26
27
28
# File 'lib/petri_dish/hook_log.rb', line 25

def initialize(path)
  @path = path
  @raw_events = parse_events
end

Instance Method Details

#tool_eventsObject



30
31
32
# File 'lib/petri_dish/hook_log.rb', line 30

def tool_events
  pair_events
end