We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9194ede commit 4fd553dCopy full SHA for 4fd553d
docs/client-dsl/params.md
@@ -9,7 +9,7 @@ The param declaration has several options providing a default value, expected ty
9
Examples:
10
11
```ruby
12
-param :foo # declares that we must be provided with a parameter foo when the component is instantiated or re-rerendered.
+param :foo # declares that we must provide a parameter foo when the component is instantiated or re-rerendered.
13
param :foo => "some default" # declares that foo is optional, and if not present the value "some default" will be used.
14
param foo: "some default" # same as above using ruby 1.9 JSON style syntax
15
param :foo, default: "some default" # same as above but uses explicit default key
0 commit comments