# Roxml undefined method \<\<

**URL:** <https://www.ruby-forum.com/t/roxml-undefined-method/161580>\
**Category:** Ruby\
**Created:** [February 27, 2009, 4:29pm UTC](https://www.ruby-forum.com/t/roxml-undefined-method/161580 "2009-02-27T16:29:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![inriz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/50afbb/32.png) [@inriz](https://www.ruby-forum.com/u/inriz)\
**Post date:** [February 27, 2009, 4:29pm UTC](https://www.ruby-forum.com/t/roxml-undefined-method/161580/1 "2009-02-27T16:29:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![inriz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/50afbb/32.png) [@inriz](https://www.ruby-forum.com/u/inriz)\
**Post date:** [February 27, 2009, 10:13pm UTC](https://www.ruby-forum.com/t/roxml-undefined-method/161580/2 "2009-02-27T22:13:05Z")

</div>

inriz wrote:

> Thanks for help.
> 
> Best regards  
> inriz

Could you post the actual error message?

-Justin

---

<div class="post-metadata">

**Author:** ![inriz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/50afbb/32.png) [@inriz](https://www.ruby-forum.com/u/inriz)\
**Post date:** [March 3, 2009, 7:35am UTC](https://www.ruby-forum.com/t/roxml-undefined-method/161580/3 "2009-03-03T07:35:50Z")

</div>

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/](http://roxml.rubyforge.org/)  
rdoc/) should work as of 2.5.1.

-Ben
