Permalink
Browse files

Rename for consistency.

  • Loading branch information...
1 parent dc77fcb commit 0e7c68b8d658130874ba69dad88c31e4a0707dce @weppos committed Sep 18, 2012
@@ -8,7 +8,7 @@
require 'whois/record/parser/base'
-require 'whois/record/scanners/afilias'
+require 'whois/record/scanners/base_afilias'
module Whois
@@ -8,7 +8,7 @@
require 'whois/record/parser/base'
-require 'whois/record/scanners/whoisd.rb'
+require 'whois/record/scanners/base_whoisd.rb'
module Whois
@@ -116,7 +116,7 @@ class BaseWhoisd < Base
#
# @return [Hash]
def parse
- Scanners::Whoisd.new(content_for_scanner).parse
+ Scanners::BaseWhoisd.new(content_for_scanner).parse
end
@@ -14,7 +14,7 @@ module Whois
class Record
module Scanners
- # Scanner for the Afilias record.
+ # Scanner for the Afilias-based records.
class BaseAfilias < Base
self.tokenizers += [
@@ -14,8 +14,8 @@ module Whois
class Record
module Scanners
- # Scanner for Whoisd-based record.
- class Whoisd < Base
+ # Scanner for Whoisd-based records.
+ class BaseWhoisd < Base
self.tokenizers += [
:scan_available,

0 comments on commit 0e7c68b

Please sign in to comment.