RubyGems Navigation menu

strongly_typed 0.0.1

A simple type validation tool for plain ruby object attributes that performs conversions when possible. Similar to ruby-core Struct but i didn't like using inheritance for something more appropriate for mixins. Check virtus gem if you are looking for a full featured attributes settings for your Ruby Objects that requires complex automatic coercions among other things. If you are looking for a nestable, coercible, Hash-like data structure take a look at structure gem.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.0.2 - February 27, 2013 (11.5 KB)
  2. 0.0.1 - February 21, 2013 (10.0 KB)

Runtime 相依性套件 (1):

boolean_class ~> 0.0

Development 相依性套件 (5):

rake ~> 10.0
redcarpet ~> 2.2
rspec ~> 2.12
simplecov ~> 0.7
yard ~> 0.8

擁有者:

作者:

  • Leo Gallucci

SHA 256 checksum:

2eca0abb49e164b368e1e10b3016471a76238b0054840b9040359cef71f74c86

總下載次數 6,469

這個版本 2,630

License:

MIT

Ruby 版本需求: >= 1.9.3

RubyGems 版本需求: >= 1.8.11

相關連結: