Resolv::DNS::Label::Str (Class)

In: resolv.rb
Parent: Object

Methods

==   eql?   hash   inspect   new   to_s  

Attributes

downcase  [R] 
string  [R] 

Public Class methods

[Source]

# File resolv.rb, line 926
        def initialize(string)
          @string = string
          @downcase = string.downcase
        end

Public Instance methods

[Source]

# File resolv.rb, line 940
        def ==(other)
          return @downcase == other.downcase
        end

[Source]

# File resolv.rb, line 944
        def eql?(other)
          return self == other
        end

[Source]

# File resolv.rb, line 948
        def hash
          return @downcase.hash
        end

[Source]

# File resolv.rb, line 936
        def inspect
          return "#<#{self.class} #{self.to_s}>"
        end

[Source]

# File resolv.rb, line 932
        def to_s
          return @string
        end

[Validate]