D
Daniel Berger
Hi,
As I was sitting here contemplating my navel lint yet again, I was
thinking to myself, "self, being able to call to_yaml on objects after
require'ing the yaml package is kinda cool". Then I thought to
myself, "Wouldn't it also be cool if I could call to_xml on objects
after require'ing the rexml package?".*
Yes, I'm aware of xmarshal, but wouldn't it be cool to have that
builtin and included as part of the stdlib? I think so, and this is
coming from a guy who isn't a big xml fan. I just thought it would be
convenient and might just make the lives easier for other folks and/or
packages, e.g. xml-rpc, soap, etc.
Just a thought.
Dan
* You'll note I left out 'self' in the second though because, hey,
this is Ruby, and 'self' can be explicit or implicit.
As I was sitting here contemplating my navel lint yet again, I was
thinking to myself, "self, being able to call to_yaml on objects after
require'ing the yaml package is kinda cool". Then I thought to
myself, "Wouldn't it also be cool if I could call to_xml on objects
after require'ing the rexml package?".*
Yes, I'm aware of xmarshal, but wouldn't it be cool to have that
builtin and included as part of the stdlib? I think so, and this is
coming from a guy who isn't a big xml fan. I just thought it would be
convenient and might just make the lives easier for other folks and/or
packages, e.g. xml-rpc, soap, etc.
Just a thought.
Dan
* You'll note I left out 'self' in the second though because, hey,
this is Ruby, and 'self' can be explicit or implicit.