Re:Ruby Refinements landed in trunk
by mef on Friday August 03, 2012 @02:06PM
(#4335293)
A 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.
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.