Illogical or
'Or' or something else.
In which we consider the difference between or and || in Ruby. The secret is ... it depends. On context.
Behold:
>> foo = nil or "foo" => "foo" >> bar = nil || "bar" => "bar"
That makes sense. But!:
def testor (&block) foo = block or "foo" bar = block || "bar" return foo, bar, block end >> testor() => [nil, "bar", nil]
Ruby, WTF?