|
|
|
|
|
by lamontcg
1283 days ago
|
|
This almost reads more like a list of cruft which should be removed from the stdlib (obviously not benchmark.rb though). For delegation it is probably better to use forwardable and be explicit about delegated methods--delegate.rb smells like it uses method_missing magic. |
|
https://github.com/ruby/ruby/blob/afd46429fcdb83aa9fa7c193ed...
SimpleDelegator is still pretty common though, I wouldn't blink if I saw that while reviewing a PR.