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:
= Copy to clipboard Copied!

install:
=

Versions:

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

Runtime Dependencies (1):

boolean_class ~> 0.0

Development Dependencies (5):

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

Owners:

Authors:

  • Leo Gallucci

SHA 256 checksum:

2eca0abb49e164b368e1e10b3016471a76238b0054840b9040359cef71f74c86

Total downloads 6,427

For this version 2,614

License:

MIT

Required Ruby Version: >= 1.9.3

Required Rubygems Version: >= 1.8.11

Links: