RubyGems Navigation menu

quick_attr 0.0.1

usage: require 'quick_attr' class C extend QuickAttr quick_attr :name, :smell end #set attr by passing value c = C.new.name("bobaloba ding-dong").smell("fishy") #get attr by calling without args... puts c.name # bobaloba ding-dong puts c.smell # fishy

Gemfile
          gem 'quick_attr', '~> 0.0.1'
  
  
  
  
  
  
  

install
          gem install quick_attr -v 0.0.1
  
  
  
  
  
  
  

Authors:

  • Dominic Tarr

Owners:

Total downloads 5,006

For this version 1,234

Required Ruby Version: None

Links:

Versions:

  1. 0.0.4 - September 9, 2010 (5 KB)
  2. 0.0.3 - September 9, 2010 (5 KB)
  3. 0.0.2 - September 9, 2010 (4.5 KB)
  4. 0.0.1 - September 9, 2010 (4.5 KB)