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

(PUP-4438) Add required_repeated_param to 4.x function API #3849

Merged

Conversation

thallgren
Copy link
Contributor

Adds the ability to declare a repeated parameter as being required
using the method required_repeated_parameter with the meaning that
at least one argument must be passed to it.

For consistency, this commit also adds an optional_repeated_parameter
alias for the already existing repeated_parameter method.

Adds the ability to declare a repeated parameter as being required
using the method `required_repeated_parameter` with the meaning that
at least one argument must be passed to it.

For consistency, this commit also adds an `optional_repeated_parameter`
alias for the already existing `repeated_parameter` method.
@puppetcla
Copy link

CLA signed by all contributors.

hlindberg added a commit that referenced this pull request Apr 20, 2015
…epeated_param

(PUP-4438) Add required_repeated_param to 4.x function API
@hlindberg hlindberg merged commit c55b69a into puppetlabs:3.x Apr 20, 2015
@thallgren thallgren deleted the issue/pup-4438/add_required_repeated_param branch July 7, 2015 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants