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 校验和:

2eca0abb49e164b368e1e10b3016471a76238b0054840b9040359cef71f74c86

下载总量 6,473

这个版本 2,632

许可:

MIT

需要的 Ruby 版本: >= 1.9.3

需要的 RubyGems 版本: >= 1.8.11

链接: