A
Andrew Wagner
[Note: parts of this message were removed to make it a legal post.]
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?
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?