rexle 0.6.1 → 0.6.2
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
@@ -109,7 +109,7 @@ class Rexle
|
|
109
109
|
rlist << return_elements.map.with_index do |x,i|
|
110
110
|
rtn_element = filter(x, i+1, attr_search){|e| r = e.xpath(a_path.join('/'), &blk); (r || e) }
|
111
111
|
next if rtn_element.nil? or (rtn_element.is_a? Array and rtn_element.empty?)
|
112
|
-
|
112
|
+
|
113
113
|
if rtn_element.is_a? Array then
|
114
114
|
rtn_element
|
115
115
|
elsif (rtn_element.is_a? String) || (rtn_element.is_a?(Array) and not(rtn_element[0].is_a? String))
|