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.
11 12 13 |
# File 'lib/dizby/stream/query_ref.rb', line 11 def initialize(query) @query = query end |
Instance Method Details
#to_s
15 16 17 |
# File 'lib/dizby/stream/query_ref.rb', line 15 def to_s @query.to_s end |