merb 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/README +68 -58
  2. data/Rakefile +7 -6
  3. data/TODO +18 -0
  4. data/bin/merb +2 -2
  5. data/doc/rdoc/classes/Hash.html +148 -0
  6. data/doc/rdoc/classes/Merb/Config.html +161 -0
  7. data/doc/rdoc/classes/Merb/Controller.html +488 -0
  8. data/doc/rdoc/classes/Merb/RouteMatcher.html +354 -0
  9. data/doc/rdoc/classes/Merb/Server.html +288 -0
  10. data/doc/rdoc/classes/Merb.html +143 -0
  11. data/doc/rdoc/classes/MerbHandler.html +404 -0
  12. data/doc/rdoc/classes/MerbHash.html +457 -0
  13. data/doc/rdoc/classes/Noroutefound.html +172 -0
  14. data/doc/rdoc/classes/Object.html +149 -0
  15. data/doc/rdoc/classes/String.html +200 -0
  16. data/doc/rdoc/classes/Symbol.html +172 -0
  17. data/doc/rdoc/created.rid +1 -0
  18. data/doc/rdoc/files/LICENSE.html +129 -0
  19. data/doc/rdoc/files/README.html +330 -0
  20. data/doc/rdoc/files/TODO.html +154 -0
  21. data/doc/rdoc/files/lib/merb/merb_controller_rb.html +101 -0
  22. data/doc/rdoc/files/lib/merb/merb_daemon_rb.html +113 -0
  23. data/doc/rdoc/files/lib/merb/merb_handler_rb.html +108 -0
  24. data/doc/rdoc/files/lib/merb/merb_router_rb.html +101 -0
  25. data/doc/rdoc/files/lib/merb/merb_utils_rb.html +101 -0
  26. data/doc/rdoc/files/lib/merb/noroutefound_rb.html +101 -0
  27. data/doc/rdoc/files/lib/merb_config_rb.html +101 -0
  28. data/doc/rdoc/files/lib/merb_rb.html +112 -0
  29. data/doc/rdoc/fr_class_index.html +38 -0
  30. data/doc/rdoc/fr_file_index.html +38 -0
  31. data/doc/rdoc/fr_method_index.html +78 -0
  32. data/doc/rdoc/index.html +24 -0
  33. data/doc/rdoc/rdoc-style.css +208 -0
  34. data/examples/sample_app/{app → dist/app}/controllers/posts.rb +8 -8
  35. data/examples/sample_app/{app → dist/app}/controllers/test.rb +8 -5
  36. data/examples/sample_app/{app → dist/app}/controllers/upload.rb +13 -5
  37. data/examples/sample_app/dist/app/models/post.rb +13 -0
  38. data/examples/sample_app/dist/app/views/layout/application.rhtml +6 -0
  39. data/examples/sample_app/dist/app/views/layout/foo.rhtml +6 -0
  40. data/examples/sample_app/dist/app/views/layout/posts.rhtml +6 -0
  41. data/examples/sample_app/{app → dist/app}/views/posts/list.rhtml +1 -7
  42. data/examples/sample_app/{app → dist/app}/views/posts/new.rhtml +1 -7
  43. data/examples/sample_app/{app → dist/app}/views/posts/show.rhtml +1 -8
  44. data/examples/sample_app/dist/app/views/test/foo.rhtml +2 -0
  45. data/examples/sample_app/{app → dist/app}/views/test/hello.rhtml +1 -8
  46. data/examples/sample_app/{app → dist/app}/views/upload/start.rhtml +0 -8
  47. data/examples/sample_app/{app → dist/app}/views/upload/upload.rhtml +0 -0
  48. data/examples/sample_app/{conf → dist/conf}/merb_init.rb +5 -2
  49. data/examples/sample_app/{conf → dist/conf}/router.rb +6 -8
  50. data/examples/sample_app/test/test_helper.rb +1 -0
  51. data/examples/skeleton/dist/conf/merb_init.rb +21 -0
  52. data/examples/skeleton/dist/conf/router.rb +23 -0
  53. data/examples/skeleton/test/test_helper.rb +1 -0
  54. data/lib/merb/merb_controller.rb +54 -15
  55. data/lib/merb/merb_daemon.rb +35 -20
  56. data/lib/merb/merb_handler.rb +49 -38
  57. data/lib/merb/merb_router.rb +25 -28
  58. data/lib/merb/merb_utils.rb +98 -9
  59. data/{examples/sample_app/app/controllers → lib/merb}/noroutefound.rb +1 -1
  60. data/lib/merb.rb +4 -4
  61. data/lib/merb_config.rb +1 -1
  62. data/test/unit/route_matcher_test.rb +12 -31
  63. metadata +109 -28
  64. data/examples/sample_app/app/models/post.rb +0 -2
  65. data/examples/sample_app/app/views/test/foo.rhtml +0 -6
