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

Other Useful Business Software
Papirfly: Best user-friendly DAM and Content Creation Software Icon
Papirfly: Best user-friendly DAM and Content Creation Software

The #1 solution to create and manage content. On‑brand. At scale.

Papirfly provides a single online destination for all your employees and other stakeholders who are engaging with your brand, ensuring consistency in all aspects of their communications. Teams can produce infinite studio-standard marketing materials from bespoke templates, store, share and adapt them for their own markets and stay firmly educated on the brand’s purpose, guidelines and evolution – with no specialist skills or agency help necessary.
Learn More
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