RubyGems.org

attr_symbol

0.0.4

Attributes marked with the attr_symbol method can be set using strings or symbols, but when accessed will always return symbols.

installgem install attr_symbol
Authors

Justin Wienckowski

9,216 total downloads 3,715 for this version
Owners

C4daa3738cb17c16135b1ea1ac81286c

Gemfile
gem 'attr_symbol', '~> 0.0.4'
Versions
  1. 0.0.4 January 27, 2011 (6.5 KB)
  2. 0.0.3 January 27, 2011 (6.5 KB)
  3. 0.0.2 January 27, 2011 (6.5 KB)
  4. 0.0.1 December 8, 2010 (6 KB)
Runtime Dependencies
  1. activerecord >= 2.3.5
Development Dependencies
  1. shoulda >= 2.11.3