def method_missing(meth, *args)
      name, options = @all_views[meth.to_s]
      if name
        View.new(@bucket, @id, name, (args[0] || {}).merge(options))
      else
        super
      end
    end
def method_missing(meth, *args)
      name, options = @all_views[meth.to_s]
      if name
        View.new(@bucket, @id, name, (args[0] || {}).merge(options))
      else
        super
      end
    end
Initialize the design doc instance

 @since 1.2.1

 It takes reference to the bucket, data hash. It will define view
 methods if the data object looks like design document.

 @param [Couchbase::Bucket] bucket the reference to connection
 @param [Hash] data the data hash, which was built from JSON document
   representation