bigbench 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. data/.gitignore +5 -0
  2. data/Gemfile +4 -0
  3. data/README.textile +81 -0
  4. data/Rakefile +10 -0
  5. data/bigbench.gemspec +29 -0
  6. data/bin/bigbench +6 -0
  7. data/doc/BigBench.html +631 -0
  8. data/doc/BigBench/Benchmark.html +328 -0
  9. data/doc/BigBench/Benchmark/Benchmark.html +431 -0
  10. data/doc/BigBench/Bot.html +233 -0
  11. data/doc/BigBench/Configuration.html +312 -0
  12. data/doc/BigBench/Configuration/Config.html +375 -0
  13. data/doc/BigBench/Configuration/InvalidOptions.html +217 -0
  14. data/doc/BigBench/Executor.html +252 -0
  15. data/doc/BigBench/Executor/InvalidCommand.html +222 -0
  16. data/doc/BigBench/Fragment.html +404 -0
  17. data/doc/BigBench/Fragment/Fragment.html +384 -0
  18. data/doc/BigBench/Output.html +703 -0
  19. data/doc/BigBench/Runner.html +222 -0
  20. data/doc/BigBench/Runner/NoBenchmarksDefined.html +217 -0
  21. data/doc/BigBench/Store.html +639 -0
  22. data/doc/BigBench/Tracker.html +179 -0
  23. data/doc/BigBench/Tracker/Tracker.html +273 -0
  24. data/doc/Float.html +217 -0
  25. data/doc/Gemfile.html +129 -0
  26. data/doc/Helpers.html +163 -0
  27. data/doc/Object.html +181 -0
  28. data/doc/Rakefile.html +136 -0
  29. data/doc/TestWebServer.html +247 -0
  30. data/doc/created.rid +31 -0
  31. data/doc/images/add.png +0 -0
  32. data/doc/images/brick.png +0 -0
  33. data/doc/images/brick_link.png +0 -0
  34. data/doc/images/bug.png +0 -0
  35. data/doc/images/bullet_black.png +0 -0
  36. data/doc/images/bullet_toggle_minus.png +0 -0
  37. data/doc/images/bullet_toggle_plus.png +0 -0
  38. data/doc/images/date.png +0 -0
  39. data/doc/images/delete.png +0 -0
  40. data/doc/images/find.png +0 -0
  41. data/doc/images/loadingAnimation.gif +0 -0
  42. data/doc/images/macFFBgHack.png +0 -0
  43. data/doc/images/package.png +0 -0
  44. data/doc/images/page_green.png +0 -0
  45. data/doc/images/page_white_text.png +0 -0
  46. data/doc/images/page_white_width.png +0 -0
  47. data/doc/images/plugin.png +0 -0
  48. data/doc/images/ruby.png +0 -0
  49. data/doc/images/tag_blue.png +0 -0
  50. data/doc/images/tag_green.png +0 -0
  51. data/doc/images/transparent.png +0 -0
  52. data/doc/images/wrench.png +0 -0
  53. data/doc/images/wrench_orange.png +0 -0
  54. data/doc/images/zoom.png +0 -0
  55. data/doc/index.html +122 -0
  56. data/doc/js/darkfish.js +153 -0
  57. data/doc/js/jquery.js +18 -0
  58. data/doc/js/navigation.js +142 -0
  59. data/doc/js/search.js +94 -0
  60. data/doc/js/search_index.js +1 -0
  61. data/doc/js/searcher.js +228 -0
  62. data/doc/lib/bigbench/help/executor_txt.html +145 -0
  63. data/doc/rdoc.css +543 -0
  64. data/doc/table_of_contents.html +263 -0
  65. data/lib/bigbench.rb +18 -0
  66. data/lib/bigbench/benchmark.rb +126 -0
  67. data/lib/bigbench/bot.rb +34 -0
  68. data/lib/bigbench/configuration.rb +109 -0
  69. data/lib/bigbench/executor.rb +131 -0
  70. data/lib/bigbench/float_extensions.rb +6 -0
  71. data/lib/bigbench/fragment.rb +119 -0
  72. data/lib/bigbench/help/executor.txt +17 -0
  73. data/lib/bigbench/initializers.rb +2 -0
  74. data/lib/bigbench/output.rb +116 -0
  75. data/lib/bigbench/runner.rb +52 -0
  76. data/lib/bigbench/store.rb +92 -0
  77. data/lib/bigbench/tracker.rb +79 -0
  78. data/lib/bigbench/version.rb +3 -0
  79. data/spec/benchmark_spec.rb +69 -0
  80. data/spec/bot_spec.rb +31 -0
  81. data/spec/configure_spec.rb +39 -0
  82. data/spec/executor_spec.rb +80 -0
  83. data/spec/fragment_spec.rb +110 -0
  84. data/spec/helpers.rb +19 -0
  85. data/spec/lib/test_web_server.rb +18 -0
  86. data/spec/runner_spec.rb +40 -0
  87. data/spec/store_spec.rb +72 -0
  88. data/spec/tests/local.rb +15 -0
  89. data/spec/tests/local_invalid.rb +9 -0
  90. data/spec/tracker_spec.rb +50 -0
  91. data/spec/webserver_spec.rb +35 -0
  92. metadata +220 -0
