Commit Graph

7 Commits

Author SHA1 Message Date
Michael Miller 6e7d215f69
Add type annotations to to_s and inspect 2022-11-04 20:56:02 -06:00
Michael Miller b9f0a31a4a
Overhaul hooks
Mostly cleanup and make managing hooks simpler, hopefully.
Tests indicate this configuration matches hook execution order of RSpec.
2021-08-07 21:45:49 -06:00
Michael Miller e30d5c1981
Use multiple << on a single line 2021-05-30 14:21:42 -06:00
Michael Miller 74b78b7ca8
Rename Source to Location 2021-02-12 22:46:22 -07:00
Michael Miller 65dba9f317
Don't need delegates stored in hooks
Use proc instead. The context can be retrieved from the example 
instance.
2021-01-09 12:04:27 -07:00
Michael Miller def66acc15
Trace hook invocation 2021-01-09 11:14:27 -07:00
Michael Miller e5cbc8d631
Promote hooks to fully-fledge types
Hook types include a source, label, and context delegate.
2021-01-09 11:06:59 -07:00