Class: XTF::Search::Element::Not

Inherits:
Clause show all
Defined in:
lib/xtf/search/element/not.rb

Constant Summary

Constants inherited from Clause

Clause::VALID_TAG_NAMES

Constants inherited from Base

Base::BASE_ATTRIBUTE_KEYS

Instance Attribute Summary

Attributes inherited from Clause

#content, #section_type, #term

Attributes inherited from Base

#tag_name

Instance Method Summary collapse

Methods inherited from Clause

create, #to_xml, #to_xml_node

Methods inherited from Base

attribute_keys, #attributes

Constructor Details

#initialize(*args) ⇒ Not

Returns a new instance of Not.



2
3
4
5
# File 'lib/xtf/search/element/not.rb', line 2

def initialize(*args)
  @tag_name = "not"
  super
end