@@ -0,0 +1,181 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Object - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>spec/helpers.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">BasicObject
63
+
64
+ </nav>
65
+
66
+ <!-- Included Modules -->
67
+ <nav id="includes-section" class="section">
68
+ <h3 class="section-header">Included Modules</h3>
69
+
70
+ <ul class="link-list">
71
+
72
+
73
+ <li><a class="include" href="Helpers.html">Helpers</a>
74
+
75
+
76
+ </ul>
77
+ </nav>
78
+
79
+
80
+ </div>
81
+
82
+ <div id="project-metadata">
83
+ <nav id="fileindex-section" class="section project-section">
84
+ <h3 class="section-header">Pages</h3>
85
+
86
+ <ul>
87
+
88
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
89
+
90
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
91
+
92
+ <li class="file"><a href="./lib/bigbench/help/executor_txt.html">executor</a>
93
+
94
+ </ul>
95
+ </nav>
96
+
97
+ <nav id="classindex-section" class="section project-section">
98
+ <h3 class="section-header">Class and Module Index</h3>
99
+
100
+ <ul class="link-list">
101
+
102
+ <li><a href="./BigBench.html">BigBench</a>
103
+
104
+ <li><a href="./BigBench/Benchmark.html">BigBench::Benchmark</a>
105
+
106
+ <li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
107
+
108
+ <li><a href="./BigBench/Bot.html">BigBench::Bot</a>
109
+
110
+ <li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
111
+
112
+ <li><a href="./BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
113
+
114
+ <li><a href="./BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
115
+
116
+ <li><a href="./BigBench/Executor.html">BigBench::Executor</a>
117
+
118
+ <li><a href="./BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
119
+
120
+ <li><a href="./BigBench/Fragment.html">BigBench::Fragment</a>
121
+
122
+ <li><a href="./BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
123
+
124
+ <li><a href="./BigBench/Output.html">BigBench::Output</a>
125
+
126
+ <li><a href="./BigBench/Runner.html">BigBench::Runner</a>
127
+
128
+ <li><a href="./BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
129
+
130
+ <li><a href="./BigBench/Store.html">BigBench::Store</a>
131
+
132
+ <li><a href="./BigBench/Tracker.html">BigBench::Tracker</a>
133
+
134
+ <li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
135
+
136
+ <li><a href="./Float.html">Float</a>
137
+
138
+ <li><a href="./Helpers.html">Helpers</a>
139
+
140
+ <li><a href="./Object.html">Object</a>
141
+
142
+ <li><a href="./TestWebServer.html">TestWebServer</a>
143
+
144
+ </ul>
145
+ </nav>
146
+
147
+ </div>
148
+ </nav>
149
+
150
+ <div id="documentation">
151
+ <h1 class="class">class Object</h1>
152
+
153
+ <div id="description" class="description">
154
+
155
+ </div><!-- description -->
156
+
157
+
158
+
159
+
160
+ <section id="5Buntitled-5D" class="documentation-section">
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ <!-- Methods -->
170
+
171
+ </section><!-- 5Buntitled-5D -->
172
+
173
+ </div><!-- documentation -->
174
+
175
+
176
+ <footer id="validator-badges">
177
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
178
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
179
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
180
+ </footer>
181
+
@@ -0,0 +1,136 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>Rakefile - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body class="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="project-metadata">
47
+ <nav id="fileindex-section" class="section project-section">
48
+ <h3 class="section-header">Pages</h3>
49
+
50
+ <ul>
51
+
52
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
53
+
54
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
55
+
56
+ <li class="file"><a href="./lib/bigbench/help/executor_txt.html">executor</a>
57
+
58
+ </ul>
59
+ </nav>
60
+
61
+ <nav id="classindex-section" class="section project-section">
62
+ <h3 class="section-header">Class and Module Index</h3>
63
+
64
+ <ul class="link-list">
65
+
66
+ <li><a href="./BigBench.html">BigBench</a>
67
+
68
+ <li><a href="./BigBench/Benchmark.html">BigBench::Benchmark</a>
69
+
70
+ <li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
71
+
72
+ <li><a href="./BigBench/Bot.html">BigBench::Bot</a>
73
+
74
+ <li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
75
+
76
+ <li><a href="./BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
77
+
78
+ <li><a href="./BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
79
+
80
+ <li><a href="./BigBench/Executor.html">BigBench::Executor</a>
81
+
82
+ <li><a href="./BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
83
+
84
+ <li><a href="./BigBench/Fragment.html">BigBench::Fragment</a>
85
+
86
+ <li><a href="./BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
87
+
88
+ <li><a href="./BigBench/Output.html">BigBench::Output</a>
89
+
90
+ <li><a href="./BigBench/Runner.html">BigBench::Runner</a>
91
+
92
+ <li><a href="./BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
93
+
94
+ <li><a href="./BigBench/Store.html">BigBench::Store</a>
95
+
96
+ <li><a href="./BigBench/Tracker.html">BigBench::Tracker</a>
97
+
98
+ <li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
99
+
100
+ <li><a href="./Float.html">Float</a>
101
+
102
+ <li><a href="./Helpers.html">Helpers</a>
103
+
104
+ <li><a href="./Object.html">Object</a>
105
+
106
+ <li><a href="./TestWebServer.html">TestWebServer</a>
107
+
108
+ </ul>
109
+ </nav>
110
+
111
+ </div>
112
+ </nav>
113
+
114
+ <div id="documentation" class="description">
115
+
116
+ <p>require “bundler/gem_tasks”</p>
117
+
118
+ <p>namespace :bigbench do</p>
119
+
120
+ <pre>desc &quot;Create and open documentation&quot;
121
+ task :doc do
122
+ `rdoc --main BigBench --include lib/bigbench/help/ &amp;&amp; open doc/index.html`
123
+ end</pre>
124
+
125
+ <p>end</p>
126
+
127
+ </div>
128
+
129
+
130
+
131
+ <footer id="validator-badges">
132
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
133
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
134
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
135
+ </footer>
136
+
@@ -0,0 +1,247 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module TestWebServer - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>spec/lib/test_web_server.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-c-start">::start</a>
68
+
69
+ <li><a href="#method-c-stop">::stop</a>
70
+
71
+ </ul>
72
+ </nav>
73
+
74
+ </div>
75
+
76
+ <div id="project-metadata">
77
+ <nav id="fileindex-section" class="section project-section">
78
+ <h3 class="section-header">Pages</h3>
79
+
80
+ <ul>
81
+
82
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
83
+
84
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
85
+
86
+ <li class="file"><a href="./lib/bigbench/help/executor_txt.html">executor</a>
87
+
88
+ </ul>
89
+ </nav>
90
+
91
+ <nav id="classindex-section" class="section project-section">
92
+ <h3 class="section-header">Class and Module Index</h3>
93
+
94
+ <ul class="link-list">
95
+
96
+ <li><a href="./BigBench.html">BigBench</a>
97
+
98
+ <li><a href="./BigBench/Benchmark.html">BigBench::Benchmark</a>
99
+
100
+ <li><a href="./BigBench/Benchmark/Benchmark.html">BigBench::Benchmark::Benchmark</a>
101
+
102
+ <li><a href="./BigBench/Bot.html">BigBench::Bot</a>
103
+
104
+ <li><a href="./BigBench/Configuration.html">BigBench::Configuration</a>
105
+
106
+ <li><a href="./BigBench/Configuration/Config.html">BigBench::Configuration::Config</a>
107
+
108
+ <li><a href="./BigBench/Configuration/InvalidOptions.html">BigBench::Configuration::InvalidOptions</a>
109
+
110
+ <li><a href="./BigBench/Executor.html">BigBench::Executor</a>
111
+
112
+ <li><a href="./BigBench/Executor/InvalidCommand.html">BigBench::Executor::InvalidCommand</a>
113
+
114
+ <li><a href="./BigBench/Fragment.html">BigBench::Fragment</a>
115
+
116
+ <li><a href="./BigBench/Fragment/Fragment.html">BigBench::Fragment::Fragment</a>
117
+
118
+ <li><a href="./BigBench/Output.html">BigBench::Output</a>
119
+
120
+ <li><a href="./BigBench/Runner.html">BigBench::Runner</a>
121
+
122
+ <li><a href="./BigBench/Runner/NoBenchmarksDefined.html">BigBench::Runner::NoBenchmarksDefined</a>
123
+
124
+ <li><a href="./BigBench/Store.html">BigBench::Store</a>
125
+
126
+ <li><a href="./BigBench/Tracker.html">BigBench::Tracker</a>
127
+
128
+ <li><a href="./BigBench/Tracker/Tracker.html">BigBench::Tracker::Tracker</a>
129
+
130
+ <li><a href="./Float.html">Float</a>
131
+
132
+ <li><a href="./Helpers.html">Helpers</a>
133
+
134
+ <li><a href="./Object.html">Object</a>
135
+
136
+ <li><a href="./TestWebServer.html">TestWebServer</a>
137
+
138
+ </ul>
139
+ </nav>
140
+
141
+ </div>
142
+ </nav>
143
+
144
+ <div id="documentation">
145
+ <h1 class="module">module TestWebServer</h1>
146
+
147
+ <div id="description" class="description">
148
+
149
+ </div><!-- description -->
150
+
151
+
152
+
153
+
154
+ <section id="5Buntitled-5D" class="documentation-section">
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ <!-- Methods -->
164
+
165
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
166
+ <h3 class="section-header">Public Class Methods</h3>
167
+
168
+
169
+ <div id="method-c-start" class="method-detail ">
170
+
171
+ <div class="method-heading">
172
+ <span class="method-name">start</span><span
173
+ class="method-args">()</span>
174
+ <span class="method-click-advice">click to toggle source</span>
175
+ </div>
176
+
177
+
178
+ <div class="method-description">
179
+
180
+
181
+
182
+
183
+
184
+ <div class="method-source-code" id="start-source">
185
+ <pre><span class="ruby-comment"># File spec/lib/test_web_server.rb, line 4</span>
186
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">start</span>
187
+ <span class="ruby-constant">TestWebServer</span>.<span class="ruby-identifier">server</span> = <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">new</span> {
188
+ <span class="ruby-identifier">app</span> = <span class="ruby-identifier">proc</span> { [<span class="ruby-value">200</span>, {<span class="ruby-string">'Content-Type'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'text/plain'</span>}, [<span class="ruby-string">'Test'</span>]] }
189
+ <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">Handler</span><span class="ruby-operator">::</span><span class="ruby-constant">Thin</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">app</span>,<span class="ruby-value">:Port</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">3001</span>)
190
+ }
191
+ <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Starting Test Webserver&quot;</span>
192
+ <span class="ruby-identifier">sleep</span> <span class="ruby-value">2</span>
193
+ <span class="ruby-keyword">end</span></pre>
194
+ </div><!-- start-source -->
195
+
196
+ </div>
197
+
198
+
199
+
200
+
201
+ </div><!-- start-method -->
202
+
203
+
204
+ <div id="method-c-stop" class="method-detail ">
205
+
206
+ <div class="method-heading">
207
+ <span class="method-name">stop</span><span
208
+ class="method-args">()</span>
209
+ <span class="method-click-advice">click to toggle source</span>
210
+ </div>
211
+
212
+
213
+ <div class="method-description">
214
+
215
+
216
+
217
+
218
+
219
+ <div class="method-source-code" id="stop-source">
220
+ <pre><span class="ruby-comment"># File spec/lib/test_web_server.rb, line 13</span>
221
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">stop</span>
222
+ <span class="ruby-constant">Thread</span>.<span class="ruby-identifier">kill</span>(<span class="ruby-constant">TestWebServer</span>.<span class="ruby-identifier">server</span>)
223
+ <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;Stopping Test Webserver&quot;</span>
224
+ <span class="ruby-keyword">end</span></pre>
225
+ </div><!-- stop-source -->
226
+
227
+ </div>
228
+
229
+
230
+
231
+
232
+ </div><!-- stop-method -->
233
+
234
+
235
+ </section><!-- public-class-method-details -->
236
+
237
+ </section><!-- 5Buntitled-5D -->
238
+
239
+ </div><!-- documentation -->
240
+
241
+
242
+ <footer id="validator-badges">
243
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
244
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
245
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
246
+ </footer>
247
+