Class: XMLScan::XMLParser::AttributeChecker

Inherits:
Hash
  • Object
show all
Defined in:
lib/xmlscan/parser.rb

Instance Method Summary collapse

Instance Method Details

#check_unique(name) ⇒ Object

AttributeChecker inherits Hash only for speed.



20
21
22
# File 'lib/xmlscan/parser.rb', line 20

def check_unique(name)
  not key? name and store(name, true)
end