Started on the ExtendedDocument class with features moved to mixins.

Properties got added, they define getters, setters and aliases.
They will also be the base of the new validation system.
This commit is contained in:
Matt Aimonetti 2009-01-29 18:25:45 -08:00 committed by Chris Anderson
parent 0c27fa6498
commit 83d7341553
12 changed files with 533 additions and 8 deletions

View file

@ -1,6 +1,6 @@
module CouchRest
class Response < Hash
def initialize keys = {}
def initialize(keys = {})
keys.each do |k,v|
self[k.to_s] = v
end