Module: CouchTomato::Persistence::Properties
- Defined in:
- lib/couch_tomato/persistence/properties.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/couch_tomato/persistence/properties.rb', line 7 def self.included(base) base.extend ClassMethods base.class_eval do def self.properties @properties ||= {} @properties[self.name] ||= [] end end end |