Permalink
Browse files

reformatting README for github

  • Loading branch information...
chrislee35 committed Jul 16, 2011
1 parent 35d1e3c commit bd50a761455dbe26a159985b8f262c606ba096f1
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.rdoc
View
@@ -2,11 +2,11 @@
dnsbl-client queries DNS Blacklists for listings. Currently this only does IP lookups, but the next version will handle domains.
- require "dnsbl-client"
- c = DNSBL::Client.new
- c.lookup("203.150.14.85")
- => [#<struct DNSBL::DNSBLResult dnsbl="UCEPROTECT1", query="85.14.150.203.dnsbl-1.uceprotect.net", result="127.0.0.2", meaning="Blacklisted", timing=0.0247988700866699>, #<struct DNSBL::DNSBLResult dnsbl="BARRACUDA", query="85.14.150.203.b.barracudacentral.org", result="127.0.0.2", meaning="Listed", timing=0.0266849994659424>]
-
+ require "dnsbl-client"
+ c = DNSBL::Client.new
+ c.lookup("203.150.14.85")
+ => [#<struct DNSBL::DNSBLResult dnsbl="UCEPROTECT1", query="85.14.150.203.dnsbl-1.uceprotect.net", result="127.0.0.2", meaning="Blacklisted", timing=0.0247988700866699>, #<struct DNSBL::DNSBLResult dnsbl="BARRACUDA", query="85.14.150.203.b.barracudacentral.org", result="127.0.0.2", meaning="Listed", timing=0.0266849994659424>]
+
== Contributing to dnsbl-client
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet

0 comments on commit bd50a76

Please sign in to comment.