Hacker News new | past | comments | ask | show | jobs | submit login

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.



rspec uses monkey patching for stubbing methods. Even rails libraries avoid modifying global state, but its still very much a thing.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: