Forum: Ruby roxml undefined method <<

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
inriz (Guest)
on 2009-02-27 17:29
(Received via mailing list)

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
Justin C. (Guest)
on 2009-02-27 23:13
(Received via mailing list)
inriz wrote:
> Thanks for help.
> Best regards
> inriz

Could you post the actual error message?

Ben W. (Guest)
on 2009-03-03 08: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 (
rdoc/) should work as of 2.5.1.

This topic is locked and can not be replied to.