# Chattr Gem released (new, 0.9.0)

**URL:** <https://www.ruby-forum.com/t/chattr-gem-released-new-0-9-0/87497>\
**Category:** Ruby\
**Created:** [March 3, 2007, 12:50am UTC](https://www.ruby-forum.com/t/chattr-gem-released-new-0-9-0/87497 "2007-03-03T00:50:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clifford\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/49beb7/32.png) [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Post date:** [March 3, 2007, 12:50am UTC](https://www.ruby-forum.com/t/chattr-gem-released-new-0-9-0/87497/1 "2007-03-03T00:50:53Z")

</div>

Folk,

My new baby gem, Chattr has just been released to Rubyforge,  
and should be available in the gem repository shortly. The  
release notes follow. Thanks go to Why, for discovering the  
“method as superclass” technique as used in Camping, which  
stimulated me to explore this area, and to David Black, who  
suggested the name and helped me solve a meta-programming  
problem.

Clifford H…

"Welcome to the first release of Chattr, the Checked Attributes  
gem, version 0.9.0. This gem defines three methods which you  
can use as improvements to attr\_accessor and friends. They  
support class-checking and block-based type checking for  
single-valued attributes and for array attributes. The third  
method, Array(), creates a subclass of Array which you can use  
through array\_attr, or directly as a superclass for your own  
class. They will help you catch bugs in your programs sooner.

The release is thoroughly tested using RSpec and documented using  
RDoc. It’s still not a 1.0 release because it lacks the ability  
to globally enable and disable type checking, which you might want  
to do for performance reasons.  
"
