Method: Mechanize::HTTP::AuthRealm#==

Defined in:
lib/mechanize/http/auth_realm.rb

#==(other) ⇒ Object Also known as: eql?


14
15
16
17
18
19
# File 'lib/mechanize/http/auth_realm.rb', line 14

def == other
  self.class === other and
    @scheme == other.scheme and
    @uri    == other.uri    and
    @realm  == other.realm
end