Commit e32a0077 authored by Thong Kuah's avatar Thong Kuah

Explain what `view` does

We have an explanation for `explain` (by way of examples) but nothing to
say what view does.
parent c3389c80
......@@ -86,6 +86,9 @@ module Page
end
```
The `view` DSL method declares the filename of the view where an
`element` is implmented.
It is possible to use `element` DSL method without value, with a String value
or with a Regexp.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment