In Files

  • resolv.rb

Parent

Resolv::DNS::Label::Str

Attributes

downcase[R]
string[R]

Public Class Methods

new(string) click to toggle source
 
               # File resolv.rb, line 982
def initialize(string)
  @string = string
  @downcase = string.downcase
end
            

Public Instance Methods

==(other) click to toggle source
 
               # File resolv.rb, line 996
def ==(other)
  return @downcase == other.downcase
end
            
eql?(other) click to toggle source
 
               # File resolv.rb, line 1000
def eql?(other)
  return self == other
end
            
hash() click to toggle source
 
               # File resolv.rb, line 1004
def hash
  return @downcase.hash
end
            
inspect() click to toggle source
 
               # File resolv.rb, line 992
def inspect
  return "#<#{self.class} #{self.to_s}>"
end
            
to_s() click to toggle source
 
               # File resolv.rb, line 988
def to_s
  return @string
end