fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c109d8ab9f
commit
14605ab0ad
@ -162,7 +162,7 @@ class Resolv
|
|||||||
class ResolvTimeout < TimeoutError; end
|
class ResolvTimeout < TimeoutError; end
|
||||||
|
|
||||||
##
|
##
|
||||||
# DNS::Hosts is a hostname resolver that uses the system hosts file.
|
# Resolv::Hosts is a hostname resolver that uses the system hosts file.
|
||||||
|
|
||||||
class Hosts
|
class Hosts
|
||||||
if /mswin32|mingw|bccwin/ =~ RUBY_PLATFORM
|
if /mswin32|mingw|bccwin/ =~ RUBY_PLATFORM
|
||||||
@ -173,7 +173,7 @@ class Resolv
|
|||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# Creates a new DNS::Hosts, using +filename+ for its data source.
|
# Creates a new Resolv::Hosts, using +filename+ for its data source.
|
||||||
|
|
||||||
def initialize(filename = DefaultFileName)
|
def initialize(filename = DefaultFileName)
|
||||||
@filename = filename
|
@filename = filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user