# File lib/couchrest/mixins/properties.rb, line 29 def self.included(base) base.class_eval "extlib_inheritable_accessor(:properties) unless self.respond_to?(:properties)\nself.properties ||= []\n", __FILE__, __LINE__ base.extend(ClassMethods) raise CouchRest::Mixins::Properties::IncludeError, "You can only mixin Properties in a class responding to [] and []=, if you tried to mixin CastedModel, make sure your class inherits from Hash or responds to the proper methods" unless (base.new.respond_to?(:[]) && base.new.respond_to?(:[]=)) end