Class: XTF::Search::Element::OrNear
- Defined in:
- lib/xtf/search/element/or_near.rb
Overview
Extends Near, as they are identical except for tag_name
Constant Summary
Constants inherited from Clause
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Clause
#content, #section_type, #term
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args) ⇒ OrNear
constructor
slopis required.
Methods inherited from Clause
Methods inherited from Base
Constructor Details
#initialize(*args) ⇒ OrNear
slop is required. You can pass it in as the first argument or in the attributes Hash with the key :slop.
7 8 9 10 |
# File 'lib/xtf/search/element/or_near.rb', line 7 def initialize(*args) @tag_name = "orNear" super end |