|
Advanced Software Perspectives
|
It is a little hard to find about this operative using Google, but it turns out it provides a way to access a class static variable [i.e. @@variable] in Ruby on Rails. You can see an example of its usage in attachment_fu, but essentually it is just like attr_accessor - but for @@’s :-)
Discussion
No comments for “mattr_accessor”
Post a comment
You must be logged in to post a comment.