Class: Chewy::Query::Nodes::Raw

Inherits:
Expr show all
Defined in:
lib/chewy/query/nodes/raw.rb

Instance Method Summary collapse

Methods inherited from Expr

#!, #&, #|, #~

Methods inherited from Base

#eql?, #render

Constructor Details

#initialize(raw) ⇒ Raw

Returns a new instance of Raw.



5
6
7
# File 'lib/chewy/query/nodes/raw.rb', line 5

def initialize(raw)
  @raw = raw
end

Instance Method Details

#__render__Object



9
10
11
# File 'lib/chewy/query/nodes/raw.rb', line 9

def __render__
  @raw
end