Closed mdom closed 6 years ago
_raw
was there for debugging (items because that's what my RSS reader was displaying), and it was documented because it was exposed to users when item was a hash.
I was about to rename it myself, but wanted to do that in a seperate commit.
Oh, sorry, did not want to tip on your toes! I just saw it and thougt fixing would be just as fast as adding an issue.
Sorry, I didn't mean to imply you we stepping on my toes, I meant to say that this sounds like a good idea because I was thinking along the same lines myself. I've added a commit to overload stringification with to_string, like other Mojo::* classes.
On Thu, Mar 29, 2018 at 04:22:29AM -0700, Dotan Dimet wrote:
Sorry, I didn't mean to imply you we stepping on my toes, I meant to say that this sounds like a good idea because I was thinking along the same lines myself.
No worries then! :)
I've added a commit to overload stringification with to_string, like other Mojo::* classes.
Cool!
I also made it to a function, to_string would be a weird name for an attribute. Or would you prefer to remove it all together?
Mojo::Feed
did not have an_raw
attribute.