class Saxophone::SAXConfig::AttributeConfig
Public Instance Methods
attrs_match?(attrs)
click to toggle source
# File lib/saxophone/config/sax_attribute.rb, line 8 def attrs_match?(attrs) attrs.key?(@name) || attrs.value?(@name) end
Also aliased as: has_value_and_attrs_match?
collection?()
click to toggle source
# File lib/saxophone/config/sax_attribute.rb, line 13 def collection? false end
value_from_attrs(attrs)
click to toggle source
# File lib/saxophone/config/sax_attribute.rb, line 4 def value_from_attrs(attrs) attrs.fetch(@name, nil) end