mechanize 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mechanize might be problematic. Click here for more details.
- data/EXAMPLES +55 -0
- data/README +3 -12
- data/lib/mechanize/cookie.rb +1 -2
- data/lib/mechanize/form.rb +182 -0
- data/lib/mechanize/form_elements.rb +105 -0
- data/lib/mechanize/page.rb +130 -0
- data/lib/mechanize/page_elements.rb +28 -0
- data/lib/mechanize.rb +27 -369
- data/test/htdocs/file_upload.html +13 -0
- data/test/htdocs/frame_test.html +23 -0
- data/test/server.rb +1 -0
- data/test/servlets.rb +6 -0
- data/test/tc_cookies.rb +2 -3
- data/test/tc_forms.rb +2 -3
- data/test/tc_frames.rb +22 -0
- data/test/tc_links.rb +2 -3
- data/test/tc_mech.rb +2 -3
- data/test/tc_response_code.rb +2 -3
- data/test/tc_upload.rb +34 -0
- data/test/test_includes.rb +5 -0
- data/test/ts_mech.rb +2 -0
- metadata +59 -307
- data/doc/classes/Net/HTTP/Copy.html +0 -134
- data/doc/classes/Net/HTTP/Delete.html +0 -134
- data/doc/classes/Net/HTTP/Get.html +0 -134
- data/doc/classes/Net/HTTP/Head.html +0 -134
- data/doc/classes/Net/HTTP/Lock.html +0 -134
- data/doc/classes/Net/HTTP/Mkcol.html +0 -134
- data/doc/classes/Net/HTTP/Move.html +0 -134
- data/doc/classes/Net/HTTP/Options.html +0 -134
- data/doc/classes/Net/HTTP/Post.html +0 -134
- data/doc/classes/Net/HTTP/Propfind.html +0 -134
- data/doc/classes/Net/HTTP/Proppatch.html +0 -134
- data/doc/classes/Net/HTTP/Put.html +0 -134
- data/doc/classes/Net/HTTP/Trace.html +0 -134
- data/doc/classes/Net/HTTP/Unlock.html +0 -134
- data/doc/classes/Net/HTTP.html +0 -1716
- data/doc/classes/Net/HTTP.src/M000103.html +0 -18
- data/doc/classes/Net/HTTP.src/M000104.html +0 -18
- data/doc/classes/Net/HTTP.src/M000105.html +0 -18
- data/doc/classes/Net/HTTP.src/M000106.html +0 -18
- data/doc/classes/Net/HTTP.src/M000107.html +0 -29
- data/doc/classes/Net/HTTP.src/M000108.html +0 -18
- data/doc/classes/Net/HTTP.src/M000109.html +0 -22
- data/doc/classes/Net/HTTP.src/M000110.html +0 -18
- data/doc/classes/Net/HTTP.src/M000111.html +0 -18
- data/doc/classes/Net/HTTP.src/M000112.html +0 -18
- data/doc/classes/Net/HTTP.src/M000113.html +0 -18
- data/doc/classes/Net/HTTP.src/M000114.html +0 -22
- data/doc/classes/Net/HTTP.src/M000115.html +0 -29
- data/doc/classes/Net/HTTP.src/M000116.html +0 -18
- data/doc/classes/Net/HTTP.src/M000117.html +0 -19
- data/doc/classes/Net/HTTP.src/M000118.html +0 -19
- data/doc/classes/Net/HTTP.src/M000119.html +0 -18
- data/doc/classes/Net/HTTP.src/M000121.html +0 -18
- data/doc/classes/Net/HTTP.src/M000122.html +0 -28
- data/doc/classes/Net/HTTP.src/M000123.html +0 -19
- data/doc/classes/Net/HTTP.src/M000124.html +0 -30
- data/doc/classes/Net/HTTP.src/M000125.html +0 -18
- data/doc/classes/Net/HTTP.src/M000126.html +0 -18
- data/doc/classes/Net/HTTP.src/M000127.html +0 -18
- data/doc/classes/Net/HTTP.src/M000128.html +0 -18
- data/doc/classes/Net/HTTP.src/M000129.html +0 -18
- data/doc/classes/Net/HTTP.src/M000130.html +0 -18
- data/doc/classes/Net/HTTP.src/M000133.html +0 -28
- data/doc/classes/Net/HTTP.src/M000134.html +0 -20
- data/doc/classes/Net/HTTP.src/M000135.html +0 -28
- data/doc/classes/Net/HTTP.src/M000136.html +0 -18
- data/doc/classes/Net/HTTP.src/M000137.html +0 -18
- data/doc/classes/Net/HTTP.src/M000138.html +0 -18
- data/doc/classes/Net/HTTP.src/M000139.html +0 -18
- data/doc/classes/Net/HTTP.src/M000140.html +0 -18
- data/doc/classes/Net/HTTP.src/M000141.html +0 -18
- data/doc/classes/Net/HTTP.src/M000142.html +0 -18
- data/doc/classes/Net/HTTP.src/M000143.html +0 -18
- data/doc/classes/Net/HTTP.src/M000144.html +0 -18
- data/doc/classes/Net/HTTP.src/M000145.html +0 -18
- data/doc/classes/Net/HTTP.src/M000146.html +0 -18
- data/doc/classes/Net/HTTP.src/M000147.html +0 -18
- data/doc/classes/Net/HTTP.src/M000148.html +0 -18
- data/doc/classes/Net/HTTP.src/M000152.html +0 -19
- data/doc/classes/Net/HTTP.src/M000153.html +0 -39
- data/doc/classes/Net/HTTP.src/M000154.html +0 -18
- data/doc/classes/Net/HTTP.src/M000156.html +0 -24
- data/doc/classes/Net/HTTP.src/M000157.html +0 -18
- data/doc/classes/Net/HTTP.src/M000158.html +0 -19
- data/doc/classes/Net/HTTP.src/M000159.html +0 -21
- data/doc/classes/Net/HTTP.src/M000161.html +0 -19
- data/doc/classes/Net/HTTPError.html +0 -120
- data/doc/classes/Net/HTTPExceptions.html +0 -137
- data/doc/classes/Net/HTTPFatalError.html +0 -120
- data/doc/classes/Net/HTTPGenericRequest.html +0 -274
- data/doc/classes/Net/HTTPGenericRequest.src/M000088.html +0 -26
- data/doc/classes/Net/HTTPGenericRequest.src/M000089.html +0 -18
- data/doc/classes/Net/HTTPGenericRequest.src/M000090.html +0 -18
- data/doc/classes/Net/HTTPGenericRequest.src/M000091.html +0 -18
- data/doc/classes/Net/HTTPGenericRequest.src/M000092.html +0 -19
- data/doc/classes/Net/HTTPGenericRequest.src/M000093.html +0 -20
- data/doc/classes/Net/HTTPGenericRequest.src/M000094.html +0 -20
- data/doc/classes/Net/HTTPHeader.html +0 -734
- data/doc/classes/Net/HTTPHeader.src/M000055.html +0 -23
- data/doc/classes/Net/HTTPHeader.src/M000056.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000057.html +0 -22
- data/doc/classes/Net/HTTPHeader.src/M000058.html +0 -22
- data/doc/classes/Net/HTTPHeader.src/M000059.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000060.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000061.html +0 -20
- data/doc/classes/Net/HTTPHeader.src/M000063.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000065.html +0 -20
- data/doc/classes/Net/HTTPHeader.src/M000066.html +0 -20
- data/doc/classes/Net/HTTPHeader.src/M000067.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000068.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000069.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000070.html +0 -20
- data/doc/classes/Net/HTTPHeader.src/M000072.html +0 -30
- data/doc/classes/Net/HTTPHeader.src/M000073.html +0 -43
- data/doc/classes/Net/HTTPHeader.src/M000075.html +0 -21
- data/doc/classes/Net/HTTPHeader.src/M000076.html +0 -22
- data/doc/classes/Net/HTTPHeader.src/M000077.html +0 -20
- data/doc/classes/Net/HTTPHeader.src/M000078.html +0 -21
- data/doc/classes/Net/HTTPHeader.src/M000079.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000080.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000081.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000082.html +0 -19
- data/doc/classes/Net/HTTPHeader.src/M000083.html +0 -23
- data/doc/classes/Net/HTTPHeader.src/M000084.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000086.html +0 -18
- data/doc/classes/Net/HTTPHeader.src/M000087.html +0 -18
- data/doc/classes/Net/HTTPRequest.html +0 -150
- data/doc/classes/Net/HTTPRequest.src/M000102.html +0 -21
- data/doc/classes/Net/HTTPResponse.html +0 -425
- data/doc/classes/Net/HTTPResponse.src/M000162.html +0 -18
- data/doc/classes/Net/HTTPResponse.src/M000163.html +0 -18
- data/doc/classes/Net/HTTPResponse.src/M000164.html +0 -23
- data/doc/classes/Net/HTTPResponse.src/M000165.html +0 -18
- data/doc/classes/Net/HTTPResponse.src/M000166.html +0 -32
- data/doc/classes/Net/HTTPResponse.src/M000167.html +0 -18
- data/doc/classes/Net/HTTPRetriableError.html +0 -120
- data/doc/classes/Net/HTTPServerException.html +0 -120
- data/doc/classes/Net/ProtoAuthError.html +0 -113
- data/doc/classes/Net/ProtoCommandError.html +0 -113
- data/doc/classes/Net/ProtoFatalError.html +0 -113
- data/doc/classes/Net/ProtoRetriableError.html +0 -113
- data/doc/classes/Net/ProtoServerError.html +0 -113
- data/doc/classes/Net/ProtoSyntaxError.html +0 -113
- data/doc/classes/Net/ProtoUnknownError.html +0 -113
- data/doc/classes/Net/ProtocolError.html +0 -111
- data/doc/classes/Net/WriteAdapter.html +0 -235
- data/doc/classes/Net/WriteAdapter.src/M000095.html +0 -19
- data/doc/classes/Net/WriteAdapter.src/M000096.html +0 -18
- data/doc/classes/Net/WriteAdapter.src/M000097.html +0 -18
- data/doc/classes/Net/WriteAdapter.src/M000099.html +0 -19
- data/doc/classes/Net/WriteAdapter.src/M000100.html +0 -18
- data/doc/classes/Net/WriteAdapter.src/M000101.html +0 -18
- data/doc/classes/REXML/Comment.html +0 -137
- data/doc/classes/REXML/Comment.src/M000053.html +0 -18
- data/doc/classes/REXML/Node.html +0 -240
- data/doc/classes/REXML/Node.src/M000047.html +0 -21
- data/doc/classes/REXML/Node.src/M000048.html +0 -21
- data/doc/classes/REXML/Node.src/M000049.html +0 -22
- data/doc/classes/REXML/Node.src/M000050.html +0 -18
- data/doc/classes/REXML/Node.src/M000051.html +0 -18
- data/doc/classes/REXML/Node.src/M000052.html +0 -18
- data/doc/classes/REXML/Text.html +0 -137
- data/doc/classes/REXML/Text.src/M000054.html +0 -18
- data/doc/classes/REXML.html +0 -109
- data/doc/classes/WWW/Button.html +0 -190
- data/doc/classes/WWW/Button.src/M000028.html +0 -18
- data/doc/classes/WWW/Button.src/M000029.html +0 -18
- data/doc/classes/WWW/Button.src/M000030.html +0 -25
- data/doc/classes/WWW/CheckBox.html +0 -160
- data/doc/classes/WWW/CheckBox.src/M000024.html +0 -18
- data/doc/classes/WWW/Cookie.html +0 -207
- data/doc/classes/WWW/Cookie.src/M000032.html +0 -59
- data/doc/classes/WWW/Cookie.src/M000033.html +0 -21
- data/doc/classes/WWW/Cookie.src/M000034.html +0 -18
- data/doc/classes/WWW/CookieJar.html +0 -197
- data/doc/classes/WWW/CookieJar.src/M000008.html +0 -18
- data/doc/classes/WWW/CookieJar.src/M000009.html +0 -22
- data/doc/classes/WWW/CookieJar.src/M000010.html +0 -33
- data/doc/classes/WWW/CookieJar.src/M000011.html +0 -18
- data/doc/classes/WWW/Field.html +0 -174
- data/doc/classes/WWW/Field.src/M000045.html +0 -18
- data/doc/classes/WWW/Field.src/M000046.html +0 -26
- data/doc/classes/WWW/FileUpload.html +0 -163
- data/doc/classes/WWW/FileUpload.src/M000031.html +0 -19
- data/doc/classes/WWW/Form.html +0 -152
- data/doc/classes/WWW/Form.src/M000044.html +0 -19
- data/doc/classes/WWW/GlobalForm.html +0 -271
- data/doc/classes/WWW/GlobalForm.src/M000004.html +0 -24
- data/doc/classes/WWW/GlobalForm.src/M000005.html +0 -26
- data/doc/classes/WWW/GlobalForm.src/M000006.html +0 -46
- data/doc/classes/WWW/GlobalForm.src/M000007.html +0 -46
- data/doc/classes/WWW/ImageButton.html +0 -157
- data/doc/classes/WWW/ImageButton.src/M000027.html +0 -22
- data/doc/classes/WWW/Link.html +0 -160
- data/doc/classes/WWW/Link.src/M000025.html +0 -20
- data/doc/classes/WWW/Mechanize.html +0 -379
- data/doc/classes/WWW/Mechanize.src/M000013.html +0 -21
- data/doc/classes/WWW/Mechanize.src/M000014.html +0 -18
- data/doc/classes/WWW/Mechanize.src/M000015.html +0 -24
- data/doc/classes/WWW/Mechanize.src/M000016.html +0 -19
- data/doc/classes/WWW/Mechanize.src/M000017.html +0 -23
- data/doc/classes/WWW/Mechanize.src/M000018.html +0 -32
- data/doc/classes/WWW/Mechanize.src/M000019.html +0 -19
- data/doc/classes/WWW/Mechanize.src/M000020.html +0 -18
- data/doc/classes/WWW/Mechanize.src/M000021.html +0 -33
- data/doc/classes/WWW/Mechanize.src/M000022.html +0 -18
- data/doc/classes/WWW/Meta.html +0 -113
- data/doc/classes/WWW/Page.html +0 -313
- data/doc/classes/WWW/Page.src/M000036.html +0 -18
- data/doc/classes/WWW/Page.src/M000037.html +0 -18
- data/doc/classes/WWW/Page.src/M000038.html +0 -18
- data/doc/classes/WWW/Page.src/M000039.html +0 -19
- data/doc/classes/WWW/Page.src/M000040.html +0 -19
- data/doc/classes/WWW/Page.src/M000041.html +0 -19
- data/doc/classes/WWW/Page.src/M000042.html +0 -19
- data/doc/classes/WWW/Page.src/M000043.html +0 -19
- data/doc/classes/WWW/RadioButton.html +0 -160
- data/doc/classes/WWW/RadioButton.src/M000012.html +0 -18
- data/doc/classes/WWW/ResponseCodeError.html +0 -150
- data/doc/classes/WWW/ResponseCodeError.src/M000035.html +0 -18
- data/doc/classes/WWW/SelectList.html +0 -160
- data/doc/classes/WWW/SelectList.src/M000026.html +0 -28
- data/doc/classes/WWW.html +0 -130
- data/doc/created.rid +0 -1
- data/doc/files/CHANGELOG.html +0 -136
- data/doc/files/LICENSE.html +0 -531
- data/doc/files/README.html +0 -161
- data/doc/files/lib/mechanize/cookie_rb.html +0 -101
- data/doc/files/lib/mechanize/net-overrides/net/http_rb.html +0 -139
- data/doc/files/lib/mechanize/net-overrides/net/https_rb.html +0 -109
- data/doc/files/lib/mechanize/net-overrides/net/protocol_rb.html +0 -117
- data/doc/files/lib/mechanize/parsing_rb.html +0 -267
- data/doc/files/lib/mechanize/parsing_rb.src/M000001.html +0 -22
- data/doc/files/lib/mechanize/parsing_rb.src/M000002.html +0 -44
- data/doc/files/lib/mechanize/parsing_rb.src/M000003.html +0 -34
- data/doc/files/lib/mechanize_rb.html +0 -152
- data/doc/fr_class_index.html +0 -80
- data/doc/fr_file_index.html +0 -35
- data/doc/fr_method_index.html +0 -194
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,267 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: parsing.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>parsing.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/mechanize/parsing.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Mar 22 10:31:45 PST 2006</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Copyright © 2005 by Michael Neumann (mneumann@ntecs.de). Released
|
74
|
-
under the same terms of license as Ruby.
|
75
|
-
</p>
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="requires-list">
|
80
|
-
<h3 class="section-bar">Required files</h3>
|
81
|
-
|
82
|
-
<div class="name-list">
|
83
|
-
rexml/rexml
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
<div id="method-list">
|
90
|
-
<h3 class="section-bar">Methods</h3>
|
91
|
-
|
92
|
-
<div class="name-list">
|
93
|
-
<a href="#M000002">extract_from_table</a>
|
94
|
-
<a href="#M000001">find_node</a>
|
95
|
-
<a href="#M000003">table_to_matrix</a>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
<!-- if includes -->
|
103
|
-
|
104
|
-
<div id="section">
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<!-- if method_list -->
|
114
|
-
<div id="methods">
|
115
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
116
|
-
|
117
|
-
<div id="method-M000002" class="method-detail">
|
118
|
-
<a name="M000002"></a>
|
119
|
-
|
120
|
-
<div class="method-heading">
|
121
|
-
<a href="parsing_rb.src/M000002.html" target="Code" class="method-signature"
|
122
|
-
onclick="popupCode('parsing_rb.src/M000002.html');return false;">
|
123
|
-
<span class="method-name">extract_from_table</span><span class="method-args">(root_node, headers, header_tags = %w(td th))</span>
|
124
|
-
</a>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div class="method-description">
|
128
|
-
<p>
|
129
|
-
Extract specific columns (specified by the position of it’s
|
130
|
-
corrensponding header column) from a table.
|
131
|
-
</p>
|
132
|
-
<p>
|
133
|
-
Given the following table:
|
134
|
-
</p>
|
135
|
-
<pre>
|
136
|
-
<table>
|
137
|
-
<tr>
|
138
|
-
<td>A</td>
|
139
|
-
<td>B</td>
|
140
|
-
<td>C</td>
|
141
|
-
</tr>
|
142
|
-
<tr>
|
143
|
-
<td>A.1</td>
|
144
|
-
<td>B.1</td>
|
145
|
-
<td>C.1</td>
|
146
|
-
</tr>
|
147
|
-
<tr>
|
148
|
-
<td>A.2</td>
|
149
|
-
<td>B.2</td>
|
150
|
-
<td>C.2</td>
|
151
|
-
</tr>
|
152
|
-
</table>
|
153
|
-
</pre>
|
154
|
-
<p>
|
155
|
-
To extract the first (A) and last (C) column:
|
156
|
-
</p>
|
157
|
-
<pre>
|
158
|
-
extract_from_table(root_node, ["A", "C"])
|
159
|
-
</pre>
|
160
|
-
<p>
|
161
|
-
And you get this as result:
|
162
|
-
</p>
|
163
|
-
<pre>
|
164
|
-
[
|
165
|
-
["A.1", "C.1"],
|
166
|
-
["A.2", "C.2"]
|
167
|
-
]
|
168
|
-
</pre>
|
169
|
-
</div>
|
170
|
-
</div>
|
171
|
-
|
172
|
-
<div id="method-M000001" class="method-detail">
|
173
|
-
<a name="M000001"></a>
|
174
|
-
|
175
|
-
<div class="method-heading">
|
176
|
-
<a href="parsing_rb.src/M000001.html" target="Code" class="method-signature"
|
177
|
-
onclick="popupCode('parsing_rb.src/M000001.html');return false;">
|
178
|
-
<span class="method-name">find_node</span><span class="method-args">(root_node, tag, attributes, text=nil)</span>
|
179
|
-
</a>
|
180
|
-
</div>
|
181
|
-
|
182
|
-
<div class="method-description">
|
183
|
-
<p>
|
184
|
-
Starting with <tt>root_node</tt>, we recursively look for a node with the
|
185
|
-
given <tt>tag</tt>, the given <tt>attributes</tt> (a Hash) and whoose text
|
186
|
-
equals or matches the <tt>text</tt> string or regular expression.
|
187
|
-
</p>
|
188
|
-
<p>
|
189
|
-
To find the following node:
|
190
|
-
</p>
|
191
|
-
<pre>
|
192
|
-
<td class='abc'>text</td>
|
193
|
-
</pre>
|
194
|
-
<p>
|
195
|
-
We use:
|
196
|
-
</p>
|
197
|
-
<pre>
|
198
|
-
find_node(root, 'td', {'class' => 'abc'}, "text")
|
199
|
-
</pre>
|
200
|
-
<p>
|
201
|
-
Returns <tt>nil</tt> if no matching node was found.
|
202
|
-
</p>
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
|
206
|
-
<div id="method-M000003" class="method-detail">
|
207
|
-
<a name="M000003"></a>
|
208
|
-
|
209
|
-
<div class="method-heading">
|
210
|
-
<a href="parsing_rb.src/M000003.html" target="Code" class="method-signature"
|
211
|
-
onclick="popupCode('parsing_rb.src/M000003.html');return false;">
|
212
|
-
<span class="method-name">table_to_matrix</span><span class="method-args">(table_node)</span>
|
213
|
-
</a>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<div class="method-description">
|
217
|
-
<p>
|
218
|
-
Given a HTML table, this method returns a matrix (2-dim array), with all
|
219
|
-
the table-data elements correctly placed in it.
|
220
|
-
</p>
|
221
|
-
<p>
|
222
|
-
If there’s a table data element which uses ‘colspan’,
|
223
|
-
that node is stored in at the current position of the row followed by
|
224
|
-
(colspan-1) nil values.
|
225
|
-
</p>
|
226
|
-
<p>
|
227
|
-
Example:
|
228
|
-
</p>
|
229
|
-
<pre>
|
230
|
-
<table>
|
231
|
-
<tr>
|
232
|
-
<td>A</td>
|
233
|
-
<td>B</td>
|
234
|
-
</tr>
|
235
|
-
<tr>
|
236
|
-
<td colspan="2">C</td>
|
237
|
-
</tr>
|
238
|
-
</table>
|
239
|
-
</pre>
|
240
|
-
<p>
|
241
|
-
Result:
|
242
|
-
</p>
|
243
|
-
<pre>
|
244
|
-
[
|
245
|
-
[A, B],
|
246
|
-
[C, nil]
|
247
|
-
]
|
248
|
-
</pre>
|
249
|
-
<p>
|
250
|
-
where A, B and C are the corresponding "<td>" nodes.
|
251
|
-
</p>
|
252
|
-
</div>
|
253
|
-
</div>
|
254
|
-
|
255
|
-
|
256
|
-
</div>
|
257
|
-
|
258
|
-
|
259
|
-
</div>
|
260
|
-
|
261
|
-
|
262
|
-
<div id="validator-badges">
|
263
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
264
|
-
</div>
|
265
|
-
|
266
|
-
</body>
|
267
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>find_node (lib/mechanize/parsing.rb)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/mechanize/parsing.rb, line 96</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_node</span>(<span class="ruby-identifier">root_node</span>, <span class="ruby-identifier">tag</span>, <span class="ruby-identifier">attributes</span>, <span class="ruby-identifier">text</span>=<span class="ruby-keyword kw">nil</span>)
|
15
|
-
<span class="ruby-identifier">root_node</span>.<span class="ruby-identifier">find_first_recursive</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
|
16
|
-
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">tag</span> <span class="ruby-keyword kw">and</span>
|
17
|
-
<span class="ruby-identifier">attributes</span>.<span class="ruby-identifier">all?</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">attr</span>, <span class="ruby-identifier">val</span><span class="ruby-operator">|</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-identifier">attr</span>] <span class="ruby-operator">==</span> <span class="ruby-identifier">val</span>} <span class="ruby-keyword kw">and</span>
|
18
|
-
(<span class="ruby-identifier">text</span> <span class="ruby-value">? </span><span class="ruby-identifier">text</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">text</span> <span class="ruby-operator">:</span> <span class="ruby-keyword kw">true</span>)
|
19
|
-
}
|
20
|
-
<span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>extract_from_table (lib/mechanize/parsing.rb)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/mechanize/parsing.rb, line 140</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">extract_from_table</span>(<span class="ruby-identifier">root_node</span>, <span class="ruby-identifier">headers</span>, <span class="ruby-identifier">header_tags</span> = <span class="ruby-node">%w(td th)</span>)
|
15
|
-
|
16
|
-
<span class="ruby-comment cmt"># extract and collect all header nodes</span>
|
17
|
-
|
18
|
-
<span class="ruby-identifier">header_nodes</span> = <span class="ruby-identifier">headers</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">header</span><span class="ruby-operator">|</span>
|
19
|
-
<span class="ruby-identifier">root_node</span>.<span class="ruby-identifier">find_first_recursive</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
|
20
|
-
<span class="ruby-identifier">header_tags</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">node</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">downcase</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">header</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">node</span>.<span class="ruby-identifier">all_text</span>
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"some headers not found"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">header_nodes</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator"><</span> <span class="ruby-identifier">headers</span>.<span class="ruby-identifier">size</span>
|
25
|
-
|
26
|
-
<span class="ruby-comment cmt"># assert that all headers have the same parent 'header_row', which is the row</span>
|
27
|
-
<span class="ruby-comment cmt"># in which the header_nodes are contained. 'table' is the surrounding table tag.</span>
|
28
|
-
|
29
|
-
<span class="ruby-identifier">header_row</span> = <span class="ruby-identifier">header_nodes</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">parent</span>
|
30
|
-
<span class="ruby-identifier">table</span> = <span class="ruby-identifier">header_row</span>.<span class="ruby-identifier">parent</span>
|
31
|
-
|
32
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-value str">"different parents"</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">header_nodes</span>.<span class="ruby-identifier">all?</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">parent</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">header_row</span>}
|
33
|
-
|
34
|
-
<span class="ruby-comment cmt"># we now iterate over all rows in the table that follows the header_row. </span>
|
35
|
-
<span class="ruby-comment cmt"># for each row we collect the elements at the same positions as the header_nodes.</span>
|
36
|
-
<span class="ruby-comment cmt"># this is what we finally return from the method. </span>
|
37
|
-
|
38
|
-
(<span class="ruby-identifier">header_row</span>.<span class="ruby-identifier">index_in_parent</span><span class="ruby-operator">+</span><span class="ruby-value">1</span> <span class="ruby-operator">..</span> <span class="ruby-identifier">table</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">size</span>).<span class="ruby-identifier">collect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">inx</span><span class="ruby-operator">|</span>
|
39
|
-
<span class="ruby-identifier">row</span> = <span class="ruby-identifier">table</span>.<span class="ruby-identifier">elements</span>[<span class="ruby-identifier">inx</span>]
|
40
|
-
<span class="ruby-identifier">header_nodes</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">row</span>.<span class="ruby-identifier">elements</span>[ <span class="ruby-identifier">n</span>.<span class="ruby-identifier">index_in_parent</span> ].<span class="ruby-identifier">text</span> }
|
41
|
-
<span class="ruby-keyword kw">end</span>
|
42
|
-
<span class="ruby-keyword kw">end</span></pre>
|
43
|
-
</body>
|
44
|
-
</html>
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>table_to_matrix (lib/mechanize/parsing.rb)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/mechanize/parsing.rb, line 198</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">table_to_matrix</span>(<span class="ruby-identifier">table_node</span>)
|
15
|
-
<span class="ruby-identifier">matrix</span> = []
|
16
|
-
|
17
|
-
<span class="ruby-comment cmt"># for each row</span>
|
18
|
-
<span class="ruby-identifier">table_node</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">each</span>(<span class="ruby-value str">'tr'</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
|
19
|
-
<span class="ruby-identifier">row</span> = []
|
20
|
-
<span class="ruby-identifier">r</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">data</span><span class="ruby-operator">|</span>
|
21
|
-
<span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">unless</span> [<span class="ruby-value str">'td'</span>, <span class="ruby-value str">'th'</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">data</span>.<span class="ruby-identifier">name</span>)
|
22
|
-
<span class="ruby-identifier">row</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">data</span>
|
23
|
-
|
24
|
-
<span class="ruby-comment cmt"># fill with empty elements</span>
|
25
|
-
<span class="ruby-identifier">colspan</span> = (<span class="ruby-identifier">data</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-value str">'colspan'</span>] <span class="ruby-operator">||</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">to_i</span>
|
26
|
-
(<span class="ruby-identifier">colspan</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>).<span class="ruby-identifier">times</span> { <span class="ruby-identifier">row</span> <span class="ruby-operator"><<</span> <span class="ruby-keyword kw">nil</span> }
|
27
|
-
}
|
28
|
-
<span class="ruby-identifier">matrix</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">row</span>
|
29
|
-
}
|
30
|
-
|
31
|
-
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">matrix</span>
|
32
|
-
<span class="ruby-keyword kw">end</span></pre>
|
33
|
-
</body>
|
34
|
-
</html>
|
@@ -1,152 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>File: mechanize.rb</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="fileHeader">
|
50
|
-
<h1>mechanize.rb</h1>
|
51
|
-
<table class="header-table">
|
52
|
-
<tr class="top-aligned-row">
|
53
|
-
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/mechanize.rb
|
55
|
-
</td>
|
56
|
-
</tr>
|
57
|
-
<tr class="top-aligned-row">
|
58
|
-
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>Wed Mar 22 13:35:40 PST 2006</td>
|
60
|
-
</tr>
|
61
|
-
</table>
|
62
|
-
</div>
|
63
|
-
<!-- banner header -->
|
64
|
-
|
65
|
-
<div id="bodyContent">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
<div id="contextContent">
|
70
|
-
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Original Code: Copyright © 2005 by Michael Neumann (mneumann@ntecs.de)
|
74
|
-
</p>
|
75
|
-
<p>
|
76
|
-
New Code: Copyright © 2006 by Aaron Patterson (aaronp@rubyforge.org)
|
77
|
-
</p>
|
78
|
-
<p>
|
79
|
-
Please see the LICENSE file for licensing.
|
80
|
-
</p>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
<div id="requires-list">
|
85
|
-
<h3 class="section-bar">Required files</h3>
|
86
|
-
|
87
|
-
<div class="name-list">
|
88
|
-
net/http
|
89
|
-
net/https
|
90
|
-
web/htmltools/xmltree
|
91
|
-
mechanize/parsing
|
92
|
-
mechanize/cookie
|
93
|
-
uri
|
94
|
-
logger
|
95
|
-
webrick
|
96
|
-
date
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
|
100
|
-
</div>
|
101
|
-
|
102
|
-
|
103
|
-
</div>
|
104
|
-
|
105
|
-
|
106
|
-
<!-- if includes -->
|
107
|
-
|
108
|
-
<div id="section">
|
109
|
-
|
110
|
-
|
111
|
-
<div id="constants-list">
|
112
|
-
<h3 class="section-bar">Constants</h3>
|
113
|
-
|
114
|
-
<div class="name-list">
|
115
|
-
<table summary="Constants">
|
116
|
-
<tr class="top-aligned-row context-row">
|
117
|
-
<td class="context-item-name">Version</td>
|
118
|
-
<td>=</td>
|
119
|
-
<td class="context-item-value">"0.4.0"</td>
|
120
|
-
<td width="3em"> </td>
|
121
|
-
<td class="context-item-desc">
|
122
|
-
Original Code: Copyright © 2005 by Michael Neumann (mneumann@ntecs.de)
|
123
|
-
|
124
|
-
<p>
|
125
|
-
New Code: Copyright © 2006 by Aaron Patterson (aaronp@rubyforge.org)
|
126
|
-
</p>
|
127
|
-
<p>
|
128
|
-
Please see the LICENSE file for licensing.
|
129
|
-
</p>
|
130
|
-
</td>
|
131
|
-
</tr>
|
132
|
-
</table>
|
133
|
-
</div>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
<!-- if method_list -->
|
142
|
-
|
143
|
-
|
144
|
-
</div>
|
145
|
-
|
146
|
-
|
147
|
-
<div id="validator-badges">
|
148
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
149
|
-
</div>
|
150
|
-
|
151
|
-
</body>
|
152
|
-
</html>
|
data/doc/fr_class_index.html
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Classes
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Classes</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Classes</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="classes/Net/HTTP.html">Net::HTTP</a><br />
|
24
|
-
<a href="classes/Net/HTTP/Copy.html">Net::HTTP::Copy</a><br />
|
25
|
-
<a href="classes/Net/HTTP/Delete.html">Net::HTTP::Delete</a><br />
|
26
|
-
<a href="classes/Net/HTTP/Get.html">Net::HTTP::Get</a><br />
|
27
|
-
<a href="classes/Net/HTTP/Head.html">Net::HTTP::Head</a><br />
|
28
|
-
<a href="classes/Net/HTTP/Lock.html">Net::HTTP::Lock</a><br />
|
29
|
-
<a href="classes/Net/HTTP/Mkcol.html">Net::HTTP::Mkcol</a><br />
|
30
|
-
<a href="classes/Net/HTTP/Move.html">Net::HTTP::Move</a><br />
|
31
|
-
<a href="classes/Net/HTTP/Options.html">Net::HTTP::Options</a><br />
|
32
|
-
<a href="classes/Net/HTTP/Post.html">Net::HTTP::Post</a><br />
|
33
|
-
<a href="classes/Net/HTTP/Propfind.html">Net::HTTP::Propfind</a><br />
|
34
|
-
<a href="classes/Net/HTTP/Proppatch.html">Net::HTTP::Proppatch</a><br />
|
35
|
-
<a href="classes/Net/HTTP/Put.html">Net::HTTP::Put</a><br />
|
36
|
-
<a href="classes/Net/HTTP/Trace.html">Net::HTTP::Trace</a><br />
|
37
|
-
<a href="classes/Net/HTTP/Unlock.html">Net::HTTP::Unlock</a><br />
|
38
|
-
<a href="classes/Net/HTTPError.html">Net::HTTPError</a><br />
|
39
|
-
<a href="classes/Net/HTTPExceptions.html">Net::HTTPExceptions</a><br />
|
40
|
-
<a href="classes/Net/HTTPFatalError.html">Net::HTTPFatalError</a><br />
|
41
|
-
<a href="classes/Net/HTTPGenericRequest.html">Net::HTTPGenericRequest</a><br />
|
42
|
-
<a href="classes/Net/HTTPHeader.html">Net::HTTPHeader</a><br />
|
43
|
-
<a href="classes/Net/HTTPRequest.html">Net::HTTPRequest</a><br />
|
44
|
-
<a href="classes/Net/HTTPResponse.html">Net::HTTPResponse</a><br />
|
45
|
-
<a href="classes/Net/HTTPRetriableError.html">Net::HTTPRetriableError</a><br />
|
46
|
-
<a href="classes/Net/HTTPServerException.html">Net::HTTPServerException</a><br />
|
47
|
-
<a href="classes/Net/ProtoAuthError.html">Net::ProtoAuthError</a><br />
|
48
|
-
<a href="classes/Net/ProtoCommandError.html">Net::ProtoCommandError</a><br />
|
49
|
-
<a href="classes/Net/ProtoFatalError.html">Net::ProtoFatalError</a><br />
|
50
|
-
<a href="classes/Net/ProtoRetriableError.html">Net::ProtoRetriableError</a><br />
|
51
|
-
<a href="classes/Net/ProtoServerError.html">Net::ProtoServerError</a><br />
|
52
|
-
<a href="classes/Net/ProtoSyntaxError.html">Net::ProtoSyntaxError</a><br />
|
53
|
-
<a href="classes/Net/ProtoUnknownError.html">Net::ProtoUnknownError</a><br />
|
54
|
-
<a href="classes/Net/ProtocolError.html">Net::ProtocolError</a><br />
|
55
|
-
<a href="classes/Net/WriteAdapter.html">Net::WriteAdapter</a><br />
|
56
|
-
<a href="classes/REXML.html">REXML</a><br />
|
57
|
-
<a href="classes/REXML/Comment.html">REXML::Comment</a><br />
|
58
|
-
<a href="classes/REXML/Node.html">REXML::Node</a><br />
|
59
|
-
<a href="classes/REXML/Text.html">REXML::Text</a><br />
|
60
|
-
<a href="classes/WWW.html">WWW</a><br />
|
61
|
-
<a href="classes/WWW/Button.html">WWW::Button</a><br />
|
62
|
-
<a href="classes/WWW/CheckBox.html">WWW::CheckBox</a><br />
|
63
|
-
<a href="classes/WWW/Cookie.html">WWW::Cookie</a><br />
|
64
|
-
<a href="classes/WWW/CookieJar.html">WWW::CookieJar</a><br />
|
65
|
-
<a href="classes/WWW/Field.html">WWW::Field</a><br />
|
66
|
-
<a href="classes/WWW/FileUpload.html">WWW::FileUpload</a><br />
|
67
|
-
<a href="classes/WWW/Form.html">WWW::Form</a><br />
|
68
|
-
<a href="classes/WWW/GlobalForm.html">WWW::GlobalForm</a><br />
|
69
|
-
<a href="classes/WWW/ImageButton.html">WWW::ImageButton</a><br />
|
70
|
-
<a href="classes/WWW/Link.html">WWW::Link</a><br />
|
71
|
-
<a href="classes/WWW/Mechanize.html">WWW::Mechanize</a><br />
|
72
|
-
<a href="classes/WWW/Meta.html">WWW::Meta</a><br />
|
73
|
-
<a href="classes/WWW/Page.html">WWW::Page</a><br />
|
74
|
-
<a href="classes/WWW/RadioButton.html">WWW::RadioButton</a><br />
|
75
|
-
<a href="classes/WWW/ResponseCodeError.html">WWW::ResponseCodeError</a><br />
|
76
|
-
<a href="classes/WWW/SelectList.html">WWW::SelectList</a><br />
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
</body>
|
80
|
-
</html>
|
data/doc/fr_file_index.html
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
|
2
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
-
<!DOCTYPE html
|
4
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
<!--
|
8
|
-
|
9
|
-
Files
|
10
|
-
|
11
|
-
-->
|
12
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
-
<head>
|
14
|
-
<title>Files</title>
|
15
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
-
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
-
<base target="docwin" />
|
18
|
-
</head>
|
19
|
-
<body>
|
20
|
-
<div id="index">
|
21
|
-
<h1 class="section-bar">Files</h1>
|
22
|
-
<div id="index-entries">
|
23
|
-
<a href="files/CHANGELOG.html">CHANGELOG</a><br />
|
24
|
-
<a href="files/LICENSE.html">LICENSE</a><br />
|
25
|
-
<a href="files/README.html">README</a><br />
|
26
|
-
<a href="files/lib/mechanize_rb.html">lib/mechanize.rb</a><br />
|
27
|
-
<a href="files/lib/mechanize/cookie_rb.html">lib/mechanize/cookie.rb</a><br />
|
28
|
-
<a href="files/lib/mechanize/net-overrides/net/http_rb.html">lib/mechanize/net-overrides/net/http.rb</a><br />
|
29
|
-
<a href="files/lib/mechanize/net-overrides/net/https_rb.html">lib/mechanize/net-overrides/net/https.rb</a><br />
|
30
|
-
<a href="files/lib/mechanize/net-overrides/net/protocol_rb.html">lib/mechanize/net-overrides/net/protocol.rb</a><br />
|
31
|
-
<a href="files/lib/mechanize/parsing_rb.html">lib/mechanize/parsing.rb</a><br />
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
</body>
|
35
|
-
</html>
|