RubyGems Navigation menu

named-parameters 0.0.6

This gem simulates named-parameters in Ruby. It's a complement to the common Ruby idiom of using `Hash` args to emulate the use of named parameters. It does this by extending the language with a `has_named_parameters` clause that allows a class to declare the parameters that are acceptable to a method. The `has_named_parameters` dictates how the presence of these parameters are enforced and raises an `ArgumentError` when a method invocation is made that violates the rules for those parameters.

Gemfile:
=

installation:
=

Versions:

  1. 0.0.21 December 17, 2010 (23 ko)
  2. 0.0.20 December 12, 2010 (22 ko)
  3. 0.0.19 December 12, 2010 (21,5 ko)
  4. 0.0.18 December 10, 2010 (21 ko)
  5. 0.0.17 December 08, 2010 (21 ko)
  6. 0.0.6 November 13, 2010 (16,5 ko)
Voir toutes les versions (23)

Dépendances de Development (2):

rspec >= 1.2.9
yard >= 0

Propriétaires:

Auteurs:

  • Juris Galang

Total de contrôle SHA 256:

=

Total de téléchargements 97 231

Pour cette version 3 678

Version publiée:

License:

aucune

Version de Ruby requise: None

Liens: