class HTTP::AuthRealm

Attributes

realm[R]
scheme[R]
uri[R]

Public Class Methods

new(scheme, uri, realm) click to toggle source
# File lib/mechanize/http/auth_realm.rb, line 7
def initialize scheme, uri, realm
  @scheme = scheme
  @uri    = uri
  @realm  = realm.downcase if realm
end

Public Instance Methods

==(other) click to toggle source
# File lib/mechanize/http/auth_realm.rb, line 13
def == other
  self.class === other and
    @scheme == other.scheme and
    @uri    == other.uri    and
    @realm  == other.realm
end
Also aliased as: eql?
eql?(other)
Alias for: ==