Class: Throne::ArrayWithFunctionMeta
- Inherits:
-
Array
- Object
- Array
- Throne::ArrayWithFunctionMeta
- Defined in:
- lib/throne/database.rb
Overview
Extended array, to store the couch extra data
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Offset field as returned by couch.
Instance Method Summary collapse
-
#initialize(array, offset) ⇒ ArrayWithFunctionMeta
constructor
A new instance of ArrayWithFunctionMeta.
Constructor Details
#initialize(array, offset) ⇒ ArrayWithFunctionMeta
Returns a new instance of ArrayWithFunctionMeta.
134 135 136 137 |
# File 'lib/throne/database.rb', line 134 def initialize(array, offset) @offset = offset super(array) end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Offset field as returned by couch
132 133 134 |
# File 'lib/throne/database.rb', line 132 def offset @offset end |