format code

This commit is contained in:
Kanezoh 2021-10-10 08:23:58 +09:00
parent 87a150ddf4
commit 8a78fce180

View File

@ -15,8 +15,8 @@ require "./mechanize/errors/*"
# # GET # # GET
# agent = Mechanize.new # agent = Mechanize.new
# agent.get("http://example.com", # agent.get("http://example.com",
# params: {"foo" => "bar"}, # params: {"foo" => "bar"},
# headers: HTTP::Headers{"Foo" => "Bar"}) # headers: HTTP::Headers{"Foo" => "Bar"})
# ``` # ```
# #
# ``` # ```
@ -24,7 +24,7 @@ require "./mechanize/errors/*"
# # sending post request whose post body is "foo=bar" # # sending post request whose post body is "foo=bar"
# agent = Mechanize.new # agent = Mechanize.new
# agent.post("http://example.com", # agent.post("http://example.com",
# query: {"foo" => "bar"}) # query: {"foo" => "bar"})
# ``` # ```
class Mechanize class Mechanize
VERSION = "0.2.0" VERSION = "0.2.0"