Calls the block once for each living, nonimmediate object in this Ruby
process. If module is specified, calls the block for only those
classes or modules that match (or are a subclass of) module.
Returns the number of objects found. Immediate objects
(Fixnums, Symbols true,
false, and nil) are never returned. In the
example below, each_object returns both the numbers we defined
and several constants defined in the Math module.