Class: Dizby::QueryRef
- Inherits:
-
Object
- Object
- Dizby::QueryRef
- Defined in:
- lib/dizby/stream/query_ref.rb
Overview
Acts as an array or hash index to a remote object
Instance Method Summary collapse
-
#initialize(query) ⇒ QueryRef
constructor
A new instance of QueryRef.
- #to_s
Constructor Details
#initialize(query) ⇒ QueryRef
Returns a new instance of QueryRef.
7 8 9 |
# File 'lib/dizby/stream/query_ref.rb', line 7 def initialize(query) @query = query end |
Instance Method Details
#to_s
11 12 13 |
# File 'lib/dizby/stream/query_ref.rb', line 11 def to_s @query.to_s end |