From 162792206063ed957aadfb529a6598382634c919 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Sun, 2 Oct 2011 21:03:36 -0300 Subject: [PATCH] `unless` is useful outside of single-line statements --- documentation/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/index.html.erb b/documentation/index.html.erb index d63ec172..5224b1c2 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -628,7 +628,7 @@ Expressions are the same as boolean true, while off and no are boolean false.

- For single-line statements, unless can be used as the inverse of if. + unless can be used as the inverse of if.

As a shortcut for this.property, you can use @property.