# 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

new(string)

[Source]

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

## Public Instance methods

to_s()

[Source]

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

inspect()

[Source]

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

==(other)

[Source]

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

eql?(other)

[Source]

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

hash()

[Source]

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

[Validate]