Hi,

I was wandering why some ruby methods which replaces the contents of its  
variable doesn't follow the rules which say that when the method name  
has a "!" symbol at the end, it means that its contents will be replace  
in place. For example:

Array#replace instead of Array#replace!
Array#clear instead of Array#clear!
...

Is it because the name really mean what it mean? Maybe am I all wrong?

Thanks,



-- 
Posted with http://DevLists.com.  Sign up and save your time!