RubyGems Navigation menu

typed_accessors 0.3.0

Typed accessors creates a set of accessors with a predefined typed. Often when dealing with webservices all the data comes back as strings, but you really want to be working with these things as numbers or dates. Manually converting them is duplication, and can be error prone.

Gemfile
          gem 'typed_accessors', '~> 0.3.0'
  
  
  
  
  
  
  

install
          gem install typed_accessors
  
  
  
  
  
  
  

Authors:

  • Sean Dague

Owners:

Total downloads 3,964

For this version 1,396

Required Ruby Version: None

Links:

Versions:

  1. 0.3.0 - March 9, 2010 (15.5 KB)
  2. 0.2 - March 29, 2009 (11.5 KB)
  3. 0.1 - March 26, 2009 (6 KB)