Class: Chewy::Query::Nodes::Base
- Defined in:
- lib/chewy/query/nodes/base.rb
Instance Method Summary collapse
Instance Method Details
#eql?(other) ⇒ Boolean
9 10 11 12 13 |
# File 'lib/chewy/query/nodes/base.rb', line 9 def eql?(other) other.is_a?(self.class) && instance_variables.all? do |ivar| instance_variable_get(ivar).eql? other.instance_variable_get(ivar) end end |
#render ⇒ Object
5 6 7 |
# File 'lib/chewy/query/nodes/base.rb', line 5 def render raise NotImplementedError end |