RubyGems.org

attr_symbol

0.0.1

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 -v 0.0.1
Authors

Justin Wienckowski

9,115 total downloads 1,802 for this version
Owners

C4daa3738cb17c16135b1ea1ac81286c

Gemfile
gem 'attr_symbol', '~> 0.0.1'
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)
Development Dependencies
  1. activerecord >= 0
  2. shoulda >= 0