ruhl 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README +9 -4
- data/VERSION +1 -1
- data/lib/ruhl.rb +0 -1
- data/ruhl.gemspec +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -70,10 +70,15 @@ _render_ - This is used in your layout and lets rule know where to inject
|
|
70
70
|
|
71
71
|
_partial - Path to a partial file. RuHL must be able to find/read this file.
|
72
72
|
|
73
|
-
_if - If the method returns
|
74
|
-
|
75
|
-
|
76
|
-
|
73
|
+
_if - If the method returns true, processing will continue.
|
74
|
+
If the method returns a value other than true, the inner_html
|
75
|
+
of the tag will be set to that value.
|
76
|
+
If the method returns false or nil, processing will halt and
|
77
|
+
the tag will not be included on output.
|
78
|
+
|
79
|
+
_unless - If the method returns true, processing will halt and the tag
|
80
|
+
will not included on output.
|
81
|
+
If the method returns false, processing will continue.
|
77
82
|
|
78
83
|
_collection - RuHL expects the method reference to return an array of objects.
|
79
84
|
RuHL will iteratate over the collection and render the contents
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.1
|
data/lib/ruhl.rb
CHANGED
data/ruhl.gemspec
CHANGED