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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

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

Runtime Abhängigkeiten (1):

boolean_class ~> 0.0

Development Abhängigkeiten (5):

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

Besitzer:

Autoren:

  • Leo Gallucci

SHA 256-Prüfsumme:

2eca0abb49e164b368e1e10b3016471a76238b0054840b9040359cef71f74c86

Downloads insgesamt 6.464

Für diese Version 2.628

Lizenz:

MIT

Erforderliche Ruby-Version: >= 1.9.3

Required Rubygems Version: >= 1.8.11

Links: