Class: ShyCouch::Data::ViewResult::ViewResultRow
- Inherits:
-
Object
- Object
- ShyCouch::Data::ViewResult::ViewResultRow
- Defined in:
- lib/ShyCouch/data.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(value, id) ⇒ ViewResultRow
constructor
A new instance of ViewResultRow.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(value, id) ⇒ ViewResultRow
Returns a new instance of ViewResultRow.
351 352 353 354 |
# File 'lib/ShyCouch/data.rb', line 351 def initialize value, id @_id = id @value = value end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
350 351 352 |
# File 'lib/ShyCouch/data.rb', line 350 def id @id end |
Instance Method Details
#inspect ⇒ Object
358 359 360 |
# File 'lib/ShyCouch/data.rb', line 358 def inspect return @value end |
#to_s ⇒ Object
355 356 357 |
# File 'lib/ShyCouch/data.rb', line 355 def to_s return @value end |