From: Sam Duncan Date: 2010-12-14T08:08:51+09:00 Subject: Re: String or string It doesn't seem to mind if those are pre-assigned ... ruby-1.9.2-p0 > if "force" || "spells" ruby-1.9.2-p0 ?> puts "blah" ruby-1.9.2-p0 ?> end (irb):3: warning: string literal in condition (irb):3: warning: string literal in condition blah => nil ruby-1.9.2-p0 > f = "force" => "force" ruby-1.9.2-p0 > s = "spells" => "spells" ruby-1.9.2-p0 > if f || s ruby-1.9.2-p0 ?> puts "blah" ruby-1.9.2-p0 ?> end blah => nil On 14/12/10 11:53, Garrison Taylor wrote: > "force" || "spells" >