On Sat, Apr 21, 2007 at 04:10:09AM +0900, ChrisKaelin wrote:
> - Why can't I use "ids.each" instead of "for id in ids"? Ok, this
> question has nothing to do with the code itself ;-)

ids.each do |id|
  ...
end

> - I know what "||=" does (evaluate assignment only, if the left part
> is false), but what do you call this?

Note that

a ||= b

is syntactic sugar for

a = a || b

My K&R C book just calls them "assignment operators", although C doesn't
have ||= (but it has *=, /=, %=, +=, -=, <<=. >>=, &=, ^=, |=)