spider 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/AUTHORS +12 -0
  3. data/CHANGES +6 -0
  4. data/LICENSE +21 -0
  5. data/{README → README.md} +50 -43
  6. data/lib/spider.rb +12 -29
  7. data/lib/spider/included_in_memcached.rb +1 -24
  8. data/lib/spider/next_urls_in_sqs.rb +6 -29
  9. data/lib/spider/robot_rules.rb +61 -57
  10. data/lib/spider/spider_instance.rb +8 -31
  11. data/spider.gemspec +4 -2
  12. metadata +33 -124
  13. data/doc/classes/BeStaticServerPages.html +0 -197
  14. data/doc/classes/BeStaticServerPages.src/M000030.html +0 -19
  15. data/doc/classes/BeStaticServerPages.src/M000031.html +0 -19
  16. data/doc/classes/BeStaticServerPages.src/M000032.html +0 -18
  17. data/doc/classes/BeStaticServerPages.src/M000033.html +0 -18
  18. data/doc/classes/IncludedInMemcached.html +0 -199
  19. data/doc/classes/IncludedInMemcached.src/M000015.html +0 -18
  20. data/doc/classes/IncludedInMemcached.src/M000016.html +0 -18
  21. data/doc/classes/IncludedInMemcached.src/M000017.html +0 -18
  22. data/doc/classes/LoopingServlet.html +0 -137
  23. data/doc/classes/LoopingServlet.src/M000037.html +0 -23
  24. data/doc/classes/NextUrlsInSQS.html +0 -204
  25. data/doc/classes/NextUrlsInSQS.src/M000018.html +0 -19
  26. data/doc/classes/NextUrlsInSQS.src/M000019.html +0 -22
  27. data/doc/classes/NextUrlsInSQS.src/M000020.html +0 -19
  28. data/doc/classes/QueryServlet.html +0 -137
  29. data/doc/classes/QueryServlet.src/M000038.html +0 -19
  30. data/doc/classes/RobotRules.html +0 -175
  31. data/doc/classes/RobotRules.src/M000034.html +0 -19
  32. data/doc/classes/RobotRules.src/M000035.html +0 -67
  33. data/doc/classes/RobotRules.src/M000036.html +0 -24
  34. data/doc/classes/Spider.html +0 -170
  35. data/doc/classes/Spider.src/M000029.html +0 -21
  36. data/doc/classes/SpiderInstance.html +0 -345
  37. data/doc/classes/SpiderInstance.src/M000021.html +0 -18
  38. data/doc/classes/SpiderInstance.src/M000022.html +0 -22
  39. data/doc/classes/SpiderInstance.src/M000023.html +0 -22
  40. data/doc/classes/SpiderInstance.src/M000024.html +0 -24
  41. data/doc/classes/SpiderInstance.src/M000025.html +0 -18
  42. data/doc/classes/SpiderInstance.src/M000026.html +0 -18
  43. data/doc/classes/SpiderInstance.src/M000027.html +0 -18
  44. data/doc/classes/SpiderInstance.src/M000028.html +0 -18
  45. data/doc/created.rid +0 -1
  46. data/doc/files/README.html +0 -223
  47. data/doc/files/lib/spider/included_in_memcached_rb.html +0 -142
  48. data/doc/files/lib/spider/next_urls_in_sqs_rb.html +0 -144
  49. data/doc/files/lib/spider/robot_rules_rb.html +0 -114
  50. data/doc/files/lib/spider/spider_instance_rb.html +0 -117
  51. data/doc/files/lib/spider_rb.html +0 -254
  52. data/doc/files/spec/spec_helper_rb.html +0 -196
  53. data/doc/files/spec/spec_helper_rb.src/M000001.html +0 -20
  54. data/doc/files/spec/spec_helper_rb.src/M000002.html +0 -26
  55. data/doc/files/spec/spec_helper_rb.src/M000003.html +0 -24
  56. data/doc/files/spec/spec_helper_rb.src/M000004.html +0 -18
  57. data/doc/files/spec/spec_helper_rb.src/M000005.html +0 -23
  58. data/doc/files/spec/spider/included_in_memcached_spec_rb.html +0 -142
  59. data/doc/files/spec/spider/included_in_memcached_spec_rb.src/M000006.html +0 -19
  60. data/doc/files/spec/spider/included_in_memcached_spec_rb.src/M000007.html +0 -18
  61. data/doc/files/spec/spider/spider_instance_spec_rb.html +0 -210
  62. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000008.html +0 -21
  63. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000009.html +0 -19
  64. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000010.html +0 -19
  65. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000011.html +0 -27
  66. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000012.html +0 -26
  67. data/doc/files/spec/spider/spider_instance_spec_rb.src/M000013.html +0 -27
  68. data/doc/files/spec/spider_spec_rb.html +0 -127
  69. data/doc/files/spec/spider_spec_rb.src/M000014.html +0 -23
  70. data/doc/fr_class_index.html +0 -34
  71. data/doc/fr_file_index.html +0 -35
  72. data/doc/fr_method_index.html +0 -64
  73. data/doc/index.html +0 -24
  74. data/doc/rdoc-style.css +0 -208