@@ -0,0 +1,288 @@
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: Merb::Server</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">Merb::Server</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/merb/merb_daemon_rb.html">
59
+ lib/merb/merb_daemon.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
+ <a href="../Object.html">
69
+ Object
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+ <div id="method-list">
88
+ <h3 class="section-bar">Methods</h3>
89
+
90
+ <div class="name-list">
91
+ <a href="#M000052">config</a>&nbsp;&nbsp;
92
+ <a href="#M000051">exit</a>&nbsp;&nbsp;
93
+ <a href="#M000049">merb_config</a>&nbsp;&nbsp;
94
+ <a href="#M000050">run</a>&nbsp;&nbsp;
95
+ </div>
96
+ </div>
97
+
98
+ </div>
99
+
100
+
101
+ <!-- if includes -->
102
+
103
+ <div id="section">
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <!-- if method_list -->
113
+ <div id="methods">
114
+ <h3 class="section-bar">Public Class methods</h3>
115
+
116
+ <div id="method-M000052" class="method-detail">
117
+ <a name="M000052"></a>
118
+
119
+ <div class="method-heading">
120
+ <a href="#M000052" class="method-signature">
121
+ <span class="method-name">config</span><span class="method-args">()</span>
122
+ </a>
123
+ </div>
124
+
125
+ <div class="method-description">
126
+ <p><a class="source-toggle" href="#"
127
+ onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000052-source">
129
+ <pre>
130
+ <span class="ruby-comment cmt"># File lib/merb/merb_daemon.rb, line 86</span>
131
+ 86: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">config</span>
132
+ 87: <span class="ruby-ivar">@@merb_opts</span>
133
+ 88: <span class="ruby-keyword kw">end</span>
134
+ </pre>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <div id="method-M000049" class="method-detail">
140
+ <a name="M000049"></a>
141
+
142
+ <div class="method-heading">
143
+ <a href="#M000049" class="method-signature">
144
+ <span class="method-name">merb_config</span><span class="method-args">()</span>
145
+ </a>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+ <p><a class="source-toggle" href="#"
150
+ onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000049-source">
152
+ <pre>
153
+ <span class="ruby-comment cmt"># File lib/merb/merb_daemon.rb, line 12</span>
154
+ 12: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">merb_config</span>
155
+ 13: <span class="ruby-identifier">options</span> = <span class="ruby-constant">Merb</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span>.<span class="ruby-identifier">setup</span>
156
+ 14:
157
+ 15: <span class="ruby-identifier">opts</span> = <span class="ruby-constant">OptionParser</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">opts</span><span class="ruby-operator">|</span>
158
+ 16: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-c&quot;</span>, <span class="ruby-value str">&quot;--config [String]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
159
+ 17: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:config</span>] = <span class="ruby-identifier">config</span>
160
+ 18: <span class="ruby-keyword kw">end</span>
161
+ 19:
162
+ 20: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-p&quot;</span>, <span class="ruby-value str">&quot;--port [Integer]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">port</span><span class="ruby-operator">|</span>
163
+ 21: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:port</span>] = <span class="ruby-identifier">port</span>
164
+ 22: <span class="ruby-keyword kw">end</span>
165
+ 23:
166
+ 24: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-n&quot;</span>, <span class="ruby-value str">&quot;--num-procs [Integer]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">numprocs</span><span class="ruby-operator">|</span>
167
+ 25: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:numprocs</span>] = <span class="ruby-identifier">numprocs</span>
168
+ 26: <span class="ruby-keyword kw">end</span>
169
+ 27:
170
+ 28: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-h&quot;</span>, <span class="ruby-value str">&quot;--host [String]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">host</span><span class="ruby-operator">|</span>
171
+ 29: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:host</span>] = <span class="ruby-identifier">host</span>
172
+ 30: <span class="ruby-keyword kw">end</span>
173
+ 31:
174
+ 32: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-m&quot;</span>, <span class="ruby-value str">&quot;--merb-root [String]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">merb_root</span><span class="ruby-operator">|</span>
175
+ 33: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:merb_root</span>] = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">merb_root</span>)
176
+ 34: <span class="ruby-keyword kw">end</span>
177
+ 35:
178
+ 36: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span>(<span class="ruby-value str">&quot;-i&quot;</span>, <span class="ruby-value str">&quot;--irb-console [String]&quot;</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">console</span><span class="ruby-operator">|</span>
179
+ 37: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:console</span>] = <span class="ruby-keyword kw">true</span>
180
+ 38: <span class="ruby-keyword kw">end</span>
181
+ 39: <span class="ruby-keyword kw">end</span>
182
+ 40:
183
+ 41: <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">parse!</span>(<span class="ruby-ivar">@@merb_raw_opts</span>)
184
+ 42:
185
+ 43:
186
+ 44: <span class="ruby-ivar">@@merb_opts</span> = <span class="ruby-identifier">options</span>
187
+ 45: <span class="ruby-identifier">puts</span> <span class="ruby-value str">%{Merb started with these options:}</span>
188
+ 46: <span class="ruby-identifier">puts</span> <span class="ruby-ivar">@@merb_opts</span>.<span class="ruby-identifier">to_yaml</span>; <span class="ruby-identifier">puts</span>
189
+ 47: <span class="ruby-keyword kw">end</span>
190
+ </pre>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <div id="method-M000050" class="method-detail">
196
+ <a name="M000050"></a>
197
+
198
+ <div class="method-heading">
199
+ <a href="#M000050" class="method-signature">
200
+ <span class="method-name">run</span><span class="method-args">()</span>
201
+ </a>
202
+ </div>
203
+
204
+ <div class="method-description">
205
+ <p><a class="source-toggle" href="#"
206
+ onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
207
+ <div class="method-source-code" id="M000050-source">
208
+ <pre>
209
+ <span class="ruby-comment cmt"># File lib/merb/merb_daemon.rb, line 49</span>
210
+ 49: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">run</span>
211
+ 50:
212
+ 51: <span class="ruby-identifier">options</span> = {
213
+ 52: <span class="ruby-identifier">:dir</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">pwd</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'/log/'</span>,
214
+ 53: <span class="ruby-identifier">:dir_mode</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:normal</span>
215
+ 54: }
216
+ 55:
217
+ 56: <span class="ruby-ivar">@@merb_raw_opts</span> = <span class="ruby-constant">ARGV</span>
218
+ 57: <span class="ruby-identifier">merb_config</span>
219
+ 58:
220
+ 59: <span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:dist_root</span>] = <span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:merb_root</span>]<span class="ruby-operator">+</span><span class="ruby-value str">'/dist'</span>
221
+ 60:
222
+ 61: <span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">unshift</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:merb_root</span>] , <span class="ruby-value str">'/dist/app/controllers'</span>) )
223
+ 62: <span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">unshift</span>( <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:merb_root</span>] , <span class="ruby-value str">'/dist/lib'</span>) )
224
+ 63: <span class="ruby-identifier">require</span> <span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:merb_root</span>]<span class="ruby-operator">+</span><span class="ruby-value str">'/dist/conf/router.rb'</span>
225
+ 64: <span class="ruby-identifier">require</span> <span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:merb_root</span>]<span class="ruby-operator">+</span><span class="ruby-value str">'/dist/conf/merb_init.rb'</span>
226
+ 65:
227
+ 66: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:console</span>]
228
+ 67: <span class="ruby-constant">ARGV</span>.<span class="ruby-identifier">clear</span> <span class="ruby-comment cmt"># Avoid passing args to IRB </span>
229
+ 68: <span class="ruby-identifier">require</span> <span class="ruby-value str">'irb'</span>
230
+ 69: <span class="ruby-identifier">require</span> <span class="ruby-value str">'irb/completion'</span>
231
+ 70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exit</span>
232
+ 71: <span class="ruby-identifier">exit!</span>
233
+ 72: <span class="ruby-keyword kw">end</span>
234
+ 73: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span> <span class="ruby-value str">&quot;.irbrc&quot;</span>
235
+ 74: <span class="ruby-constant">ENV</span>[<span class="ruby-value str">'IRBRC'</span>] = <span class="ruby-value str">&quot;.irbrc&quot;</span>
236
+ 75: <span class="ruby-keyword kw">end</span>
237
+ 76: <span class="ruby-constant">IRB</span>.<span class="ruby-identifier">start</span>
238
+ 77: <span class="ruby-keyword kw">end</span>
239
+ 78:
240
+ 79: <span class="ruby-identifier">h</span> = <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">HttpServer</span>.<span class="ruby-identifier">new</span>((<span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:host</span>]<span class="ruby-operator">||</span><span class="ruby-value str">&quot;0.0.0.0&quot;</span>), (<span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:port</span>]<span class="ruby-operator">||</span><span class="ruby-value">4000</span>))<span class="ruby-comment cmt">#, (@@merb_opts[:numprocs]||40))</span>
241
+ 80: <span class="ruby-identifier">h</span>.<span class="ruby-identifier">register</span>(<span class="ruby-value str">&quot;/&quot;</span>, <span class="ruby-constant">MerbHandler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@@merb_opts</span>[<span class="ruby-identifier">:dist_root</span>]<span class="ruby-operator">+</span><span class="ruby-value str">'/public'</span>))
242
+ 81: <span class="ruby-identifier">h</span>.<span class="ruby-identifier">register</span>(<span class="ruby-value str">&quot;/favicon.ico&quot;</span>, <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">Error404Handler</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;&quot;</span>))
243
+ 82: <span class="ruby-identifier">h</span>.<span class="ruby-identifier">run</span>.<span class="ruby-identifier">join</span>
244
+ 83:
245
+ 84: <span class="ruby-keyword kw">end</span>
246
+ </pre>
247
+ </div>
248
+ </div>
249
+ </div>
250
+
251
+ <h3 class="section-bar">Public Instance methods</h3>
252
+
253
+ <div id="method-M000051" class="method-detail">
254
+ <a name="M000051"></a>
255
+
256
+ <div class="method-heading">
257
+ <a href="#M000051" class="method-signature">
258
+ <span class="method-name">exit</span><span class="method-args">()</span>
259
+ </a>
260
+ </div>
261
+
262
+ <div class="method-description">
263
+ <p><a class="source-toggle" href="#"
264
+ onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
265
+ <div class="method-source-code" id="M000051-source">
266
+ <pre>
267
+ <span class="ruby-comment cmt"># File lib/merb/merb_daemon.rb, line 70</span>
268
+ 70: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exit</span>
269
+ 71: <span class="ruby-identifier">exit!</span>
270
+ 72: <span class="ruby-keyword kw">end</span>
271
+ </pre>
272
+ </div>
273
+ </div>
274
+ </div>
275
+
276
+
277
+ </div>
278
+
279
+
280
+ </div>
281
+
282
+
283
+ <div id="validator-badges">
284
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
285
+ </div>
286
+
287
+ </body>
288
+ </html>
@@ -0,0 +1,143 @@
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>Module: Merb</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>Module</strong></td>
53
+ <td class="class-name-in-header">Merb</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/merb_rb.html">
59
+ lib/merb.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/merb_config_rb.html">
63
+ lib/merb_config.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/merb/merb_controller_rb.html">
67
+ lib/merb/merb_controller.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/merb/merb_daemon_rb.html">
71
+ lib/merb/merb_daemon.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/merb/merb_router_rb.html">
75
+ lib/merb/merb_router.rb
76
+ </a>
77
+ <br />
78
+ </td>
79
+ </tr>
80
+
81
+ </table>
82
+ </div>
83
+ <!-- banner header -->
84
+
85
+ <div id="bodyContent">
86
+
87
+
88
+
89
+ <div id="contextContent">
90
+
91
+
92
+
93
+ </div>
94
+
95
+
96
+ </div>
97
+
98
+
99
+ <!-- if includes -->
100
+
101
+ <div id="section">
102
+
103
+ <div id="class-list">
104
+ <h3 class="section-bar">Classes and Modules</h3>
105
+
106
+ Class <a href="Merb/Config.html" class="link">Merb::Config</a><br />
107
+ Class <a href="Merb/Controller.html" class="link">Merb::Controller</a><br />
108
+ Class <a href="Merb/RouteMatcher.html" class="link">Merb::RouteMatcher</a><br />
109
+ Class <a href="Merb/Server.html" class="link">Merb::Server</a><br />
110
+
111
+ </div>
112
+
113
+ <div id="constants-list">
114
+ <h3 class="section-bar">Constants</h3>
115
+
116
+ <div class="name-list">
117
+ <table summary="Constants">
118
+ <tr class="top-aligned-row context-row">
119
+ <td class="context-item-name">VERSION</td>
120
+ <td>=</td>
121
+ <td class="context-item-value">'0.0.4' unless defined?VERSION</td>
122
+ </tr>
123
+ </table>
124
+ </div>
125
+ </div>
126
+
127
+
128
+
129
+
130
+
131
+
132
+ <!-- if method_list -->
133
+
134
+
135
+ </div>
136
+
137
+
138
+ <div id="validator-badges">
139
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
140
+ </div>
141
+
142
+ </body>
143
+ </html>