Module: CouchRest::Mixins::Properties::ClassMethods
- Defined in:
- lib/couchrest/mixins/properties.rb
Instance Method Summary collapse
Instance Method Details
#property(name, options = {}) ⇒ Object
72 73 74 |
# File 'lib/couchrest/mixins/properties.rb', line 72 def property(name, ={}) define_property(name, ) unless self.properties.map{|p| p.name}.include?(name.to_s) end |