Class: XMLScan::XMLParser::AttributeChecker
- Inherits:
-
Hash
- Object
- Hash
- XMLScan::XMLParser::AttributeChecker
- Defined in:
- lib/xmlscan/parser.rb
Instance Method Summary collapse
-
#check_unique(name) ⇒ Object
AttributeChecker inherits Hash only for speed.
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 |