Class: Dizby::QueryRef

Inherits:
Object
  • Object
show all
Defined in:
lib/dizby/stream/query_ref.rb

Overview

Acts as an array or hash index to a remote object

Instance Method Summary collapse

Constructor Details

#initialize(query) ⇒ QueryRef

Returns a new instance of QueryRef.


5
6
7
# File 'lib/dizby/stream/query_ref.rb', line 5

def initialize(query)
  @query = query
end

Instance Method Details

#to_s


9
10
11
# File 'lib/dizby/stream/query_ref.rb', line 9

def to_s
  @query.to_s
end