Alias `to_s` to `to_xml`
Currently Oga will render the Object signature when coerced into a String (think File#write
or puts
). Would it be possible to create a to_s
method that is an alias for to_xml
?
> puts oga_page
#<Oga::XML::Document:0x00007fde87b5e7b8>