Sha256: 173b286bad6132a42e49efda07dee1ab92b32b3a957c48f05910e93d28fe99ce
Contents?: true
Size: 537 Bytes
Versions: 24
Compression:
Stored size: 537 Bytes
Contents
class Mechanize::HTTP::AuthRealm attr_reader :scheme attr_reader :uri attr_reader :realm def initialize scheme, uri, realm @scheme = scheme @uri = uri @realm = realm.downcase if realm end def == other self.class === other and @scheme == other.scheme and @uri == other.uri and @realm == other.realm end alias eql? == def hash # :nodoc: [@scheme, @uri, @realm].hash end def inspect # :nodoc: "#<AuthRealm %s %p \"%s\">" % [@scheme, @uri, @realm] end end
Version data entries
24 entries across 24 versions & 4 rubygems