ymdp 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/Gemfile +2 -1
  2. data/VERSION +1 -1
  3. data/doc/ActionView.html +175 -0
  4. data/doc/ActionView/Helpers.html +175 -0
  5. data/doc/ActionView/Helpers/TagHelper.html +439 -0
  6. data/doc/Application.html +295 -0
  7. data/doc/LICENSE.html +158 -0
  8. data/doc/Object.html +218 -0
  9. data/doc/README_rdoc.html +147 -0
  10. data/doc/YMDP.html +232 -0
  11. data/doc/YMDP/ApplicationView.html +563 -0
  12. data/doc/YMDP/AssetTagHelper.html +235 -0
  13. data/doc/YMDP/Base.html +560 -0
  14. data/doc/YMDP/Compiler.html +178 -0
  15. data/doc/YMDP/Compiler/Base.html +1181 -0
  16. data/doc/YMDP/Compiler/Domains.html +493 -0
  17. data/doc/YMDP/Compiler/Options.html +265 -0
  18. data/doc/YMDP/Compiler/Template.html +175 -0
  19. data/doc/YMDP/Compiler/Template/Base.html +911 -0
  20. data/doc/YMDP/Compiler/Template/CoffeeScript.html +236 -0
  21. data/doc/YMDP/Compiler/Template/JavaScript.html +237 -0
  22. data/doc/YMDP/Compiler/Template/View.html +495 -0
  23. data/doc/YMDP/Compiler/Template/YRB.html +469 -0
  24. data/doc/YMDP/Configuration.html +175 -0
  25. data/doc/YMDP/Configuration/Base.html +426 -0
  26. data/doc/YMDP/Configuration/Config.html +553 -0
  27. data/doc/YMDP/Configuration/Servers.html +265 -0
  28. data/doc/YMDP/Configuration/Setter.html +580 -0
  29. data/doc/YMDP/FormTagHelper.html +298 -0
  30. data/doc/YMDP/GitHelper.html +298 -0
  31. data/doc/YMDP/LinkTagHelper.html +299 -0
  32. data/doc/YMDP/View.html +239 -0
  33. data/doc/created.rid +18 -0
  34. data/doc/images/add.png +0 -0
  35. data/doc/images/brick.png +0 -0
  36. data/doc/images/brick_link.png +0 -0
  37. data/doc/images/bug.png +0 -0
  38. data/doc/images/bullet_black.png +0 -0
  39. data/doc/images/bullet_toggle_minus.png +0 -0
  40. data/doc/images/bullet_toggle_plus.png +0 -0
  41. data/doc/images/date.png +0 -0
  42. data/doc/images/delete.png +0 -0
  43. data/doc/images/find.png +0 -0
  44. data/doc/images/loadingAnimation.gif +0 -0
  45. data/doc/images/macFFBgHack.png +0 -0
  46. data/doc/images/package.png +0 -0
  47. data/doc/images/page_green.png +0 -0
  48. data/doc/images/page_white_text.png +0 -0
  49. data/doc/images/page_white_width.png +0 -0
  50. data/doc/images/plugin.png +0 -0
  51. data/doc/images/ruby.png +0 -0
  52. data/doc/images/tag_blue.png +0 -0
  53. data/doc/images/tag_green.png +0 -0
  54. data/doc/images/transparent.png +0 -0
  55. data/doc/images/wrench.png +0 -0
  56. data/doc/images/wrench_orange.png +0 -0
  57. data/doc/images/zoom.png +0 -0
  58. data/doc/index.html +134 -0
  59. data/doc/js/darkfish.js +153 -0
  60. data/doc/js/jquery.js +18 -0
  61. data/doc/js/navigation.js +142 -0
  62. data/doc/js/search.js +94 -0
  63. data/doc/js/search_index.js +1 -0
  64. data/doc/js/searcher.js +228 -0
  65. data/doc/rdoc.css +543 -0
  66. data/doc/table_of_contents.html +401 -0
  67. data/lib/ymdp/compiler/template.rb +5 -1
  68. data/lib/ymdp/view/application_view.rb +10 -5
  69. data/ymdp.gemspec +69 -2
  70. metadata +120 -42
