By including the NamedParameters module into your class/module the 'named_parameters' macro is available. Optional parameters with default values can be as easily defined as mandatory parameters. Your actual method definition does not change at all.

Project Activity

See All Activity >

Categories

Libraries

License

Creative Commons Attribution Non-Commercial License V2.0

Follow named_parameters

named_parameters Web Site

You Might Also Like
Workable Hiring Software - Hire The Best People, Fast Icon
Workable Hiring Software - Hire The Best People, Fast

Find the best candidates with the best recruitment software

Workable is the preferred software for today's recruiting industry and HR teams, trusted by over 6,000 companies to streamline their hiring processes. Finding the right person for the job has never been easier—users now possess the ability to manage multiple hiring pipelines at once, from posting a job to sourcing candidates. Workable is also seamlessly integrated between desktop and mobile, allowing admins full control and flexibility all in the ATS without needing additional software.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of named_parameters!

Additional Project Details

Intended Audience

Developers

Programming Language

Ruby

Related Categories

Ruby Libraries

Registered

2012-04-17