Method: CouchDB::Design::ViewsProxy#initialize
- Defined in:
- lib/couchdb/design.rb
#initialize(design) ⇒ ViewsProxy
Returns a new instance of ViewsProxy.
43 44 45 46 |
# File 'lib/couchdb/design.rb', line 43 def initialize(design) @design = design @design["views"] = { } end |