rexle 0.5.18 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rexle.rb +1 -0
- metadata +1 -1
data/lib/rexle.rb
CHANGED
@@ -314,6 +314,7 @@ class Rexle
|
|
314
314
|
def delete(xpath) @doc.element(xpath).delete end
|
315
315
|
def element(xpath) @doc.element(xpath) end
|
316
316
|
def text(xpath) @doc.text(xpath) end
|
317
|
+
def to_s() self.xml end
|
317
318
|
def root() @doc end
|
318
319
|
def write() "<?xml version='1.0' encoding='UTF-8'?>\n" + xml end
|
319
320
|
def xml()
|