From: Tom Pollard Date: 2006-12-22T14:51:42+09:00 Subject: Re: Creating New Objects from REXML::Elements On Dec 21, 2006, at 1:40 AM, eddieroger wrote: > [...] when I try to push my new objects into an array, > the class identifies itself as an REXML::Element instead of a Movie. > [...] > irb tells me this: > irb(main):025:0> movies.class > => Array > irb(main):026:0> movies[1].class > => REXML::Element I've encountered precisely this same problem! I use REXML to pull values out of an XML document and into an object; but, instead of my objects, I end up with an Array of REXML::Element's. :-( TomP