RubyGems Navigation menu

constructable 0.2.4

Adds the class macro Class#constructable to easily define what attributes a Class accepts provided as a hash to Class#new. Attributes can be configured in their behaviour in case they are not provided or are in the wrong format. Their default value can also be defined and you have granular control on how accessible your attribute is. See the documentation for Constructable::Constructable#constructable or the README for more information.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.4.0 - July 09, 2011 (10.5 KB)
  2. 0.3.4 - June 18, 2011 (11 KB)
  3. 0.3.3 - June 18, 2011 (11.5 KB)
  4. 0.3.2 - June 17, 2011 (11 KB)
  5. 0.3.1 - June 15, 2011 (10 KB)
  6. 0.2.4 - June 12, 2011 (9.5 KB)
Show all versions (13 total)

Development Dependencies (4):

bundler ~> 1.0.0
jeweler ~> 1.6.0
simplecov >= 0
yard >= 0

Owners:

Authors:

  • Manuel Korfmann

SHA 256 checksum:

7516ef989d7e46c2834b10002da19d0e4d963ea0e197e477d7d0e63b9ea9b9fb

Total downloads 49,961

For this version 3,735

Licenses:

N/A

Required Ruby Version: None

Links: