hi,
#<Net::HTTP google.com:80 open=true>
I get this by using
p http
now i want to get "google.com" from it how can i get?
Thanks,
···
--
Posted via http://www.ruby-forum.com/.
hi,
#<Net::HTTP google.com:80 open=true>
I get this by using
p http
now i want to get "google.com" from it how can i get?
Thanks,
--
Posted via http://www.ruby-forum.com/.
Read /usr/lib/ruby/1.8/net/http.rb (or wherever it is on your system),
it has examples at the top.
--
Posted via http://www.ruby-forum.com/.