From: "Jan E." Date: 2012-05-18T07:36:06+09:00 Subject: Re: why is else without rescue useless with statement modifiers? Note that the "sane" variable again doesn't make sense, because you're aren't using it. Leave it out: def sane? if "a" == "a" then "true" else "false" end end You might also use the ternary operator: def sane? "a" == "a" ? "true" : "false" end or directly return the result of the comparison: def sane? "a" == "a" end This will, however, return a boolean instead of a string. -- Posted via http://www.ruby-forum.com/.