Hi,
Is there a reason why Array#clear method have not a exclamation mark (!)
at the end? Just like Array#map! because the object is altered (so it's
called a dangerous method). In my opinion, Array#clear is an as
dangerous one that alters its object, and it may be used with the
exclamation mark...
What do you think about? Thanks for your comments.
···
--
Posted via http://www.ruby-forum.com/.