The difficulty isn't `unless(x) {}`, it's `{} unless(x)` and `{} if(x)`.
Except you also don't have the brackets to keep things organized.
Except you also don't have the brackets to keep things organized.
def save = File.write(name, self.to_yaml) unless invalid?
and you could also have def save = File.write(name, self.to_yaml) if valid?
If you had to bracket the expression that postfix if/unless applies to, it would be significantly easier to parse.