Bill's Reference

Ruby: Table Reference

 
item explanation  
:: like .    means "by way of"?  
@name an instance variable  
$name a global variable  
< inheritance (eg. Poodle inherits Dog...  
self "the object we are in now"  
mixin a combination of modules "mixed in" together.  birds all have feathers.  mammals all give live birth.  But some mammals and most birds can fly.  You need a "mixin".  
map as in array.map  array.map
inspect show each element of an array in "human readable" form.  array.inspect
yield invoke the code in a block