@@ -1,28 +1,5 @@
1
1
  # Specialized spidering rules.
2
2
 
3
- # Copyright 2007-2008 Mike Burns & John Nagro
4
- # Redistribution and use in source and binary forms, with or without
5
- # modification, are permitted provided that the following conditions are met:
6
- # * Redistributions of source code must retain the above copyright
7
- # notice, this list of conditions and the following disclaimer.
8
- # * Redistributions in binary form must reproduce the above copyright
9
- # notice, this list of conditions and the following disclaimer in the
10
- # documentation and/or other materials provided with the distribution.
11
- # * Neither the name Mike Burns nor the
12
- # names of his contributors may be used to endorse or promote products
13
- # derived from this software without specific prior written permission.
14
- #
15
- # THIS SOFTWARE IS PROVIDED BY Mike Burns ``AS IS'' AND ANY
16
- # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
- # DISCLAIMED. IN NO EVENT SHALL Mike Burns BE LIABLE FOR ANY
19
- # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
- # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
- # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
- # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
- # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
- # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
-
26
3
  require File.dirname(__FILE__)+'/robot_rules.rb'
27
4
  require 'open-uri'
28
5
  require 'uri'
@@ -53,7 +30,7 @@ class SpiderInstance
53
30
  @callbacks = {}
54
31
  @next_urls = [next_urls]
55
32
  @seen = seen
56
- @rules = rules || RobotRules.new('Ruby Spider 0.4.4')
33
+ @rules = rules || RobotRules.new("Ruby Spider #{Spider::VERSION}")
57
34
  @robots_seen = robots_seen
58
35
  @headers = {}
59
36
  @setup = nil
@@ -64,9 +41,9 @@ class SpiderInstance
64
41
  # All predicates must be true in order for a URL to proceed.
65
42
  #
66
43
  # Takes a block that takes a string and produces a boolean. For example, this
67
- # will ensure that the URL starts with 'http://mike-burns.com':
44
+ # will ensure that the URL starts with 'http://cashcats.biz':
68
45
  #
69
- # add_url_check { |a_url| a_url =~ %r{^http://mike-burns.com.*}
46
+ # add_url_check { |a_url| a_url =~ %r{^http://cashcats.biz.*}
70
47
  def add_url_check(&block)
71
48
  @url_checks << block
72
49
  end
@@ -126,7 +103,7 @@ class SpiderInstance
126
103
  #
127
104
  # The arguments to the block are: the URL as a string, an instance of
128
105
  # Net::HTTPResponse, and the prior URL as a string.
129
- #
106
+ #
130
107
  #
131
108
  # For example:
132
109
  #
@@ -183,13 +160,14 @@ class SpiderInstance
183
160
  @headers = {}
184
161
  end
185
162
 
186
- def start! #:nodoc:
163
+ def start! #:nodoc:
187
164
  interrupted = false
188
- trap("SIGINT") { interrupted = true }
165
+ trap("SIGINT") { interrupted = true }
189
166
  begin
190
167
  next_urls = @next_urls.pop
191
168
  tmp_n_u = {}
192
169
  next_urls.each do |prior_url, urls|
170
+ urls = [urls] unless urls.kind_of?(Array)
193
171
  urls.map do |a_url|
