Sha256: 53a3768ccb984f8cabde9e8f1578c294e0bfdded838cbcf471db3e3bb5e04c1a
Contents?: true
Size: 207 Bytes
Versions: 3
Compression:
Stored size: 207 Bytes
Contents
module XmlMapper class TextNode < Item def find(node, namespace, xpath_options) if node.children.any? {|c| c.text?} yield(node) else yield(nil) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xmlmapper-0.8.1 | lib/xmlmapper/text_node.rb |
xmlmapper-0.8.0 | lib/xmlmapper/text_node.rb |
xmlmapper-0.7.3 | lib/xmlmapper/text_node.rb |