to_dynarex results in Undefined method

code used

require 'requestor'
require 'dir-to-xml'

code = Requestor.read('http://rorbuilder.info/r/ruby') do |x| 
  x.require 'dynarex'
  x.require 'rexle'
end

eval code
dir2xml = DirToXML.new('.')
dir2xml.to_dynarex

error observed

Observed while running the above code in an irb1.9.1 session.
NoMethodError: undefined method `name' for "\n  ":String
    from (eval):501:in `block in summary_to_h'
    from (eval):500:in `each'
    from (eval):500:in `inject'
    from (eval):500:in `summary_to_h'
    from (eval):430:in `open'
    from (eval):37:in `initialize'
    from /var/lib/gems/1.9.1/gems/dir-to-xml-0.2.6/lib/dir-to-xml.rb:29:in `new'
    from /var/lib/gems/1.9.1/gems/dir-to-xml-0.2.6/lib/dir-to-xml.rb:29:in `to_dynarex'
    from (irb):11
    from /usr/bin/irb1.9.1:12:in `<main>'
Tags:
Source:
1613hrs.txt
Published:
25-07-2011 16:13