On Jul 7, 2007, at 11:21 PM, Sharon Phillips wrote:
> Do you mean something like this (example below)?
> What you should be aware of is that Ruby doesn't require you to  
> cast objects to a particular type in order to call a method. You  
> may have a number of objects of completely different classes in  
> your collection, and as long as they all respond to the method  
> you're interested in then you can iterate through and call that  
> method (duck typing). This makes interfaces redundant and is a  
> fantastically useful feature.
<snip>

Not quite. What I mean is is there a way to make Ruby actually modify  
the code?

~ Ari
English is like a pseudo-random number generator - there are a  
bajillion rules to it, but nobody cares.