polyrex-objects 0.1.4 → 0.1.5

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/polyrex-objects.rb +1 -0
  2. metadata +1 -1
@@ -20,6 +20,7 @@ class PolyrexObjects
20
20
 
21
21
  classx = []
22
22
  classx << "class #{name.capitalize}"
23
+ classx << "include REXML"
23
24
  classx << "def initialize(node); @node = node; end"
24
25
  fields.each do |field|
25
26
  classx << "def #{field}; XPath.first(@node, 'summary/#{field}/text()'); end"
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.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors: []
7
7