URLS http://raa.ruby-lang.org/search.rhtml?search=traits http://codeforpeople.com/lib/ruby/traits ABOUT traits.rb is set of attr_* like methods on steroids, caffeine, and botox. it encourages better living through meta-programming and uniform access priciples. traits.rb supercedes attributes.rb. why? the name is shorter ;-) VERSION 0.6.0 HISTORY 0.6.0 - fixed bug in where a default trait given as an empty array, eg: class C; has 'a' => []; end was exploded into the empty list when passed to the setter to initialize the default value. 0.5.0 - general code cleanup 0.4.0 - tweaked writer code so multiple values can be passed to setters - tweaked method of running blocks to use instance_eval so explicit 'this' arg is no longer needed (though it can still be used) 0.3.0 added ability of default values to be specified with block for deferred context sensitive initialization (see sample/c.rb) 0.1.0 completely reworked impl so NO parsing of inspect strings is required - it's all straight methods (albeit quite confusing ones) now. the interface is unchanged. 0.0.0 initial version AUTHOR ara [dot] t [dot] howard [at] noaa [dot] gov SAMPLES @samples CAVEATS this library is experimental and subject to (eg. will) change - though it has not for several version and much of my code hinges is on it now so you can expect it to be stable-ish in the future - the only changes would be ones to fix bugs.