I cannot tell from the rdoc for Open::URI what is returned when I do:
result = open(url)
The URL returns XML, but how do I see/parse the XML?
I cannot tell from the rdoc for Open::URI what is returned when I do:
result = open(url)
The URL returns XML, but how do I see/parse the XML?
Copyright © 2021 Jogjafile Inc.
open
returns an IO object. You can do something like:Note you can always determine what something is by asking for its class: