Skip to content

Commit

Permalink
Ivar is just fine
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Apr 6, 2011
1 parent 836728a commit 49d6aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mechanize.rb
Expand Up @@ -243,7 +243,7 @@ def set_proxy(addr, port, user = nil, pass = nil)
# Set the user agent for the Mechanize object.
# See AGENT_ALIASES
def user_agent_alias=(al)
self.user_agent = AGENT_ALIASES[al] ||
@user_agent = AGENT_ALIASES[al] ||
raise(ArgumentError, "unknown agent alias")
end

Expand Down

0 comments on commit 49d6aeb

Please sign in to comment.