@@ -0,0 +1,299 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module YMDP::LinkTagHelper - 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>lib/ymdp/view/asset_tag_helper.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-i-link_to">#link_to</a>
68
+
69
+ <li><a href="#method-i-link_to_function">#link_to_function</a>
70
+
71
+ <li><a href="#method-i-link_to_unless_current">#link_to_unless_current</a>
72
+
73
+ </ul>
74
+ </nav>
75
+
76
+ </div>
77
+
78
+ <div id="project-metadata">
79
+ <nav id="fileindex-section" class="section project-section">
80
+ <h3 class="section-header">Pages</h3>
81
+
82
+ <ul>
83
+
84
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
85
+
86
+ <li class="file"><a href="../README_rdoc.html">README</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="../YMDP.html">YMDP</a>
97
+
98
+ <li><a href="../YMDP/ApplicationView.html">YMDP::ApplicationView</a>
99
+
100
+ <li><a href="../YMDP/AssetTagHelper.html">YMDP::AssetTagHelper</a>
101
+
102
+ <li><a href="../YMDP/Base.html">YMDP::Base</a>
103
+
104
+ <li><a href="../YMDP/Compiler.html">YMDP::Compiler</a>
105
+
106
+ <li><a href="../YMDP/Compiler/Base.html">YMDP::Compiler::Base</a>
107
+
108
+ <li><a href="../YMDP/Compiler/Domains.html">YMDP::Compiler::Domains</a>
109
+
110
+ <li><a href="../YMDP/Compiler/Options.html">YMDP::Compiler::Options</a>
111
+
112
+ <li><a href="../YMDP/Compiler/Template.html">YMDP::Compiler::Template</a>
113
+
114
+ <li><a href="../YMDP/Compiler/Template/Base.html">YMDP::Compiler::Template::Base</a>
115
+
116
+ <li><a href="../YMDP/Compiler/Template/CoffeeScript.html">YMDP::Compiler::Template::CoffeeScript</a>
117
+
118
+ <li><a href="../YMDP/Compiler/Template/JavaScript.html">YMDP::Compiler::Template::JavaScript</a>
119
+
120
+ <li><a href="../YMDP/Compiler/Template/View.html">YMDP::Compiler::Template::View</a>
121
+
122
+ <li><a href="../YMDP/Compiler/Template/YRB.html">YMDP::Compiler::Template::YRB</a>
123
+
124
+ <li><a href="../YMDP/Configuration.html">YMDP::Configuration</a>
125
+
126
+ <li><a href="../YMDP/Configuration/Base.html">YMDP::Configuration::Base</a>
127
+
128
+ <li><a href="../YMDP/Configuration/Config.html">YMDP::Configuration::Config</a>
129
+
130
+ <li><a href="../YMDP/Configuration/Servers.html">YMDP::Configuration::Servers</a>
131
+
132
+ <li><a href="../YMDP/Configuration/Setter.html">YMDP::Configuration::Setter</a>
133
+
134
+ <li><a href="../YMDP/FormTagHelper.html">YMDP::FormTagHelper</a>
135
+
136
+ <li><a href="../YMDP/GitHelper.html">YMDP::GitHelper</a>
137
+
138
+ <li><a href="../YMDP/LinkTagHelper.html">YMDP::LinkTagHelper</a>
139
+
140
+ <li><a href="../YMDP/View.html">YMDP::View</a>
141
+
142
+ <li><a href="../ActionView.html">ActionView</a>
143
+
144
+ <li><a href="../ActionView/Helpers.html">ActionView::Helpers</a>
145
+
146
+ <li><a href="../ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
147
+
148
+ <li><a href="../Application.html">Application</a>
149
+
150
+ <li><a href="../Object.html">Object</a>
151
+
152
+ </ul>
153
+ </nav>
154
+
155
+ </div>
156
+ </nav>
157
+
158
+ <div id="documentation">
159
+ <h1 class="module">module YMDP::LinkTagHelper</h1>
160
+
161
+ <div id="description" class="description">
162
+
163
+ </div><!-- description -->
164
+
165
+
166
+
167
+
168
+ <section id="5Buntitled-5D" class="documentation-section">
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+ <!-- Methods -->
178
+
179
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
180
+ <h3 class="section-header">Public Instance Methods</h3>
181
+
182
+
183
+ <div id="method-i-link_to" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">link_to</span><span
187
+ class="method-args">(text, url_or_view, options={})</span>
188
+ <span class="method-click-advice">click to toggle source</span>
189
+ </div>
190
+
191
+
192
+ <div class="method-description">
193
+
194
+
195
+
196
+
197
+
198
+ <div class="method-source-code" id="link_to-source">
199
+ <pre><span class="ruby-comment"># File lib/ymdp/view/asset_tag_helper.rb, line 15</span>
200
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">url_or_view</span>, <span class="ruby-identifier">options</span>={})
201
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">url_or_view</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">ProtocolRegexp</span>
202
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:href</span>] = <span class="ruby-identifier">url_or_view</span>
203
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:target</span>] <span class="ruby-operator">||=</span> <span class="ruby-string">&quot;_blank&quot;</span>
204
+ <span class="ruby-keyword">else</span>
205
+ <span class="ruby-comment"># this will create an in-YMDP link</span>
206
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:onclick</span>] = <span class="ruby-node">&quot;Launcher.l('#{url_or_view}'); return false;&quot;</span>
207
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:href</span>] = <span class="ruby-node">&quot;#&quot;</span>
208
+ <span class="ruby-keyword">end</span>
209
+ <span class="ruby-identifier">content_tag</span>(<span class="ruby-string">&quot;a&quot;</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">options</span>)
210
+ <span class="ruby-keyword">end</span></pre>
211
+ </div><!-- link_to-source -->
212
+
213
+ </div>
214
+
215
+
216
+
217
+
218
+ </div><!-- link_to-method -->
219
+
220
+
221
+ <div id="method-i-link_to_function" class="method-detail ">
222
+
223
+ <div class="method-heading">
224
+ <span class="method-name">link_to_function</span><span
225
+ class="method-args">(text, function, options={})</span>
226
+ <span class="method-click-advice">click to toggle source</span>
227
+ </div>
228
+
229
+
230
+ <div class="method-description">
231
+
232
+
233
+
234
+
235
+
236
+ <div class="method-source-code" id="link_to_function-source">
237
+ <pre><span class="ruby-comment"># File lib/ymdp/view/asset_tag_helper.rb, line 27</span>
238
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_function</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">function</span>, <span class="ruby-identifier">options</span>={})
239
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:onclick</span>] = <span class="ruby-identifier">function</span>
240
+ <span class="ruby-identifier">options</span>[<span class="ruby-value">:href</span>] = <span class="ruby-node">&quot;#&quot;</span>
241
+ <span class="ruby-identifier">content_tag</span>(<span class="ruby-string">&quot;a&quot;</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">options</span>)
242
+ <span class="ruby-keyword">end</span></pre>
243
+ </div><!-- link_to_function-source -->
244
+
245
+ </div>
246
+
247
+
248
+
249
+
250
+ </div><!-- link_to_function-method -->
251
+
252
+
253
+ <div id="method-i-link_to_unless_current" class="method-detail ">
254
+
255
+ <div class="method-heading">
256
+ <span class="method-name">link_to_unless_current</span><span
257
+ class="method-args">(text, url_or_view, options={})</span>
258
+ <span class="method-click-advice">click to toggle source</span>
259
+ </div>
260
+
261
+
262
+ <div class="method-description">
263
+
264
+
265
+
266
+
267
+
268
+ <div class="method-source-code" id="link_to_unless_current-source">
269
+ <pre><span class="ruby-comment"># File lib/ymdp/view/asset_tag_helper.rb, line 7</span>
270
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">link_to_unless_current</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">url_or_view</span>, <span class="ruby-identifier">options</span>={});
271
+ <span class="ruby-keyword">if</span> <span class="ruby-constant">Application</span>.<span class="ruby-identifier">current_view</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">url_or_view</span>.<span class="ruby-identifier">downcase</span>
272
+ <span class="ruby-identifier">text</span>
273
+ <span class="ruby-keyword">else</span>
274
+ <span class="ruby-identifier">link_to</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">url_or_view</span>, <span class="ruby-identifier">options</span>)
275
+ <span class="ruby-keyword">end</span>
276
+ <span class="ruby-keyword">end</span></pre>
277
+ </div><!-- link_to_unless_current-source -->
278
+
279
+ </div>
280
+
281
+
282
+
283
+
284
+ </div><!-- link_to_unless_current-method -->
285
+
286
+
287
+ </section><!-- public-instance-method-details -->
288
+
289
+ </section><!-- 5Buntitled-5D -->
290
+
291
+ </div><!-- documentation -->
292
+
293
+
294
+ <footer id="validator-badges">
295
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
296
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
297
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
298
+ </footer>
299
+
@@ -0,0 +1,239 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class YMDP::View - 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>lib/ymdp/view/application_view.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"><a href="../Object.html">Object</a>
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="ApplicationView.html">YMDP::ApplicationView</a>
74
+
75
+
76
+ </ul>
77
+ </nav>
78
+
79
+ <!-- Method Quickref -->
80
+ <nav id="method-list-section" class="section">
81
+ <h3 class="section-header">Methods</h3>
82
+
83
+ <ul class="link-list">
84
+
85
+ <li><a href="#method-c-new">::new</a>
86
+
87
+ </ul>
88
+ </nav>
89
+
90
+ </div>
91
+
92
+ <div id="project-metadata">
93
+ <nav id="fileindex-section" class="section project-section">
94
+ <h3 class="section-header">Pages</h3>
95
+
96
+ <ul>
97
+
98
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
99
+
100
+ <li class="file"><a href="../README_rdoc.html">README</a>
101
+
102
+ </ul>
103
+ </nav>
104
+
105
+ <nav id="classindex-section" class="section project-section">
106
+ <h3 class="section-header">Class and Module Index</h3>
107
+
108
+ <ul class="link-list">
109
+
110
+ <li><a href="../YMDP.html">YMDP</a>
111
+
112
+ <li><a href="../YMDP/ApplicationView.html">YMDP::ApplicationView</a>
113
+
114
+ <li><a href="../YMDP/AssetTagHelper.html">YMDP::AssetTagHelper</a>
115
+
116
+ <li><a href="../YMDP/Base.html">YMDP::Base</a>
117
+
118
+ <li><a href="../YMDP/Compiler.html">YMDP::Compiler</a>
119
+
120
+ <li><a href="../YMDP/Compiler/Base.html">YMDP::Compiler::Base</a>
121
+
122
+ <li><a href="../YMDP/Compiler/Domains.html">YMDP::Compiler::Domains</a>
123
+
124
+ <li><a href="../YMDP/Compiler/Options.html">YMDP::Compiler::Options</a>
125
+
126
+ <li><a href="../YMDP/Compiler/Template.html">YMDP::Compiler::Template</a>
127
+
128
+ <li><a href="../YMDP/Compiler/Template/Base.html">YMDP::Compiler::Template::Base</a>
129
+
130
+ <li><a href="../YMDP/Compiler/Template/CoffeeScript.html">YMDP::Compiler::Template::CoffeeScript</a>
131
+
132
+ <li><a href="../YMDP/Compiler/Template/JavaScript.html">YMDP::Compiler::Template::JavaScript</a>
133
+
134
+ <li><a href="../YMDP/Compiler/Template/View.html">YMDP::Compiler::Template::View</a>
135
+
136
+ <li><a href="../YMDP/Compiler/Template/YRB.html">YMDP::Compiler::Template::YRB</a>
137
+
138
+ <li><a href="../YMDP/Configuration.html">YMDP::Configuration</a>
139
+
140
+ <li><a href="../YMDP/Configuration/Base.html">YMDP::Configuration::Base</a>
141
+
142
+ <li><a href="../YMDP/Configuration/Config.html">YMDP::Configuration::Config</a>
143
+
144
+ <li><a href="../YMDP/Configuration/Servers.html">YMDP::Configuration::Servers</a>
145
+
146
+ <li><a href="../YMDP/Configuration/Setter.html">YMDP::Configuration::Setter</a>
147
+
148
+ <li><a href="../YMDP/FormTagHelper.html">YMDP::FormTagHelper</a>
149
+
150
+ <li><a href="../YMDP/GitHelper.html">YMDP::GitHelper</a>
151
+
152
+ <li><a href="../YMDP/LinkTagHelper.html">YMDP::LinkTagHelper</a>
153
+
154
+ <li><a href="../YMDP/View.html">YMDP::View</a>
155
+
156
+ <li><a href="../ActionView.html">ActionView</a>
157
+
158
+ <li><a href="../ActionView/Helpers.html">ActionView::Helpers</a>
159
+
160
+ <li><a href="../ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
161
+
162
+ <li><a href="../Application.html">Application</a>
163
+
164
+ <li><a href="../Object.html">Object</a>
165
+
166
+ </ul>
167
+ </nav>
168
+
169
+ </div>
170
+ </nav>
171
+
172
+ <div id="documentation">
173
+ <h1 class="class">class YMDP::View</h1>
174
+
175
+ <div id="description" class="description">
176
+
177
+ </div><!-- description -->
178
+
179
+
180
+
181
+
182
+ <section id="5Buntitled-5D" class="documentation-section">
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <!-- Methods -->
192
+
193
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
194
+ <h3 class="section-header">Public Class Methods</h3>
195
+
196
+
197
+ <div id="method-c-new" class="method-detail ">
198
+
199
+ <div class="method-heading">
200
+ <span class="method-name">new</span><span
201
+ class="method-args">(assets_directory)</span>
202
+ <span class="method-click-advice">click to toggle source</span>
203
+ </div>
204
+
205
+
206
+ <div class="method-description">
207
+
208
+
209
+
210
+
211
+
212
+ <div class="method-source-code" id="new-source">
213
+ <pre><span class="ruby-comment"># File lib/ymdp/view/application_view.rb, line 445</span>
214
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">assets_directory</span>)
215
+ <span class="ruby-ivar">@assets_directory</span> = <span class="ruby-identifier">assets_directory</span>
216
+ <span class="ruby-keyword">end</span></pre>
217
+ </div><!-- new-source -->
218
+
219
+ </div>
220
+
221
+
222
+
223
+
224
+ </div><!-- new-method -->
225
+
226
+
227
+ </section><!-- public-class-method-details -->
228
+
229
+ </section><!-- 5Buntitled-5D -->
230
+
231
+ </div><!-- documentation -->
232
+
233
+
234
+ <footer id="validator-badges">
235
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
236
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
237
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
238
+ </footer>
239
+