jakehow (owner)

Revisions

gist: 76417 Download_button fork
public
Public Clone URL: git://gist.github.com/76417.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
>> class Blah < CouchRest::ExtendedDocument
>> property :myval
>> property :trueval
>> def myval=(val)
>> self.trueval = val
>> end
>> end
=> nil
>> b = Blah.new(:myval => 10)
=> {"couchrest-type"=>"Blah", "myval"=>10}