RubyGems Navigation menu

constructable 0.3.1

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:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.4.0 - July 09, 2011 (10.5KB)
  2. 0.3.4 - June 18, 2011 (11KB)
  3. 0.3.3 - June 18, 2011 (11.5KB)
  4. 0.3.2 - June 17, 2011 (11KB)
  5. 0.3.1 - June 15, 2011 (10KB)
全てのバージョンを表示(全13件)

Development依存関係 (4):

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

所有者:

作者:

  • Manuel Korfmann

SHA 256チェックサム:

88a4fc48cc22398343529027330c5ab5e87055dbe0eb2127aefef1f938779a95

累計ダウンロード数 49,934

このバージョンのみ 3,753

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: