rexle 0.5.15 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rexle.rb +2 -2
- metadata +2 -2
data/lib/rexle.rb
CHANGED
|
@@ -164,7 +164,7 @@ class Rexle
|
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
def element(s) self.xpath(s).first end
|
|
167
|
-
|
|
167
|
+
def root() self end
|
|
168
168
|
def text(s='')
|
|
169
169
|
s.empty? ? @value : self.xpath(s).first.value
|
|
170
170
|
end
|
|
@@ -372,4 +372,4 @@ class Rexle
|
|
|
372
372
|
[node.name, node.text.to_s, attributes, *children]
|
|
373
373
|
end
|
|
374
374
|
|
|
375
|
-
end
|
|
375
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rexle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors: []
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-11-
|
|
12
|
+
date: 2010-11-30 00:00:00 +00:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|