marked-conductor 1.0.17 → 1.0.19
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.
- 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/Conductor.html
DELETED
@@ -1,363 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>module Conductor - 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="module">
|
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
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<!-- Method Quickref -->
|
65
|
-
<div id="method-list-section" class="nav-section">
|
66
|
-
<h3>Methods</h3>
|
67
|
-
|
68
|
-
<ul class="link-list" role="directory">
|
69
|
-
<li ><a href="#method-c-conduct">::conduct</a>
|
70
|
-
<li ><a href="#method-c-execute_track">::execute_track</a>
|
71
|
-
<li ><a href="#method-c-stdin">::stdin</a>
|
72
|
-
<li ><a href="#method-i-create_config">#create_config</a>
|
73
|
-
<li ><a href="#method-i-sample_config">#sample_config</a>
|
74
|
-
</ul>
|
75
|
-
</div>
|
76
|
-
|
77
|
-
</div>
|
78
|
-
</nav>
|
79
|
-
|
80
|
-
<main role="main" aria-labelledby="module-Conductor">
|
81
|
-
<h1 id="module-Conductor" class="module">
|
82
|
-
module Conductor
|
83
|
-
</h1>
|
84
|
-
|
85
|
-
<section class="description">
|
86
|
-
|
87
|
-
<p>Main <a href="Conductor.html"><code>Conductor</code></a> class</p>
|
88
|
-
|
89
|
-
</section>
|
90
|
-
|
91
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
92
|
-
|
93
|
-
|
94
|
-
<section class="constants-list">
|
95
|
-
<header>
|
96
|
-
<h3>Constants</h3>
|
97
|
-
</header>
|
98
|
-
<dl>
|
99
|
-
<dt id="VERSION">VERSION
|
100
|
-
<dd>
|
101
|
-
</dl>
|
102
|
-
</section>
|
103
|
-
|
104
|
-
<section class="attribute-method-details" class="method-section">
|
105
|
-
<header>
|
106
|
-
<h3>Attributes</h3>
|
107
|
-
</header>
|
108
|
-
|
109
|
-
<div id="attribute-c-original_input" class="method-detail">
|
110
|
-
<div class="method-heading attribute-method-heading">
|
111
|
-
<span class="method-name">original_input</span><span
|
112
|
-
class="attribute-access-type">[RW]</span>
|
113
|
-
</div>
|
114
|
-
|
115
|
-
<div class="method-description">
|
116
|
-
|
117
|
-
</div>
|
118
|
-
</div>
|
119
|
-
<div id="attribute-c-stdin" class="method-detail">
|
120
|
-
<div class="method-heading attribute-method-heading">
|
121
|
-
<span class="method-name">stdin</span><span
|
122
|
-
class="attribute-access-type">[W]</span>
|
123
|
-
</div>
|
124
|
-
|
125
|
-
<div class="method-description">
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
</section>
|
130
|
-
|
131
|
-
|
132
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
133
|
-
<header>
|
134
|
-
<h3>Public Class Methods</h3>
|
135
|
-
</header>
|
136
|
-
|
137
|
-
<div id="method-c-conduct" class="method-detail ">
|
138
|
-
<div class="method-header">
|
139
|
-
<div class="method-heading">
|
140
|
-
<span class="method-name">conduct</span><span
|
141
|
-
class="method-args">(tracks, res = nil, condition = nil)</span>
|
142
|
-
<span class="method-click-advice">click to toggle source</span>
|
143
|
-
</div>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
<div class="method-description">
|
147
|
-
<p>Main function to parse conditions and</p>
|
148
|
-
|
149
|
-
<pre>execute actions. Executes recursively for
|
150
|
-
sub-tracks.</pre>
|
151
|
-
|
152
|
-
<p>@param tracks The tracks to process @param res The current result @param condition The current condition</p>
|
153
|
-
|
154
|
-
<p>@return [Array] result, matched condition(s)</p>
|
155
|
-
|
156
|
-
<div class="method-source-code" id="conduct-source">
|
157
|
-
<pre><span class="ruby-comment"># File bin/conductor, line 64</span>
|
158
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">conduct</span>(<span class="ruby-identifier">tracks</span>, <span class="ruby-identifier">res</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">condition</span> = <span class="ruby-keyword">nil</span>)
|
159
|
-
<span class="ruby-identifier">tracks</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">track</span><span class="ruby-operator">|</span>
|
160
|
-
<span class="ruby-identifier">cond</span> = <span class="ruby-constant">Condition</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">track</span>[<span class="ruby-value">:condition</span>])
|
161
|
-
|
162
|
-
<span class="ruby-keyword">next</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">cond</span>.<span class="ruby-identifier">true?</span>
|
163
|
-
|
164
|
-
<span class="ruby-comment"># Build "matched condition" message</span>
|
165
|
-
<span class="ruby-identifier">title</span> = <span class="ruby-identifier">track</span>[<span class="ruby-value">:title</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:condition</span>]
|
166
|
-
<span class="ruby-identifier">condition</span> <span class="ruby-operator">||=</span> [<span class="ruby-string">""</span>]
|
167
|
-
<span class="ruby-identifier">condition</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">title</span>
|
168
|
-
<span class="ruby-identifier">condition</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">track</span>.<span class="ruby-identifier">key?</span>(<span class="ruby-value">:continue</span>) <span class="ruby-operator">?</span> <span class="ruby-string">" -> "</span> <span class="ruby-operator">:</span> <span class="ruby-string">", "</span>)
|
169
|
-
|
170
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">execute_track</span>(<span class="ruby-identifier">track</span>)
|
171
|
-
|
172
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:tracks</span>]
|
173
|
-
<span class="ruby-identifier">ts</span> = <span class="ruby-identifier">track</span>[<span class="ruby-value">:tracks</span>]
|
174
|
-
|
175
|
-
<span class="ruby-identifier">res</span>, <span class="ruby-identifier">condition</span> = <span class="ruby-identifier">conduct</span>(<span class="ruby-identifier">ts</span>, <span class="ruby-identifier">res</span>, <span class="ruby-identifier">condition</span>)
|
176
|
-
|
177
|
-
<span class="ruby-keyword">next</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">nil?</span>
|
178
|
-
<span class="ruby-keyword">end</span>
|
179
|
-
|
180
|
-
<span class="ruby-keyword">break</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:continue</span>]
|
181
|
-
<span class="ruby-keyword">end</span>
|
182
|
-
|
183
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">res</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">original_input</span>
|
184
|
-
[<span class="ruby-keyword">nil</span>, <span class="ruby-string">"No change in output"</span>]
|
185
|
-
<span class="ruby-keyword">else</span>
|
186
|
-
[<span class="ruby-identifier">res</span>, <span class="ruby-identifier">condition</span>]
|
187
|
-
<span class="ruby-keyword">end</span>
|
188
|
-
<span class="ruby-keyword">end</span></pre>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
|
193
|
-
</div>
|
194
|
-
|
195
|
-
<div id="method-c-execute_track" class="method-detail ">
|
196
|
-
<div class="method-header">
|
197
|
-
<div class="method-heading">
|
198
|
-
<span class="method-name">execute_track</span><span
|
199
|
-
class="method-args">(track)</span>
|
200
|
-
<span class="method-click-advice">click to toggle source</span>
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div class="method-description">
|
205
|
-
<p>Execute commands/scripts in the track</p>
|
206
|
-
|
207
|
-
<p>@param track The track</p>
|
208
|
-
|
209
|
-
<p>@return Resulting STDOUT output</p>
|
210
|
-
|
211
|
-
<div class="method-source-code" id="execute_track-source">
|
212
|
-
<pre><span class="ruby-comment"># File bin/conductor, line 17</span>
|
213
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">execute_track</span>(<span class="ruby-identifier">track</span>)
|
214
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:sequence</span>]
|
215
|
-
<span class="ruby-identifier">track</span>[<span class="ruby-value">:sequence</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">cmd</span><span class="ruby-operator">|</span>
|
216
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">cmd</span>[<span class="ruby-value">:script</span>]
|
217
|
-
<span class="ruby-identifier">script</span> = <span class="ruby-constant">Script</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">cmd</span>[<span class="ruby-value">:script</span>])
|
218
|
-
|
219
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">script</span>.<span class="ruby-identifier">run</span>
|
220
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">cmd</span>[<span class="ruby-value">:command</span>]
|
221
|
-
<span class="ruby-identifier">command</span> = <span class="ruby-constant">Command</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">cmd</span>[<span class="ruby-value">:command</span>])
|
222
|
-
|
223
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">command</span>.<span class="ruby-identifier">run</span>
|
224
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">cmd</span>[<span class="ruby-value">:filter</span>]
|
225
|
-
<span class="ruby-identifier">filter</span> = <span class="ruby-constant">Filter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">cmd</span>[<span class="ruby-value">:filter</span>])
|
226
|
-
|
227
|
-
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">process</span>
|
228
|
-
<span class="ruby-keyword">end</span>
|
229
|
-
|
230
|
-
<span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span> = <span class="ruby-identifier">res</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">nil?</span>
|
231
|
-
<span class="ruby-keyword">end</span>
|
232
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:script</span>]
|
233
|
-
<span class="ruby-identifier">script</span> = <span class="ruby-constant">Script</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">track</span>[<span class="ruby-value">:script</span>])
|
234
|
-
|
235
|
-
<span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span> = <span class="ruby-identifier">script</span>.<span class="ruby-identifier">run</span>
|
236
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:command</span>]
|
237
|
-
<span class="ruby-identifier">command</span> = <span class="ruby-constant">Command</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">track</span>[<span class="ruby-value">:command</span>])
|
238
|
-
|
239
|
-
<span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span> = <span class="ruby-identifier">command</span>.<span class="ruby-identifier">run</span>
|
240
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">track</span>[<span class="ruby-value">:filter</span>]
|
241
|
-
<span class="ruby-identifier">filter</span> = <span class="ruby-constant">Filter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">track</span>[<span class="ruby-value">:filter</span>])
|
242
|
-
|
243
|
-
<span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span> = <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">process</span>
|
244
|
-
<span class="ruby-keyword">end</span>
|
245
|
-
|
246
|
-
<span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span>
|
247
|
-
<span class="ruby-keyword">end</span></pre>
|
248
|
-
</div>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div id="method-c-stdin" class="method-detail ">
|
255
|
-
<div class="method-header">
|
256
|
-
<div class="method-heading">
|
257
|
-
<span class="method-name">stdin</span><span
|
258
|
-
class="method-args">()</span>
|
259
|
-
<span class="method-click-advice">click to toggle source</span>
|
260
|
-
</div>
|
261
|
-
</div>
|
262
|
-
|
263
|
-
<div class="method-description">
|
264
|
-
|
265
|
-
|
266
|
-
<div class="method-source-code" id="stdin-source">
|
267
|
-
<pre><span class="ruby-comment"># File lib/conductor.rb, line 28</span>
|
268
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">stdin</span>
|
269
|
-
<span class="ruby-identifier">warn</span> <span class="ruby-string">"input on STDIN required"</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">stat</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">positive?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">fcntl</span>(<span class="ruby-constant">Fcntl</span><span class="ruby-operator">::</span><span class="ruby-constant">F_GETFL</span>, <span class="ruby-value">0</span>).<span class="ruby-identifier">zero?</span>
|
270
|
-
<span class="ruby-ivar">@stdin</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">read</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">"utf-8"</span>)
|
271
|
-
<span class="ruby-keyword">end</span></pre>
|
272
|
-
</div>
|
273
|
-
</div>
|
274
|
-
|
275
|
-
|
276
|
-
</div>
|
277
|
-
|
278
|
-
</section>
|
279
|
-
|
280
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
281
|
-
<header>
|
282
|
-
<h3>Public Instance Methods</h3>
|
283
|
-
</header>
|
284
|
-
|
285
|
-
<div id="method-i-create_config" class="method-detail ">
|
286
|
-
<div class="method-header">
|
287
|
-
<div class="method-heading">
|
288
|
-
<span class="method-name">create_config</span><span
|
289
|
-
class="method-args">(config_file)</span>
|
290
|
-
<span class="method-click-advice">click to toggle source</span>
|
291
|
-
</div>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
<div class="method-description">
|
295
|
-
|
296
|
-
|
297
|
-
<div class="method-source-code" id="create_config-source">
|
298
|
-
<pre><span class="ruby-comment"># File lib/conductor/config.rb, line 19</span>
|
299
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">create_config</span>(<span class="ruby-identifier">config_file</span>)
|
300
|
-
<span class="ruby-identifier">config_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">config_file</span>)
|
301
|
-
<span class="ruby-identifier">scripts_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">config_dir</span>, <span class="ruby-string">"scripts"</span>))
|
302
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>(<span class="ruby-identifier">config_dir</span>) <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">config_dir</span>)
|
303
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>(<span class="ruby-identifier">scripts_dir</span>) <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">scripts_dir</span>)
|
304
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">config_file</span>, <span class="ruby-string">"w"</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">sample_config</span> }
|
305
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Sample config created at #{config_file}"</span>
|
306
|
-
|
307
|
-
<span class="ruby-constant">Process</span>.<span class="ruby-identifier">exit</span> <span class="ruby-value">0</span>
|
308
|
-
<span class="ruby-keyword">end</span></pre>
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
|
312
|
-
|
313
|
-
</div>
|
314
|
-
|
315
|
-
<div id="method-i-sample_config" class="method-detail ">
|
316
|
-
<div class="method-header">
|
317
|
-
<div class="method-heading">
|
318
|
-
<span class="method-name">sample_config</span><span
|
319
|
-
class="method-args">()</span>
|
320
|
-
<span class="method-click-advice">click to toggle source</span>
|
321
|
-
</div>
|
322
|
-
</div>
|
323
|
-
|
324
|
-
<div class="method-description">
|
325
|
-
|
326
|
-
|
327
|
-
<div class="method-source-code" id="sample_config-source">
|
328
|
-
<pre><span class="ruby-comment"># File lib/conductor/config.rb, line 30</span>
|
329
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">sample_config</span>
|
330
|
-
<span class="ruby-identifier"><<~EOCONFIG</span>
|
331
|
-
<span class="ruby-value"> tracks:
|
332
|
-
- condition: phase is pre
|
333
|
-
tracks:
|
334
|
-
- condition: tree contains .obsidian
|
335
|
-
tracks:
|
336
|
-
- condition: extension is md
|
337
|
-
script: obsidian-md-filter
|
338
|
-
- condition: extension is md
|
339
|
-
command: rdiscount $file
|
340
|
-
- condition: yaml includes comments
|
341
|
-
script: blog-processor
|
342
|
-
- condition: any
|
343
|
-
command: echo 'NOCUSTOM'
|
344
|
-
</span><span class="ruby-identifier"> EOCONFIG</span>
|
345
|
-
<span class="ruby-keyword">end</span></pre>
|
346
|
-
</div>
|
347
|
-
</div>
|
348
|
-
|
349
|
-
|
350
|
-
</div>
|
351
|
-
|
352
|
-
</section>
|
353
|
-
|
354
|
-
</section>
|
355
|
-
</main>
|
356
|
-
|
357
|
-
|
358
|
-
<footer id="validator-badges" role="contentinfo">
|
359
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
360
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
361
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
362
|
-
</footer>
|
363
|
-
|
data/html/FalseClass.html
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class FalseClass - 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-bool-3F">#bool?</a>
|
76
|
-
</ul>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
</div>
|
80
|
-
</nav>
|
81
|
-
|
82
|
-
<main role="main" aria-labelledby="class-FalseClass">
|
83
|
-
<h1 id="class-FalseClass" class="class">
|
84
|
-
class FalseClass
|
85
|
-
</h1>
|
86
|
-
|
87
|
-
<section class="description">
|
88
|
-
|
89
|
-
<p>False class</p>
|
90
|
-
|
91
|
-
</section>
|
92
|
-
|
93
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
100
|
-
<header>
|
101
|
-
<h3>Public Instance Methods</h3>
|
102
|
-
</header>
|
103
|
-
|
104
|
-
<div id="method-i-bool-3F" class="method-detail ">
|
105
|
-
<div class="method-header">
|
106
|
-
<div class="method-heading">
|
107
|
-
<span class="method-name">bool?</span><span
|
108
|
-
class="method-args">()</span>
|
109
|
-
<span class="method-click-advice">click to toggle source</span>
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
|
113
|
-
<div class="method-description">
|
114
|
-
|
115
|
-
|
116
|
-
<div class="method-source-code" id="bool-3F-source">
|
117
|
-
<pre><span class="ruby-comment"># File lib/conductor/boolean.rb, line 12</span>
|
118
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">bool?</span>
|
119
|
-
<span class="ruby-keyword">true</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
|
-
|