class X::Syntax::UnlessElse does X::Syntax { }
Syntax error thrown when an unless
clause is followed by an else
clause.
For example
unless 1 { } else { };
dies with
===SORRY!=== "unless" does not take "else", please rewrite using "if"
Compilation error due to an unless
clause followed by else
class X::Syntax::UnlessElse does X::Syntax { }
Syntax error thrown when an unless
clause is followed by an else
clause.
For example
unless 1 { } else { };
dies with
===SORRY!=== "unless" does not take "else", please rewrite using "if"