change class overview proper position

master
Kanezoh 2021-11-18 14:03:37 +09:00
parent 7f8d508c00
commit 6865409068
3 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,8 @@
require "./page" require "./page"
# This class represents the history of http response you sent.
# If you send a request, mechanize saves the history.
class Mechanize class Mechanize
# This class represents the history of http response you sent.
# If you send a request, mechanize saves the history.
class History class History
# max page size history can save. default is 100. # max page size history can save. default is 100.
# as same as `agent.max_history`. # as same as `agent.max_history`.

View File

@ -5,6 +5,7 @@ require "../history"
class Mechanize class Mechanize
module HTTP module HTTP
# This class handles web interation mechanize made.
class Agent class Agent
property request_headers : ::HTTP::Headers property request_headers : ::HTTP::Headers
property context : Mechanize? property context : Mechanize?

View File

@ -2,10 +2,10 @@ require "./file"
require "./utils/element_matcher" require "./utils/element_matcher"
require "./page/link" require "./page/link"
# This class represents the result of http response.
# If you send a request, it returns the instance of `Mechanize::Page`.
# You can get status code, title, and page body, and search html node using css selector from page instance.
class Mechanize class Mechanize
# This class represents the result of http response.
# If you send a request, it returns the instance of `Mechanize::Page`.
# You can get status code, title, and page body, and search html node using css selector from page instance.
class Page < Mechanize::File class Page < Mechanize::File
include Mechanize::ElementMatcher include Mechanize::ElementMatcher