This bug never got me, but it is a good little ruby best practice to follow. So remember when ever using ruby collections use .length call not the .size call… Why use length on all ruby collections.
blog comments powered by Disqus
07 September 2007
This bug never got me, but it is a good little ruby best practice to follow. So remember when ever using ruby collections use .length call not the .size call… Why use length on all ruby collections.