From: Andrew Wagner Date: 2010-12-01T02:45:30+09:00 Subject: Re: Object#each ? --001636c5bd5f132e13049648c108 Content-Type: text/plain; charset=UTF-8 On Tue, Nov 30, 2010 at 12:44 PM, Andrew Wagner wrote: > A weird idea just popped into my head: > > class Object > def each > yield self > end > end > > Lets you enumerate without having to worry about whether or not you have a > collection. Thoughts? Hidden ramifications? > Ugh, did I just say collection? I thought my .Net days were behind me....I meant, of course, an enumerable... --001636c5bd5f132e13049648c108--