Permalink
Browse files

change whois.co.ug parser so that available? always returns a boolean

  • Loading branch information...
1 parent f970a1b commit 5e6c9fe9a80eb725bf966d9e729f2b27ef5fecc7 @DerGuteMoritz DerGuteMoritz committed Sep 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/whois/answer/parser/whois.co.ug.rb
@@ -33,7 +33,7 @@ class WhoisCoUg < Base
end
property_supported :available? do
- @available ||= content_for_scanner =~ /No entries found for the selected source/
+ @available ||= !!(content_for_scanner =~ /No entries found for the selected source/)
end
property_supported :registered? do

0 comments on commit 5e6c9fe

Please sign in to comment.