polyrex-objects 0.4.3 → 0.4.4

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 -3
  2. metadata +1 -1
@@ -49,9 +49,7 @@ class PolyrexObjects
49
49
  @create
50
50
  end
51
51
 
52
- def #{@class_names[i]}()
53
- #{@class_names[i]}.new(XPath.first(@node, 'records/*[1]'))
54
- end
52
+ alias #{@class_names[i].downcase} records
55
53
 
56
54
  }"
57
55
  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.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors: []
7
7