You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If accessor methods were added that simply return $stdin/out then anyone could easily be override those using various methods like Refinements and/or extended Classes?
Then hacky tricks like messing with $stdin globally wouldn't be needed.
Maybe accessor methods wouldn't even be the right technique but it would be nice to somehow be able to easily override these without affecting $stdin/out globally?
If accessor methods were added that simply return $stdin/out then anyone could easily be override those using various methods like Refinements and/or extended Classes?
Then hacky tricks like messing with $stdin globally wouldn't be needed.
For example see: http://www.simulacre.org/unblocking-readline-in-eventmachine
The text was updated successfully, but these errors were encountered: