Class: Mechanize::CookieJar::FakeURI

Inherits:
Struct
  • Object
show all
Defined in:
lib/mechanize/cookie_jar.rb

Overview

add_cookie wants something resembling a URI.

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



9
10
11
# File 'lib/mechanize/cookie_jar.rb', line 9

def host
  @host
end