RubyGems Navigation menu

constructable 0.3.0

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.5 KB)
  2. 0.3.4 - June 18, 2011 (11.0 KB)
  3. 0.3.3 - June 18, 2011 (11.5 KB)
  4. 0.3.2 - June 17, 2011 (11.0 KB)
  5. 0.3.1 - June 15, 2011 (10.0 KB)
  6. 0.3.0 - June 15, 2011 (10.0 KB)
顯示所有版本(共 13)

Development 相依性套件 (4):

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

擁有者:

作者:

  • Manuel Korfmann

SHA 256 checksum:

dea55464ee719237338be7e583abc9dc2e4ee98396f54a3101b4a98bbc92567c

總下載次數 50,112

這個版本 3,768

License:

Ruby 版本需求:

相關連結: