Monday, 16 July 2012

Fun with ruby arrays - update and insert

Here's a fun thing with ruby arrays - follow along in irb: using "..." and changing elements at the same time will update the first element specified and insert a new element after that element at the same time. fun :)

No comments:

Post a Comment