Forum: Ruby roxml undefined method <<

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Caa030754d81617fb902896d5d975b38?d=identicon&s=25 inriz (Guest)
on 2009-02-27 16:29
(Received via mailing list)
Hello,

currently i'm trying out the newest version of roxml 2.5.0.
The first example in the readme file with library and book
doesn't work. The error message is undefined method <<
which occurs in the line
lib << book

Is this example an old one and not compatible with the 2.5.0 version?

Thanks for help.

Best regards
inriz
6e366eb5a71be2bad7f383d42aeb4788?d=identicon&s=25 Justin Collins (Guest)
on 2009-02-27 22:13
(Received via mailing list)
inriz wrote:
> Thanks for help.
>
> Best regards
> inriz
>
>

Could you post the actual error message?

-Justin
B4493ae064e6e2841f376fd1dc12b7ba?d=identicon&s=25 Ben Woosley (empact)
on 2009-03-03 07:35
(Received via mailing list)
Hey inriz,

Yes, the example was (very) old.  But I've since update it - I made a
corresponding example & spec in examples/library.rb & spec/examples/
library_spec.rb - and the new example (http://roxml.rubyforge.org/
rdoc/) should work as of 2.5.1.

-Ben
This topic is locked and can not be replied to.