marked-conductor 1.0.17 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/README.md +2 -0
- data/lib/conductor/config.rb +24 -24
- data/lib/conductor/filter.rb +49 -23
- data/lib/conductor/version.rb +1 -1
- data/src/_README.md +2 -0
- metadata +1 -62
- data/html/Array.html +0 -160
- data/html/Conductor/Command.html +0 -271
- data/html/Conductor/Condition.html +0 -791
- data/html/Conductor/Config.html +0 -170
- data/html/Conductor/Env.html +0 -220
- data/html/Conductor/Script.html +0 -288
- data/html/Conductor.html +0 -363
- data/html/FalseClass.html +0 -138
- data/html/Filter.html +0 -269
- data/html/Hash.html +0 -160
- data/html/Object.html +0 -138
- data/html/README_rdoc.html +0 -86
- data/html/String.html +0 -1409
- data/html/TrueClass.html +0 -138
- data/html/YuiCompressor/Yui.html +0 -447
- data/html/YuiCompressor.html +0 -93
- data/html/created.rid +0 -16
- data/html/css/fonts.css +0 -167
- data/html/css/rdoc.css +0 -687
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/transparent.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +0 -110
- data/html/js/darkfish.js +0 -97
- data/html/js/navigation.js +0 -105
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +0 -110
- data/html/js/search_index.js +0 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +0 -229
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +0 -539
- data/test.md +0 -14
data/html/Filter.html
DELETED
@@ -1,269 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Filter - Marked Conductor</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
<body id="top" role="document" class="class">
|
25
|
-
<nav role="navigation">
|
26
|
-
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
-
<h2>
|
29
|
-
<a href="./index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
-
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<div id="search-field-wrapper">
|
42
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
-
</form>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
<div id="parent-class-section" class="nav-section">
|
62
|
-
<h3>Parent</h3>
|
63
|
-
|
64
|
-
<p class="link"><a href="String.html">String</a>
|
65
|
-
</div>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<div id="method-list-section" class="nav-section">
|
72
|
-
<h3>Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list" role="directory">
|
75
|
-
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
76
|
-
<li ><a href="#method-i-process">#process</a>
|
77
|
-
</ul>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
</nav>
|
82
|
-
|
83
|
-
<main role="main" aria-labelledby="class-Filter">
|
84
|
-
<h1 id="class-Filter" class="class">
|
85
|
-
class Filter
|
86
|
-
</h1>
|
87
|
-
|
88
|
-
<section class="description">
|
89
|
-
|
90
|
-
<p><a href="String.html"><code>String</code></a> filtering</p>
|
91
|
-
|
92
|
-
</section>
|
93
|
-
|
94
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<section class="attribute-method-details" class="method-section">
|
99
|
-
<header>
|
100
|
-
<h3>Attributes</h3>
|
101
|
-
</header>
|
102
|
-
|
103
|
-
<div id="attribute-i-filter" class="method-detail">
|
104
|
-
<div class="method-heading attribute-method-heading">
|
105
|
-
<span class="method-name">filter</span><span
|
106
|
-
class="attribute-access-type">[R]</span>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
<div class="method-description">
|
110
|
-
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<div id="attribute-i-params" class="method-detail">
|
114
|
-
<div class="method-heading attribute-method-heading">
|
115
|
-
<span class="method-name">params</span><span
|
116
|
-
class="attribute-access-type">[R]</span>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<div class="method-description">
|
120
|
-
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
</section>
|
124
|
-
|
125
|
-
|
126
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
127
|
-
<header>
|
128
|
-
<h3>Public Class Methods</h3>
|
129
|
-
</header>
|
130
|
-
|
131
|
-
<div id="method-c-new" class="method-detail ">
|
132
|
-
<div class="method-header">
|
133
|
-
<div class="method-heading">
|
134
|
-
<span class="method-name">new</span><span
|
135
|
-
class="method-args">(filter)</span>
|
136
|
-
<span class="method-click-advice">click to toggle source</span>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
<div class="method-description">
|
141
|
-
|
142
|
-
<div class="method-calls-super">
|
143
|
-
Calls superclass method
|
144
|
-
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<div class="method-source-code" id="new-source">
|
148
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 329</span>
|
149
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">filter</span>)
|
150
|
-
<span class="ruby-ivar">@filter</span>, <span class="ruby-ivar">@params</span> = <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">normalize_filter</span>
|
151
|
-
<span class="ruby-keyword">super</span>
|
152
|
-
<span class="ruby-keyword">end</span></pre>
|
153
|
-
</div>
|
154
|
-
</div>
|
155
|
-
|
156
|
-
|
157
|
-
</div>
|
158
|
-
|
159
|
-
</section>
|
160
|
-
|
161
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
162
|
-
<header>
|
163
|
-
<h3>Public Instance Methods</h3>
|
164
|
-
</header>
|
165
|
-
|
166
|
-
<div id="method-i-process" class="method-detail ">
|
167
|
-
<div class="method-header">
|
168
|
-
<div class="method-heading">
|
169
|
-
<span class="method-name">process</span><span
|
170
|
-
class="method-args">()</span>
|
171
|
-
<span class="method-click-advice">click to toggle source</span>
|
172
|
-
</div>
|
173
|
-
</div>
|
174
|
-
|
175
|
-
<div class="method-description">
|
176
|
-
|
177
|
-
|
178
|
-
<div class="method-source-code" id="process-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 334</span>
|
180
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">process</span>
|
181
|
-
<span class="ruby-identifier">content</span> = <span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span>
|
182
|
-
|
183
|
-
<span class="ruby-keyword">case</span> <span class="ruby-ivar">@filter</span>
|
184
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)(css|style)/</span>
|
185
|
-
<span class="ruby-ivar">@params</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">css</span><span class="ruby-operator">|</span>
|
186
|
-
<span class="ruby-identifier">content</span> = <span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_css</span>(<span class="ruby-identifier">css</span>)
|
187
|
-
<span class="ruby-keyword">end</span>
|
188
|
-
<span class="ruby-identifier">content</span>
|
189
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)title/</span>
|
190
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_title</span>
|
191
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)script/</span>
|
192
|
-
<span class="ruby-identifier">content</span> = <span class="ruby-identifier">content</span>.<span class="ruby-identifier">append</span>(<span class="ruby-string">"\n\n<div>"</span>)
|
193
|
-
<span class="ruby-ivar">@params</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">script</span><span class="ruby-operator">|</span>
|
194
|
-
<span class="ruby-identifier">content</span> = <span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_script</span>(<span class="ruby-identifier">script</span>)
|
195
|
-
<span class="ruby-keyword">end</span>
|
196
|
-
<span class="ruby-node">"#{content}</div>"</span>
|
197
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(prepend|append|insert|inject)(raw|file|code)/</span>
|
198
|
-
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>
|
199
|
-
|
200
|
-
<span class="ruby-identifier">position</span> = <span class="ruby-keyword">if</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>
|
201
|
-
<span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">normalize_position</span>
|
202
|
-
<span class="ruby-keyword">else</span>
|
203
|
-
<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">normalize_position</span>
|
204
|
-
<span class="ruby-keyword">end</span>
|
205
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_file</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-identifier">m</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">normalize_include_type</span>, <span class="ruby-identifier">position</span>)
|
206
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/inserttoc/</span>
|
207
|
-
<span class="ruby-identifier">max</span> = <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">positive?</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>] <span class="ruby-operator">:</span> <span class="ruby-keyword">nil</span>
|
208
|
-
|
209
|
-
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>
|
210
|
-
<span class="ruby-identifier">after</span> = <span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>] <span class="ruby-operator">=~</span> <span class="ruby-regexp">/2/</span> <span class="ruby-operator">?</span> <span class="ruby-value">:h2</span> <span class="ruby-operator">:</span> <span class="ruby-value">:h1</span>
|
211
|
-
<span class="ruby-keyword">else</span>
|
212
|
-
<span class="ruby-identifier">after</span> = <span class="ruby-value">:start</span>
|
213
|
-
<span class="ruby-keyword">end</span>
|
214
|
-
|
215
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_toc</span>(<span class="ruby-identifier">max</span>, <span class="ruby-identifier">after</span>)
|
216
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(add|set)meta/</span>
|
217
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>
|
218
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"Invalid filter parameters: #{@filter}(#{@params.join(",")})"</span>
|
219
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">content</span>
|
220
|
-
<span class="ruby-keyword">end</span>
|
221
|
-
|
222
|
-
<span class="ruby-comment"># needs to test for existing meta, setting key if exists, adding if not</span>
|
223
|
-
<span class="ruby-comment"># should recognize yaml and mmd</span>
|
224
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">set_meta</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>], <span class="ruby-value">style:</span> <span class="ruby-identifier">content</span>.<span class="ruby-identifier">meta_type</span>)
|
225
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(strip|remove|delete)meta/</span>
|
226
|
-
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@params</span>&.<span class="ruby-identifier">count</span>.<span class="ruby-identifier">positive?</span>
|
227
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">delete_meta</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>])
|
228
|
-
<span class="ruby-keyword">else</span>
|
229
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">strip_meta</span>
|
230
|
-
<span class="ruby-keyword">end</span>
|
231
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/setstyle/</span>
|
232
|
-
<span class="ruby-comment"># Should check for existing style first</span>
|
233
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">set_meta</span>(<span class="ruby-string">"marked style"</span>, <span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-value">style:</span> <span class="ruby-value">:comment</span>)
|
234
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/replaceall/</span>
|
235
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>
|
236
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"Invalid filter parameters: #{@filter}(#{@params.join(",")})"</span>
|
237
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">content</span>
|
238
|
-
<span class="ruby-keyword">end</span>
|
239
|
-
|
240
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">replace_all</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>])
|
241
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/replace$/</span>
|
242
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>
|
243
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-node">"Invalid filter parameters: #{@filter}(#{@params.join(",")})"</span>
|
244
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">content</span>
|
245
|
-
<span class="ruby-keyword">end</span>
|
246
|
-
|
247
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>])
|
248
|
-
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(auto|self)link/</span>
|
249
|
-
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">autolink</span>
|
250
|
-
<span class="ruby-keyword">end</span>
|
251
|
-
<span class="ruby-keyword">end</span></pre>
|
252
|
-
</div>
|
253
|
-
</div>
|
254
|
-
|
255
|
-
|
256
|
-
</div>
|
257
|
-
|
258
|
-
</section>
|
259
|
-
|
260
|
-
</section>
|
261
|
-
</main>
|
262
|
-
|
263
|
-
|
264
|
-
<footer id="validator-badges" role="contentinfo">
|
265
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
266
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
267
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
268
|
-
</footer>
|
269
|
-
|
data/html/Hash.html
DELETED
@@ -1,160 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Hash - Marked Conductor</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
<body id="top" role="document" class="class">
|
25
|
-
<nav role="navigation">
|
26
|
-
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
-
<h2>
|
29
|
-
<a href="./index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
-
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<div id="search-field-wrapper">
|
42
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
-
</form>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
<div id="parent-class-section" class="nav-section">
|
62
|
-
<h3>Parent</h3>
|
63
|
-
|
64
|
-
<p class="link"><a href="Object.html">Object</a>
|
65
|
-
</div>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<div id="method-list-section" class="nav-section">
|
72
|
-
<h3>Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list" role="directory">
|
75
|
-
<li ><a href="#method-i-symbolize_keys">#symbolize_keys</a>
|
76
|
-
<li ><a href="#method-i-symbolize_keys-21">#symbolize_keys!</a>
|
77
|
-
</ul>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
</nav>
|
82
|
-
|
83
|
-
<main role="main" aria-labelledby="class-Hash">
|
84
|
-
<h1 id="class-Hash" class="class">
|
85
|
-
class Hash
|
86
|
-
</h1>
|
87
|
-
|
88
|
-
<section class="description">
|
89
|
-
|
90
|
-
</section>
|
91
|
-
|
92
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
99
|
-
<header>
|
100
|
-
<h3>Public Instance Methods</h3>
|
101
|
-
</header>
|
102
|
-
|
103
|
-
<div id="method-i-symbolize_keys" class="method-detail ">
|
104
|
-
<div class="method-header">
|
105
|
-
<div class="method-heading">
|
106
|
-
<span class="method-name">symbolize_keys</span><span
|
107
|
-
class="method-args">()</span>
|
108
|
-
<span class="method-click-advice">click to toggle source</span>
|
109
|
-
</div>
|
110
|
-
</div>
|
111
|
-
|
112
|
-
<div class="method-description">
|
113
|
-
|
114
|
-
|
115
|
-
<div class="method-source-code" id="symbolize_keys-source">
|
116
|
-
<pre><span class="ruby-comment"># File lib/conductor/hash.rb, line 8</span>
|
117
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">symbolize_keys</span>
|
118
|
-
<span class="ruby-identifier">each_with_object</span>({}) { <span class="ruby-operator">|</span>(<span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span>), <span class="ruby-identifier">hsh</span><span class="ruby-operator">|</span> <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">k</span>.<span class="ruby-identifier">to_sym</span>] = (<span class="ruby-identifier">v</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)) <span class="ruby-operator">?</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">symbolize_keys</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">v</span> }
|
119
|
-
<span class="ruby-keyword">end</span></pre>
|
120
|
-
</div>
|
121
|
-
</div>
|
122
|
-
|
123
|
-
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<div id="method-i-symbolize_keys-21" class="method-detail ">
|
127
|
-
<div class="method-header">
|
128
|
-
<div class="method-heading">
|
129
|
-
<span class="method-name">symbolize_keys!</span><span
|
130
|
-
class="method-args">()</span>
|
131
|
-
<span class="method-click-advice">click to toggle source</span>
|
132
|
-
</div>
|
133
|
-
</div>
|
134
|
-
|
135
|
-
<div class="method-description">
|
136
|
-
|
137
|
-
|
138
|
-
<div class="method-source-code" id="symbolize_keys-21-source">
|
139
|
-
<pre><span class="ruby-comment"># File lib/conductor/hash.rb, line 4</span>
|
140
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">symbolize_keys!</span>
|
141
|
-
<span class="ruby-identifier">replace</span> <span class="ruby-identifier">symbolize_keys</span>
|
142
|
-
<span class="ruby-keyword">end</span></pre>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
|
147
|
-
</div>
|
148
|
-
|
149
|
-
</section>
|
150
|
-
|
151
|
-
</section>
|
152
|
-
</main>
|
153
|
-
|
154
|
-
|
155
|
-
<footer id="validator-badges" role="contentinfo">
|
156
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
157
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
158
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
159
|
-
</footer>
|
160
|
-
|
data/html/Object.html
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Object - Marked Conductor</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
<body id="top" role="document" class="class">
|
25
|
-
<nav role="navigation">
|
26
|
-
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
-
<h2>
|
29
|
-
<a href="./index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
-
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<div id="search-field-wrapper">
|
42
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
-
</form>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<div id="class-metadata">
|
59
|
-
|
60
|
-
|
61
|
-
<div id="parent-class-section" class="nav-section">
|
62
|
-
<h3>Parent</h3>
|
63
|
-
|
64
|
-
<p class="link">BasicObject
|
65
|
-
</div>
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<div id="method-list-section" class="nav-section">
|
72
|
-
<h3>Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list" role="directory">
|
75
|
-
<li ><a href="#method-i-clean_condition">#clean_condition</a>
|
76
|
-
</ul>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
</div>
|
80
|
-
</nav>
|
81
|
-
|
82
|
-
<main role="main" aria-labelledby="class-Object">
|
83
|
-
<h1 id="class-Object" class="class">
|
84
|
-
class Object
|
85
|
-
</h1>
|
86
|
-
|
87
|
-
<section class="description">
|
88
|
-
|
89
|
-
</section>
|
90
|
-
|
91
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
98
|
-
<header>
|
99
|
-
<h3>Public Instance Methods</h3>
|
100
|
-
</header>
|
101
|
-
|
102
|
-
<div id="method-i-clean_condition" class="method-detail ">
|
103
|
-
<div class="method-header">
|
104
|
-
<div class="method-heading">
|
105
|
-
<span class="method-name">clean_condition</span><span
|
106
|
-
class="method-args">(condition)</span>
|
107
|
-
<span class="method-click-advice">click to toggle source</span>
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
|
111
|
-
<div class="method-description">
|
112
|
-
<p>Clean up conditions for output</p>
|
113
|
-
|
114
|
-
<p>@param condition The condition</p>
|
115
|
-
|
116
|
-
<div class="method-source-code" id="clean_condition-source">
|
117
|
-
<pre><span class="ruby-comment"># File bin/conductor, line 127</span>
|
118
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clean_condition</span>(<span class="ruby-identifier">condition</span>)
|
119
|
-
<span class="ruby-identifier">condition</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">""</span>).<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/ *(->|,) *$/</span>, <span class="ruby-string">""</span>)
|
120
|
-
<span class="ruby-keyword">end</span></pre>
|
121
|
-
</div>
|
122
|
-
</div>
|
123
|
-
|
124
|
-
|
125
|
-
</div>
|
126
|
-
|
127
|
-
</section>
|
128
|
-
|
129
|
-
</section>
|
130
|
-
</main>
|
131
|
-
|
132
|
-
|
133
|
-
<footer id="validator-badges" role="contentinfo">
|
134
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
136
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
|
-
</footer>
|
138
|
-
|
data/html/README_rdoc.html
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>README - Marked Conductor</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
var index_rel_prefix = "./";
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script src="./js/navigation.js" defer></script>
|
15
|
-
<script src="./js/search.js" defer></script>
|
16
|
-
<script src="./js/search_index.js" defer></script>
|
17
|
-
<script src="./js/searcher.js" defer></script>
|
18
|
-
<script src="./js/darkfish.js" defer></script>
|
19
|
-
|
20
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
-
|
23
|
-
|
24
|
-
<body id="top" role="document" class="file">
|
25
|
-
<nav role="navigation">
|
26
|
-
<div id="project-navigation">
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
-
<h2>
|
29
|
-
<a href="./index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
-
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<div id="search-field-wrapper">
|
42
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
45
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
-
</form>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<div id="project-metadata">
|
59
|
-
|
60
|
-
<div id="fileindex-section" class="nav-section">
|
61
|
-
<h3>Pages</h3>
|
62
|
-
|
63
|
-
<ul class="link-list">
|
64
|
-
<li><a href="./README_rdoc.html">README</a>
|
65
|
-
</ul>
|
66
|
-
</div>
|
67
|
-
|
68
|
-
</div>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
<main role="main" aria-label="Page README.rdoc">
|
72
|
-
|
73
|
-
<h1 id="label-Marked+Conductor">Marked <a href="Conductor.html"><code>Conductor</code></a><span><a href="#label-Marked+Conductor">¶</a> <a href="#top">↑</a></span></h1>
|
74
|
-
|
75
|
-
<p>A command line tool that functions as a custom processor handler for Marked 2.</p>
|
76
|
-
|
77
|
-
</main>
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<footer id="validator-badges" role="contentinfo">
|
82
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
83
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
84
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
85
|
-
</footer>
|
86
|
-
|