Ruby: How to evalulate multiple methods per send command?

Posted by Dourian on Stack Overflow See other posts from Stack Overflow or by Dourian
Published on 2009-09-28T01:49:56Z Indexed on 2010/06/03 11:04 UTC
Read the original article Hit count: 128

Filed under:
|

Let's say I have an XML::Element...I want to do something like:

my_xml_element.send("parent.next_sibling.next_sibling")

© Stack Overflow or respective owner

Related posts about ruby

Related posts about metaprogramming