5 ms·
I guess that overriding the behavior of any built-in classes in Ruby is not a great idea, as most gems rely on that unmodified behavior.
by jasiek 15y ago
I guess that overriding the behavior of any built-in classes in Ruby is not a great idea, as most gems rely on that unmodified behavior.
- DanielRibeiro 15y agoAs a gem creator, is is terrible. As a application creator, is is only bad when/if you open source part of it. Otherwise, you can always run the gems' tests against the compillation of your env.
- jaylevitt 15y agoThere's talk of "traits" for Ruby 2.0 that will let you scope your monkeypatching.