Skip to content

Commit

Permalink
doc: update docstring for AGENT_ALIASES and remove todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
takatea committed Jan 13, 2024
1 parent 32c74ee commit 34ccbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mechanize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class Error < RuntimeError
#
# Windows User-Agent aliases:
#
# * "Windows Chrome"
# * "Windows Edge"
# * "Windows Firefox"
# * "Windows IE 6"
Expand All @@ -127,7 +128,6 @@ class Error < RuntimeError
# agent.user_agent_alias = 'Mac Safari'
#
AGENT_ALIASES = {
# TODO: use output from examples/latest_user_agents.rb as the underling data structure
'Mechanize' => "Mechanize/#{VERSION} Ruby/#{ruby_version} (http://github.com/sparklemotion/mechanize/)",

'Linux Firefox' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/121.0',
Expand Down

0 comments on commit 34ccbd6

Please sign in to comment.