194
172
  [a_url, (URI.parse(a_url) rescue nil)]
195
173
  end.select do |a_url, parsed_url|
@@ -233,7 +211,7 @@ class SpiderInstance
233
211
  return false unless @url_checks.map{|url_check|url_check.call(a_url)}.all?
234
212
  begin
235
213
  unless @robots_seen.include?(u)
236
- #open(u, 'User-Agent' => 'Ruby Spider',
214
+ #open(u, 'User-Agent' => 'Ruby Spider',
237
215
  # 'Accept' => 'text/html,text/xml,application/xml,text/plain', :ssl_verify => false) do |url|
238
216
  # @rules.parse(u, url.read)
239
217
  #end
@@ -332,4 +310,3 @@ class SpiderInstance
332
310
  end
333
311
  end
334
312
  end
335
-
@@ -1,10 +1,12 @@
1
1
  require 'rubygems'
2
2
 
3
+ require File.expand_path('../lib/spider', __FILE__)
4
+
3
5
  spec = Gem::Specification.new do |s|
4
6
  s.author = 'John Nagro'
5
7
  s.email = 'john.nagro@gmail.com'
6
8
  s.has_rdoc = true
7
- s.homepage = 'http://spider.rubyforge.org/'
9
+ s.homepage = 'https://github.com/johnnagro/spider'
8
10
  s.name = 'spider'
9
11
  s.rubyforge_project = 'spider'
10
12
  s.summary = 'A Web spidering library'
@@ -14,5 +16,5 @@ spec = Gem::Specification.new do |s|
14
16
  A Web spidering library: handles robots.txt, scraping, finding more
15
17
  links, and doing it all over again.
16
18
  EOF
17
- s.version = '0.4.4'
19
+ s.version = Spider::VERSION
18
20
  end
metadata CHANGED
@@ -1,149 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spider
3
- version: !ruby/object:Gem::Version
4
- version: 0.4.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - John Nagro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2009-05-21 00:00:00 +00:00
13
- default_executable:
11
+ date: 2016-05-13 00:00:00.000000000 Z
14
12
  dependencies: []
15
-
16
- description: "A Web spidering library: handles robots.txt, scraping, finding more links, and doing it all over again."
13
+ description: |
14
+ A Web spidering library: handles robots.txt, scraping, finding more
15
+ links, and doing it all over again.
17
16
  email: john.nagro@gmail.com
18
17
  executables: []
19
-
20
18
  extensions: []
21
-
22
19
  extra_rdoc_files: []
