rexle 0.5.18 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rexle.rb +1 -0
  2. 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()
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.18
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors: []
7
7