method

new

v2_5_5 - Show latest stable - Class: Resolv::DNS::Label::Str
new(string)
public

No documentation available.

# File lib/resolv.rb, line 1207
        def initialize(string)
          @string = string
          # case insensivity of DNS labels doesn't apply non-ASCII characters. [RFC 4343]
          # This assumes @string is given in ASCII compatible encoding.
          @downcase = string.b.downcase
        end