23
-
24
- files:
25
- - README
26
- - doc
27
- - doc/fr_class_index.html
28
- - doc/rdoc-style.css
29
- - doc/fr_file_index.html
30
- - doc/created.rid
31
- - doc/fr_method_index.html
32
- - doc/classes
33
- - doc/classes/RobotRules.html
34
- - doc/classes/Spider.src
35
- - doc/classes/Spider.src/M000029.html
36
- - doc/classes/NextUrlsInSQS.src
37
- - doc/classes/NextUrlsInSQS.src/M000018.html
38
- - doc/classes/NextUrlsInSQS.src/M000019.html
39
- - doc/classes/NextUrlsInSQS.src/M000020.html
40
- - doc/classes/LoopingServlet.html
41
- - doc/classes/Spider.html
42
- - doc/classes/BeStaticServerPages.html
43
- - doc/classes/SpiderInstance.src
44
- - doc/classes/SpiderInstance.src/M000021.html
45
- - doc/classes/SpiderInstance.src/M000023.html
46
- - doc/classes/SpiderInstance.src/M000027.html
47
- - doc/classes/SpiderInstance.src/M000025.html
48
- - doc/classes/SpiderInstance.src/M000026.html
49
- - doc/classes/SpiderInstance.src/M000028.html
50
- - doc/classes/SpiderInstance.src/M000022.html
51
- - doc/classes/SpiderInstance.src/M000024.html
52
- - doc/classes/LoopingServlet.src
53
- - doc/classes/LoopingServlet.src/M000037.html
54
- - doc/classes/IncludedInMemcached.html
55
- - doc/classes/RobotRules.src
56
- - doc/classes/RobotRules.src/M000035.html
57
- - doc/classes/RobotRules.src/M000034.html
58
- - doc/classes/RobotRules.src/M000036.html
59
- - doc/classes/BeStaticServerPages.src
60
- - doc/classes/BeStaticServerPages.src/M000032.html
61
- - doc/classes/BeStaticServerPages.src/M000033.html
62
- - doc/classes/BeStaticServerPages.src/M000030.html
63
- - doc/classes/BeStaticServerPages.src/M000031.html
64
- - doc/classes/NextUrlsInSQS.html
65
- - doc/classes/IncludedInMemcached.src
66
- - doc/classes/IncludedInMemcached.src/M000017.html
67
- - doc/classes/IncludedInMemcached.src/M000015.html
68
- - doc/classes/IncludedInMemcached.src/M000016.html
69
- - doc/classes/SpiderInstance.html
70
- - doc/classes/QueryServlet.src
71
- - doc/classes/QueryServlet.src/M000038.html
72
- - doc/classes/QueryServlet.html
73
- - doc/files
74
- - doc/files/README.html
75
- - doc/files/spec
76
- - doc/files/spec/spec_helper_rb.src
77
- - doc/files/spec/spec_helper_rb.src/M000002.html
78
- - doc/files/spec/spec_helper_rb.src/M000005.html
79
- - doc/files/spec/spec_helper_rb.src/M000001.html
80
- - doc/files/spec/spec_helper_rb.src/M000003.html
81
- - doc/files/spec/spec_helper_rb.src/M000004.html
82
- - doc/files/spec/spider_spec_rb.src
83
- - doc/files/spec/spider_spec_rb.src/M000014.html
84
- - doc/files/spec/spec_helper_rb.html
85
- - doc/files/spec/spider
86
- - doc/files/spec/spider/included_in_memcached_spec_rb.src
87
- - doc/files/spec/spider/included_in_memcached_spec_rb.src/M000007.html
88
- - doc/files/spec/spider/included_in_memcached_spec_rb.src/M000006.html
89
- - doc/files/spec/spider/spider_instance_spec_rb.src
90
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000013.html
91
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000009.html
92
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000010.html
93
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000012.html
94
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000008.html
95
- - doc/files/spec/spider/spider_instance_spec_rb.src/M000011.html
96
- - doc/files/spec/spider/included_in_memcached_spec_rb.html
97
- - doc/files/spec/spider/spider_instance_spec_rb.html
98
- - doc/files/spec/spider_spec_rb.html
99
- - doc/files/lib
100
- - doc/files/lib/spider_rb.html
101
- - doc/files/lib/spider
102
- - doc/files/lib/spider/included_in_memcached_rb.html
103
- - doc/files/lib/spider/robot_rules_rb.html
104
- - doc/files/lib/spider/next_urls_in_sqs_rb.html
105
- - doc/files/lib/spider/spider_instance_rb.html
106
- - doc/index.html
107
- - spider.gemspec
108
- - spec
109
- - spec/spec_helper.rb
110
- - spec/spider
111
- - spec/spider/included_in_memcached_spec.rb
112
- - spec/spider/spider_instance_spec.rb
113
- - spec/spider_spec.rb
20
+ files:
21
+ - AUTHORS
114
22
  - CHANGES
115
- - lib
23
+ - LICENSE
24
+ - README.md
116
25
  - lib/spider.rb
117
- - lib/spider
118
- - lib/spider/robot_rules.rb
26
+ - lib/spider/included_in_memcached.rb
119
27
  - lib/spider/next_urls_in_sqs.rb
28
+ - lib/spider/robot_rules.rb
120
29
  - lib/spider/spider_instance.rb
121
- - lib/spider/included_in_memcached.rb
122
- has_rdoc: true
123
- homepage: http://spider.rubyforge.org/
30
+ - spec/spec_helper.rb
31
+ - spec/spider/included_in_memcached_spec.rb
32
+ - spec/spider/spider_instance_spec.rb
33
+ - spec/spider_spec.rb
34
+ - spider.gemspec
35
+ homepage: https://github.com/johnnagro/spider
36
+ licenses: []
37
+ metadata: {}
124
38
  post_install_message:
125
39
  rdoc_options: []
126
-
127
- require_paths:
40
+ require_paths:
128
41
  - lib
