Ruby Refinements landed in trunk
blog.wyeworks.com
Ruby Refinements landed in trunk
1–6 of 6 posts
Re: Ruby Refinements landed in trunk
#2Encouraging bad behaviour by making it safer to behave badly.
Re: Ruby Refinements landed in trunk
#3Encouraging bad behaviour by making it safer to behave badly.
If it is safe, it is no longer bad behavior.
Re: Ruby Refinements landed in trunk
#4A much needed change. With Requirements, libraries that you include in your projects can sandbox their monkeypatches to only affect their classes.
Likewise, if the purpose of a library is to monkeypatch a standard class, you can selectively include that monkeypatch only where needed in order to isolate any potential side effects.