intercepted
It takes an existing Ruby object and creates a new one, that accepts all method calls and passes them to the provided block, which can pass them further to the original object.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
0.2.0
Yegor Bugayenko
-
bundle add intercepted
Getting Started
Learn more about the Intercepted gem.
Playground
Test, play and inspect the gem for yourself