1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):

qualify the access for Config constant.  [ruby-dev:28338]

* lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify
  ClassValue.  [ruby-dev:28338]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-02-20 00:15:36 +00:00
parent a6c936c15b
commit f816b8b167
4 changed files with 33 additions and 42 deletions

View file

@ -1810,8 +1810,9 @@ class Resolv
# IPv4 Address resource
class A < Resource
ClassHash[[TypeValue = 1, ClassValue = ClassValue]] = self # :nodoc:
TypeValue = 1
ClassValue = IN::ClassValue
ClassHash[[TypeValue, ClassValue]] = self # :nodoc:
##
# Creates a new A for +address+.
@ -1838,8 +1839,9 @@ class Resolv
# Well Known Service resource.
class WKS < Resource
ClassHash[[TypeValue = 11, ClassValue = ClassValue]] = self # :nodoc:
TypeValue = 11
ClassValue = IN::ClassValue
ClassHash[[TypeValue, ClassValue]] = self # :nodoc:
def initialize(address, protocol, bitmap)
@address = IPv4.create(address)
@ -1885,8 +1887,9 @@ class Resolv
# An IPv6 address record.
class AAAA < Resource
ClassHash[[TypeValue = 28, ClassValue = ClassValue]] = self # :nodoc:
TypeValue = 28
ClassValue = IN::ClassValue
ClassHash[[TypeValue, ClassValue]] = self # :nodoc:
##
# Creates a new AAAA for +address+.
@ -1916,8 +1919,9 @@ class Resolv
# available at.
class SRV < Resource
ClassHash[[TypeValue = 33, ClassValue = ClassValue]] = self # :nodoc:
TypeValue = 33
ClassValue = IN::ClassValue
ClassHash[[TypeValue, ClassValue]] = self # :nodoc:
# Create a SRV resource record.
#