Posts tagged as:

array


Quick Ruby Tip: The inject method is useful for aggregating data across a dataset. For example a summation could be done with inject (by aggregating each number into the sum.)
Download 49.1 MB
Download (iphone & ipod) 7.6 MB

{ 16 comments }


Ruby uses special characters to define certain data types. If you wish to use these characters in your data types, you need to escape them or use percent functions.

Percent functions are much simpler.
Download 35.8 MB
Download (iphone & ipod) 14.7 MB

{ 5 comments }