3 ms·
That is a Rails issue, not a Ruby issue. Outside some Rails libraries this is not a thing. Virtually all non-Rails libraries try hard to avoid modifying global
by jeltz 4y ago
That is a Rails issue, not a Ruby issue. Outside some Rails libraries this is not a thing. Virtually all non-Rails libraries try hard to avoid modifying global state.
- itake 4y agorspec uses monkey patching for stubbing methods. Even rails libraries avoid modifying global state, but its still very much a thing.