This is Apohorecki's Typepad Profile.
Join Typepad and start following Apohorecki's activity
Join Now!
Already a member? Sign In
Apohorecki
Recent Activity
Actually, if you want to, you can make Ruby do this pretty easily: class Object include Enumerable def each yield self end def [](_) self end end However, I can't remember when I last wrote a method that could either take a singular object or an array of them (other than via varargs), so this would not benefit me much.
Apohorecki is now following The Typepad Team
Mar 18, 2013