Permalink
Browse files

Ruby syntax

  • Loading branch information...
1 parent 7ac638d commit 568290ff86ee19ed403e834c1b6df49ce415d983 @weppos committed Dec 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -76,7 +76,7 @@ w.lookup("2001:db8::1428:57ab")
The query method is stateless. For this reason, you can safely re-use the same client instance for multiple queries.
-```
+```ruby
w = Whois::Client.new
w.lookup("google.com")
w.lookup(".com")
@@ -85,7 +85,7 @@ w.lookup("2001:db8::1428:57ab")
w.lookup("google.it")
```
-If you just need a WHOIS response and you don't care about a full control of the WHOIS client, the {Whois} module provides an all-in-one method called {Whois.whois}. This is the simplest way to send a WHOIS request.
+If you just need a WHOIS response and you don't care about a full control of the WHOIS client, the `Whois` module provides an all-in-one method called `Whois.whois`. This is the simplest way to send a WHOIS request.
```ruby
Whois.whois("google.com")

0 comments on commit 568290f

Please sign in to comment.