polyrex-objects 0.3.1 → 0.3.2

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 -1
  2. metadata +1 -1
@@ -36,7 +36,7 @@ class PolyrexObjects
36
36
  # implement the child_object within each class object
37
37
  @class_names[0..-2].reverse.each_with_index do |class_name, k|
38
38
  i = @class_names.length - (k + 1)
39
- eval "#{@class_name}.class_eval {
39
+ eval "#{class_name}.class_eval {
40
40
  def records()
41
41
  XPath.each(@node, 'records/*') {|record| yield(#{@class_names[i]}.new(record))}
42
42
  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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors: []
7
7