rexle 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rexle.rb +1 -1
- metadata +1 -1
data/lib/rexle.rb
CHANGED
@@ -82,7 +82,7 @@ class Rexle
|
|
82
82
|
|
83
83
|
if xpath_value[0,2] == '//'
|
84
84
|
return_elements = scan_match(self, element_name, attr_search, condition, rlist)
|
85
|
-
return (
|
85
|
+
return (xpath_value[/text\(\)$/] ? return_elements.map(&:value) : return_elements)
|
86
86
|
end
|
87
87
|
|
88
88
|
return_elements = @child_lookup.map.with_index.select do |x|
|