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.

Versions:

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

Runtime Dependencies:

Authors:

  • Leo Gallucci

Owners:

D65593e3a584ff801c331e387964c69e

Total downloads 1,420

For this version 638

Required Ruby Version: None

Licenses:

MIT

Gemfile:
gem 'strongly_typed', '~> 0.0.1' = Copy to clipboard Copied!

install:
gem install strongly_typed -v 0.0.1 = Copy to clipboard Copied!

Links: