class HappyMapper::TextNode
Public Instance Methods
find(node, namespace, xpath_options) { |children.detect{|c| text?}| ... }
click to toggle source
# File lib/happymapper/text_node.rb, line 4 def find(node, namespace, xpath_options) yield(node.children.detect{|c| c.text?}) end