polyrex-objects 0.6.2 → 0.6.3

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.
Files changed (2) hide show
  1. data/lib/polyrex-objects.rb +1 -1
  2. metadata +2 -2
@@ -32,7 +32,7 @@ class PolyrexObjects
32
32
  classx << "def #{field}; @node.element('summary/#{field}/text()'); end"
33
33
  classx << "def #{field}=(text); @node.element('summary/#{field}').text = text; end"
34
34
  end
35
- classx << "def to_xml(); @node.to_s; end"
35
+ classx << "def to_xml(); @node.xml; end"
36
36
  classx << "def with(); yield(self); end"
37
37
  classx << "end"
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
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-25 00:00:00 +00:00
12
+ date: 2011-01-22 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency