just use alias

This commit is contained in:
Aaron Patterson 2010-11-30 20:04:31 -08:00
parent 542cb5c327
commit 831a2342c6

@ -235,9 +235,7 @@ def https?
# Set the host name to use in the next request.
#
# session.host! "www.example.com"
def host!(name)
@host = name
end
alias :host! :host=
private
def _mock_session