Class: Couchbase::Bucket::ViewMetaData
- Inherits:
-
Object
- Object
- Couchbase::Bucket::ViewMetaData
- Defined in:
- lib/couchbase/view_options.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize {|self| ... } ⇒ ViewMetaData
constructor
A new instance of ViewMetaData.
Constructor Details
#initialize {|self| ... } ⇒ ViewMetaData
Returns a new instance of ViewMetaData.
47 48 49 |
# File 'lib/couchbase/view_options.rb', line 47 def initialize yield self if block_given? end |
Instance Attribute Details
#total_rows ⇒ Integer
37 38 39 |
# File 'lib/couchbase/view_options.rb', line 37 def total_rows @total_rows end |
Instance Method Details
#debug ⇒ Object
[View source]
42 43 44 |
# File 'lib/couchbase/view_options.rb', line 42 def debug JSON.parse(@debug_info) end |