Class: Resolv::DNS::Label::Str
    Do not use.  This class is for internal use only.
  
| Relationships & Source Files | |
| Inherits: | Object | 
| Defined in: | lib/resolv.rb | 
Class Method Summary
- .new(string) ⇒ Str constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
    .new(string)  ⇒ Str 
  
Instance Attribute Details
#downcase (readonly)
[ GitHub ]# File 'lib/resolv.rb', line 1205
attr_reader :string, :downcase
#string (readonly)
[ GitHub ]# File 'lib/resolv.rb', line 1205
attr_reader :string, :downcase
Instance Method Details
#==(other)
[ GitHub ]# File 'lib/resolv.rb', line 1215
def ==(other) return self.class == other.class && @downcase == other.downcase end
    #eql?(other)  ⇒ Boolean 
  
# File 'lib/resolv.rb', line 1219
def eql?(other) return self == other end
#hash
[ GitHub ]# File 'lib/resolv.rb', line 1223
def hash return @downcase.hash end
#inspect
[ GitHub ]# File 'lib/resolv.rb', line 1211
def inspect return "#<#{self.class} #{self}>" end
#to_s
[ GitHub ]# File 'lib/resolv.rb', line 1207
def to_s return @string end