# File lib/chef/couchdb.rb, line 173 def list(view, inflate=false) validate( { :view => view, }, { :view => { :kind_of => String } } ) if inflate r = @rest.get_rest(view_uri(view, "all")) r["rows"].each { |i| i["value"].couchdb = self if i["value"].respond_to?(:couchdb=) } r else r = @rest.get_rest(view_uri(view, "all_id")) end r end