lib/aranha/parsers/html/node/default.rb in aranha-parsers-0.18.0 vs lib/aranha/parsers/html/node/default.rb in aranha-parsers-0.19.0
- old
+ new
@@ -8,14 +8,9 @@
module Html
module Node
class Default < ::Aranha::Parsers::Html::Node::Base
require_sub __FILE__, include_modules: true
- def array_value(node, xpath)
- r = node_set_value(node, xpath).map { |n| n.text.strip }
- r.join('|')
- end
-
def join_value(node, xpath)
m = ''
node_set_value(node, xpath).each do |n|
m << n.text.strip
end