129
- required_ruby_version: !ruby/object:Gem::Requirement
130
- requirements:
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
131
44
  - - ">="
132
- - !ruby/object:Gem::Version
133
- version: "0"
134
- version:
135
- required_rubygems_version: !ruby/object:Gem::Requirement
136
- requirements:
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
137
49
  - - ">="
138
- - !ruby/object:Gem::Version
139
- version: "0"
140
- version:
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
141
52
  requirements: []
142
-
143
53
  rubyforge_project: spider
144
- rubygems_version: 1.3.0
54
+ rubygems_version: 2.5.1
145
55
  signing_key:
146
- specification_version: 2
56
+ specification_version: 4
147
57
  summary: A Web spidering library
148
58
  test_files: []
149
-
@@ -1,197 +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>Class: BeStaticServerPages</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="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">BeStaticServerPages</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/spec/spec_helper_rb.html">
59
- spec/spec_helper.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000033">description</a>&nbsp;&nbsp;
90
- <a href="#M000032">failure_message</a>&nbsp;&nbsp;
91
- <a href="#M000031">matches?</a>&nbsp;&nbsp;
92
- <a href="#M000030">new</a>&nbsp;&nbsp;
93
- </div>
94
- </div>
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
-
101
- <div id="section">
102
-
103
-
104
-
105
-
106
-
107
- <div id="attribute-list">
108
- <h3 class="section-bar">Attributes</h3>
109
-
110
- <div class="name-list">
111
- <table>
112
- <tr class="top-aligned-row context-row">
113
- <td class="context-item-name">actual</td>
114
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
115
- <td class="context-item-desc"></td>
116
- </tr>
117
- </table>
118
- </div>
119
- </div>
120
-
121
-
122
-
123
- <!-- if method_list -->
124
- <div id="methods">
125
- <h3 class="section-bar">Public Class methods</h3>
126
-
127
- <div id="method-M000030" class="method-detail">
128
- <a name="M000030"></a>
129
-
130
- <div class="method-heading">
131
- <a href="BeStaticServerPages.src/M000030.html" target="Code" class="method-signature"
132
- onclick="popupCode('BeStaticServerPages.src/M000030.html');return false;">
133
- <span class="method-name">new</span><span class="method-args">()</span>
134
- </a>
135
- </div>
136
-
137
- <div class="method-description">
138
- </div>
139
- </div>
140
-
141
- <h3 class="section-bar">Public Instance methods</h3>
142
-
143
- <div id="method-M000033" class="method-detail">
144
- <a name="M000033"></a>
145
-
146
- <div class="method-heading">
147
- <a href="BeStaticServerPages.src/M000033.html" target="Code" class="method-signature"
148
- onclick="popupCode('BeStaticServerPages.src/M000033.html');return false;">
149
- <span class="method-name">description</span><span class="method-args">()</span>
150
- </a>
151
- </div>
152
-
153
- <div class="method-description">
154
- </div>
155
- </div>
156
-
157
- <div id="method-M000032" class="method-detail">
158
- <a name="M000032"></a>
159
-
160
- <div class="method-heading">
161
- <a href="BeStaticServerPages.src/M000032.html" target="Code" class="method-signature"
162
- onclick="popupCode('BeStaticServerPages.src/M000032.html');return false;">
163
- <span class="method-name">failure_message</span><span class="method-args">()</span>
164
- </a>
165
- </div>
166
-
167
- <div class="method-description">
168
- </div>
169
- </div>
170
-
171
- <div id="method-M000031" class="method-detail">
172
- <a name="M000031"></a>
173
-
174
- <div class="method-heading">
175
- <a href="BeStaticServerPages.src/M000031.html" target="Code" class="method-signature"
176
- onclick="popupCode('BeStaticServerPages.src/M000031.html');return false;">
177
- <span class="method-name">matches?</span><span class="method-args">(actual)</span>
178
- </a>
179
- </div>
180
-
181
- <div class="method-description">
182
- </div>
183
- </div>
184
-
185
-
186
- </div>
187
-
188
-
189
- </div>
190
-
191
-
192
- <div id="validator-badges">
193
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
194
- </div>
195
-
196
- </body>
197
- </html>