# Get particular thing from #\<Net::HTTP google.com:80 open=tru

**URL:** <https://www.ruby-forum.com/t/get-particular-thing-from-net-http-google-com-80-open-tru/194779>\
**Category:** Ruby\
**Created:** [September 10, 2010, 1:12pm UTC](https://www.ruby-forum.com/t/get-particular-thing-from-net-http-google-com-80-open-tru/194779 "2010-09-10T13:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [September 10, 2010, 1:12pm UTC](https://www.ruby-forum.com/t/get-particular-thing-from-net-http-google-com-80-open-tru/194779/1 "2010-09-10T13:12:37Z")

</div>

hi,

#\<Net::HTTP [google.com:80](http://google.com:80) open=true\>

I get this by using

p http

now i want to get “[google.com](http://google.com)” from it how can i get?

Thanks,

---

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [September 10, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/get-particular-thing-from-net-http-google-com-80-open-tru/194779/2 "2010-09-10T16:19:53Z")

</div>

Read /usr/lib/ruby/1.8/net/http.rb (or wherever it is on your system),  
it has examples at the top.
