just use alias
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user