github / scientist

:microscope: A Ruby library for carefully refactoring critical paths.
MIT License
7.47k stars 442 forks source link

Improve marshal implementation #169

Closed agentdon closed 2 years ago

agentdon commented 2 years ago

Improves the approach that we introduced in #168 to marshal mismatch errors so that we don't have to dynamically define methods on the procs provided by the user. Thanks to @brasic suggesting this improvement.