I am reading stuff about functional programming in ruby.

what i do more lately is this:

var = <condition> ? "val1" : "val2:

instead of:
<condition> ? var="val1" : var="val2"

is the first line also an example of functional programming?
-- 
Posted via http://www.ruby-forum.com/.