Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter declaration in templates #93

Open
gfx opened this issue Oct 30, 2013 · 0 comments
Open

Parameter declaration in templates #93

gfx opened this issue Oct 30, 2013 · 0 comments

Comments

@gfx
Copy link
Member

gfx commented Oct 30, 2013

like:

: param $foo; # foo is required
: param $bar default "ok" # $bar is optional, default to "ok"
: param $baz default my_func("baz"); # calling my_func() if $baz is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants