syclink 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.rspec +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +33 -0
- data/LICENSE +21 -0
- data/README.md +191 -0
- data/README.rdoc +9 -0
- data/Rakefile +5 -0
- data/bin/syclink +290 -0
- data/doc/Gemfile.html +109 -0
- data/doc/Gemfile_lock.html +147 -0
- data/doc/LICENSE.html +129 -0
- data/doc/Object.html +188 -0
- data/doc/README_md.html +322 -0
- data/doc/README_rdoc.html +171 -0
- data/doc/SycLink/Designer.html +560 -0
- data/doc/SycLink/Exporter.html +149 -0
- data/doc/SycLink/Formatter.html +416 -0
- data/doc/SycLink/Infrastructure.html +297 -0
- data/doc/SycLink/Link.html +296 -0
- data/doc/SycLink/Website.html +428 -0
- data/doc/SycLink.html +127 -0
- data/doc/created.rid +31 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +131 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/links_csv.html +113 -0
- data/doc/setup_md.html +192 -0
- data/doc/syclink_gemspec.html +133 -0
- data/doc/syclink_rdoc.html +154 -0
- data/doc/table_of_contents.html +336 -0
- data/doc/templates/example_html.html +399 -0
- data/doc/templates/links.html +116 -0
- data/doc/templates/stylesheets/style_css.html +170 -0
- data/doc/templates/stylesheets/style_css_map.html +111 -0
- data/doc/templates/stylesheets/style_css_scss.html +198 -0
- data/doc/templates/syc-link_html.html +235 -0
- data/lib/syclink/designer.rb +97 -0
- data/lib/syclink/designer_example.rb +9 -0
- data/lib/syclink/exporter.rb +17 -0
- data/lib/syclink/formatter.rb +70 -0
- data/lib/syclink/infrastructure.rb +44 -0
- data/lib/syclink/link.rb +62 -0
- data/lib/syclink/version.rb +7 -0
- data/lib/syclink/website.rb +62 -0
- data/lib/syclink/website_example.rb +68 -0
- data/lib/syclink.rb +7 -0
- data/setup.md +92 -0
- data/spec/syclink/designer_spec.rb +100 -0
- data/spec/syclink/link_spec.rb +47 -0
- data/spec/syclink/website_spec.rb +75 -0
- data/syclink.gemspec +23 -0
- data/syclink.rdoc +39 -0
- data/templates/links +4 -0
- data/templates/stylesheets/style.css +55 -0
- data/templates/stylesheets/style.css.map +7 -0
- data/templates/stylesheets/style.css.scss +76 -0
- data/templates/syc-link.html +123 -0
- data/templates/syclink.html.erb +63 -0
- metadata +193 -0
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class SycLink::Website - RDoc Documentation</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "../";
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script src="../js/jquery.js"></script>
|
|
14
|
+
<script src="../js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body id="top" role="document" class="class">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
28
|
+
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
31
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
|
32
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<div id="class-metadata">
|
|
56
|
+
|
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
|
58
|
+
<h3>Parent</h3>
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
<p class="link"><a href="../Object.html">Object</a>
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div id="includes-section" class="nav-section">
|
|
66
|
+
<h3>Included Modules</h3>
|
|
67
|
+
|
|
68
|
+
<ul class="link-list">
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<li><a class="include" href="Exporter.html">SycLink::Exporter</a>
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
</ul>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
<!-- Method Quickref -->
|
|
79
|
+
<div id="method-list-section" class="nav-section">
|
|
80
|
+
<h3>Methods</h3>
|
|
81
|
+
|
|
82
|
+
<ul class="link-list" role="directory">
|
|
83
|
+
|
|
84
|
+
<li ><a href="#method-c-new">::new</a>
|
|
85
|
+
|
|
86
|
+
<li ><a href="#method-i-add_link">#add_link</a>
|
|
87
|
+
|
|
88
|
+
<li ><a href="#method-i-find_links">#find_links</a>
|
|
89
|
+
|
|
90
|
+
<li ><a href="#method-i-link_attribute_list">#link_attribute_list</a>
|
|
91
|
+
|
|
92
|
+
<li ><a href="#method-i-links_group_by">#links_group_by</a>
|
|
93
|
+
|
|
94
|
+
<li ><a href="#method-i-list_links">#list_links</a>
|
|
95
|
+
|
|
96
|
+
<li ><a href="#method-i-remove_link">#remove_link</a>
|
|
97
|
+
|
|
98
|
+
</ul>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
</div>
|
|
102
|
+
</nav>
|
|
103
|
+
|
|
104
|
+
<main role="main" aria-labelledby="class-SycLink::Website">
|
|
105
|
+
<h1 id="class-SycLink::Website" class="class">
|
|
106
|
+
class SycLink::Website
|
|
107
|
+
</h1>
|
|
108
|
+
|
|
109
|
+
<section class="description">
|
|
110
|
+
|
|
111
|
+
<p>A <a href="Website.html">Website</a> is organizing a link list. The links
|
|
112
|
+
can be added, updated and removed. It is also possible to search for
|
|
113
|
+
links. And finally an html representation of the <a
|
|
114
|
+
href="Website.html">Website</a> can be created.</p>
|
|
115
|
+
|
|
116
|
+
</section>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<section class="attribute-method-details" class="method-section">
|
|
130
|
+
<header>
|
|
131
|
+
<h3>Attributes</h3>
|
|
132
|
+
</header>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<div id="attribute-i-links" class="method-detail">
|
|
136
|
+
<div class="method-heading attribute-method-heading">
|
|
137
|
+
<span class="method-name">links</span><span
|
|
138
|
+
class="attribute-access-type">[R]</span>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
<div class="method-description">
|
|
142
|
+
|
|
143
|
+
<p>The links of the website</p>
|
|
144
|
+
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div id="attribute-i-title" class="method-detail">
|
|
149
|
+
<div class="method-heading attribute-method-heading">
|
|
150
|
+
<span class="method-name">title</span><span
|
|
151
|
+
class="attribute-access-type">[R]</span>
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
<div class="method-description">
|
|
155
|
+
|
|
156
|
+
<p>The title of the website</p>
|
|
157
|
+
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
</section>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
166
|
+
<header>
|
|
167
|
+
<h3>Public Class Methods</h3>
|
|
168
|
+
</header>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<div id="method-c-new" class="method-detail ">
|
|
172
|
+
|
|
173
|
+
<div class="method-heading">
|
|
174
|
+
<span class="method-name">new</span><span
|
|
175
|
+
class="method-args">(title = "Link List")</span>
|
|
176
|
+
|
|
177
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
178
|
+
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<div class="method-description">
|
|
183
|
+
|
|
184
|
+
<p>Create a new <a href="Website.html">Website</a></p>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
<div class="method-source-code" id="new-source">
|
|
190
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 20</span>
|
|
191
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span> = <span class="ruby-string">"Link List"</span>)
|
|
192
|
+
<span class="ruby-ivar">@links</span> = []
|
|
193
|
+
<span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
|
|
194
|
+
<span class="ruby-keyword">end</span></pre>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
</div>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
</section>
|
|
206
|
+
|
|
207
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
208
|
+
<header>
|
|
209
|
+
<h3>Public Instance Methods</h3>
|
|
210
|
+
</header>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<div id="method-i-add_link" class="method-detail ">
|
|
214
|
+
|
|
215
|
+
<div class="method-heading">
|
|
216
|
+
<span class="method-name">add_link</span><span
|
|
217
|
+
class="method-args">(link)</span>
|
|
218
|
+
|
|
219
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
220
|
+
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
<div class="method-description">
|
|
225
|
+
|
|
226
|
+
<p>Add a link to the website</p>
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<div class="method-source-code" id="add_link-source">
|
|
232
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 26</span>
|
|
233
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_link</span>(<span class="ruby-identifier">link</span>)
|
|
234
|
+
<span class="ruby-identifier">links</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">link</span>
|
|
235
|
+
<span class="ruby-keyword">end</span></pre>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
</div>
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
<div id="method-i-find_links" class="method-detail ">
|
|
247
|
+
|
|
248
|
+
<div class="method-heading">
|
|
249
|
+
<span class="method-name">find_links</span><span
|
|
250
|
+
class="method-args">(search)</span>
|
|
251
|
+
|
|
252
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
253
|
+
|
|
254
|
+
</div>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
<div class="method-description">
|
|
258
|
+
|
|
259
|
+
<p>Finds all links that contain the search string</p>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
<div class="method-source-code" id="find_links-source">
|
|
265
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 45</span>
|
|
266
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find_links</span>(<span class="ruby-identifier">search</span>)
|
|
267
|
+
<span class="ruby-identifier">links</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">link</span><span class="ruby-operator">|</span> <span class="ruby-identifier">link</span>.<span class="ruby-identifier">contains?</span> <span class="ruby-identifier">search</span> }
|
|
268
|
+
<span class="ruby-keyword">end</span></pre>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
</div>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<div id="method-i-link_attribute_list" class="method-detail ">
|
|
280
|
+
|
|
281
|
+
<div class="method-heading">
|
|
282
|
+
<span class="method-name">link_attribute_list</span><span
|
|
283
|
+
class="method-args">(attribute)</span>
|
|
284
|
+
|
|
285
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
286
|
+
|
|
287
|
+
</div>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<div class="method-description">
|
|
291
|
+
|
|
292
|
+
<p>List all attributes of the links</p>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<div class="method-source-code" id="link_attribute_list-source">
|
|
298
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 57</span>
|
|
299
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">link_attribute_list</span>(<span class="ruby-identifier">attribute</span>)
|
|
300
|
+
<span class="ruby-identifier">links</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">link</span><span class="ruby-operator">|</span> <span class="ruby-identifier">link</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">attribute</span>) }.<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">sort</span>
|
|
301
|
+
<span class="ruby-keyword">end</span></pre>
|
|
302
|
+
</div>
|
|
303
|
+
|
|
304
|
+
</div>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
<div id="method-i-links_group_by" class="method-detail ">
|
|
313
|
+
|
|
314
|
+
<div class="method-heading">
|
|
315
|
+
<span class="method-name">links_group_by</span><span
|
|
316
|
+
class="method-args">(attribute)</span>
|
|
317
|
+
|
|
318
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
319
|
+
|
|
320
|
+
</div>
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<div class="method-description">
|
|
324
|
+
|
|
325
|
+
<p>Groups the links on the provided attribute</p>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<div class="method-source-code" id="links_group_by-source">
|
|
331
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 50</span>
|
|
332
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">links_group_by</span>(<span class="ruby-identifier">attribute</span>)
|
|
333
|
+
<span class="ruby-identifier">links</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">link</span><span class="ruby-operator">|</span> { <span class="ruby-identifier">key</span><span class="ruby-operator">:</span> <span class="ruby-identifier">link</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">attribute</span>), <span class="ruby-identifier">link</span><span class="ruby-operator">:</span> <span class="ruby-identifier">link</span> } }
|
|
334
|
+
.<span class="ruby-identifier">group_by</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">entry</span><span class="ruby-operator">|</span> <span class="ruby-identifier">entry</span>[<span class="ruby-value">:key</span>] }
|
|
335
|
+
.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">link</span><span class="ruby-operator">|</span> <span class="ruby-identifier">link</span>.<span class="ruby-identifier">map!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span> <span class="ruby-identifier">l</span>[<span class="ruby-value">:link</span>] }}
|
|
336
|
+
<span class="ruby-keyword">end</span></pre>
|
|
337
|
+
</div>
|
|
338
|
+
|
|
339
|
+
</div>
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
</div>
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<div id="method-i-list_links" class="method-detail ">
|
|
348
|
+
|
|
349
|
+
<div class="method-heading">
|
|
350
|
+
<span class="method-name">list_links</span><span
|
|
351
|
+
class="method-args">(args = {})</span>
|
|
352
|
+
|
|
353
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
354
|
+
|
|
355
|
+
</div>
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
<div class="method-description">
|
|
359
|
+
|
|
360
|
+
<p>List links that match the attributes</p>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
<div class="method-source-code" id="list_links-source">
|
|
366
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 36</span>
|
|
367
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">list_links</span>(<span class="ruby-identifier">args</span> = {})
|
|
368
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
|
|
369
|
+
<span class="ruby-identifier">links</span>
|
|
370
|
+
<span class="ruby-keyword">else</span>
|
|
371
|
+
<span class="ruby-identifier">links</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">link</span><span class="ruby-operator">|</span> <span class="ruby-identifier">link</span>.<span class="ruby-identifier">match?</span> <span class="ruby-identifier">args</span> }
|
|
372
|
+
<span class="ruby-keyword">end</span>
|
|
373
|
+
<span class="ruby-keyword">end</span></pre>
|
|
374
|
+
</div>
|
|
375
|
+
|
|
376
|
+
</div>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
<div id="method-i-remove_link" class="method-detail ">
|
|
385
|
+
|
|
386
|
+
<div class="method-heading">
|
|
387
|
+
<span class="method-name">remove_link</span><span
|
|
388
|
+
class="method-args">(link)</span>
|
|
389
|
+
|
|
390
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
391
|
+
|
|
392
|
+
</div>
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<div class="method-description">
|
|
396
|
+
|
|
397
|
+
<p>Remove a link from the website</p>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
<div class="method-source-code" id="remove_link-source">
|
|
403
|
+
<pre><span class="ruby-comment"># File lib/syclink/website.rb, line 31</span>
|
|
404
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_link</span>(<span class="ruby-identifier">link</span>)
|
|
405
|
+
<span class="ruby-identifier">links</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">link</span>)
|
|
406
|
+
<span class="ruby-keyword">end</span></pre>
|
|
407
|
+
</div>
|
|
408
|
+
|
|
409
|
+
</div>
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
</div>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
</section>
|
|
418
|
+
|
|
419
|
+
</section>
|
|
420
|
+
</main>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
<footer id="validator-badges" role="contentinfo">
|
|
424
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
425
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
426
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
427
|
+
</footer>
|
|
428
|
+
|
data/doc/SycLink.html
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>module SycLink - RDoc Documentation</title>
|
|
8
|
+
|
|
9
|
+
<script type="text/javascript">
|
|
10
|
+
var rdoc_rel_prefix = "./";
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<script src="./js/jquery.js"></script>
|
|
14
|
+
<script src="./js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body id="top" role="document" class="module">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="./index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
28
|
+
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
|
31
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
|
32
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<div id="class-metadata">
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
</div>
|
|
62
|
+
</nav>
|
|
63
|
+
|
|
64
|
+
<main role="main" aria-labelledby="module-SycLink">
|
|
65
|
+
<h1 id="module-SycLink" class="module">
|
|
66
|
+
module SycLink
|
|
67
|
+
</h1>
|
|
68
|
+
|
|
69
|
+
<section class="description">
|
|
70
|
+
|
|
71
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
72
|
+
|
|
73
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
74
|
+
|
|
75
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
76
|
+
|
|
77
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
78
|
+
|
|
79
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
80
|
+
|
|
81
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
82
|
+
|
|
83
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
84
|
+
|
|
85
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
86
|
+
|
|
87
|
+
<p>Module that creates a link list and generates an html representation</p>
|
|
88
|
+
|
|
89
|
+
</section>
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<section class="constants-list">
|
|
101
|
+
<header>
|
|
102
|
+
<h3>Constants</h3>
|
|
103
|
+
</header>
|
|
104
|
+
<dl>
|
|
105
|
+
|
|
106
|
+
<dt id="VERSION">VERSION
|
|
107
|
+
|
|
108
|
+
<dd><p>Version of the application</p>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
</dl>
|
|
112
|
+
</section>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
</section>
|
|
119
|
+
</main>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<footer id="validator-badges" role="contentinfo">
|
|
123
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
124
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
125
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
126
|
+
</footer>
|
|
127
|
+
|
data/doc/created.rid
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Sat, 04 Jul 2015 01:06:44 +0200
|
|
2
|
+
./Gemfile Tue, 30 Jun 2015 21:39:07 +0200
|
|
3
|
+
./Gemfile.lock Tue, 30 Jun 2015 22:06:21 +0200
|
|
4
|
+
./README.rdoc Sat, 04 Jul 2015 00:53:04 +0200
|
|
5
|
+
./links.csv Wed, 01 Jul 2015 21:10:40 +0200
|
|
6
|
+
./README.md Sat, 04 Jul 2015 00:30:20 +0200
|
|
7
|
+
./LICENSE Fri, 26 Jun 2015 23:29:52 +0200
|
|
8
|
+
./lib/syclink.rb Thu, 02 Jul 2015 01:21:32 +0200
|
|
9
|
+
./lib/syclink/infrastructure.rb Sat, 04 Jul 2015 00:33:20 +0200
|
|
10
|
+
./lib/syclink/link.rb Sat, 04 Jul 2015 00:43:53 +0200
|
|
11
|
+
./lib/syclink/exporter.rb Sat, 04 Jul 2015 00:46:28 +0200
|
|
12
|
+
./lib/syclink/website_example.rb Sat, 04 Jul 2015 00:48:39 +0200
|
|
13
|
+
./lib/syclink/designer_example.rb Sat, 04 Jul 2015 00:48:01 +0200
|
|
14
|
+
./lib/syclink/designer.rb Sat, 04 Jul 2015 00:33:54 +0200
|
|
15
|
+
./lib/syclink/version.rb Sat, 04 Jul 2015 00:47:09 +0200
|
|
16
|
+
./lib/syclink/formatter.rb Sat, 04 Jul 2015 00:38:52 +0200
|
|
17
|
+
./lib/syclink/website.rb Sat, 04 Jul 2015 00:44:52 +0200
|
|
18
|
+
./spec/syclink/designer_spec.rb Thu, 02 Jul 2015 20:28:18 +0200
|
|
19
|
+
./spec/syclink/website_spec.rb Wed, 01 Jul 2015 22:08:27 +0200
|
|
20
|
+
./spec/syclink/link_spec.rb Wed, 01 Jul 2015 22:10:18 +0200
|
|
21
|
+
./syclink.rdoc Sat, 04 Jul 2015 00:56:06 +0200
|
|
22
|
+
./templates/example.html Mon, 29 Jun 2015 23:50:45 +0200
|
|
23
|
+
./templates/syclink.html.erb Sat, 04 Jul 2015 00:21:13 +0200
|
|
24
|
+
./templates/links Mon, 29 Jun 2015 23:52:40 +0200
|
|
25
|
+
./templates/syc-link.html Tue, 30 Jun 2015 00:04:59 +0200
|
|
26
|
+
./templates/stylesheets/style.css Mon, 29 Jun 2015 20:40:18 +0200
|
|
27
|
+
./templates/stylesheets/style.css.scss Mon, 29 Jun 2015 20:26:50 +0200
|
|
28
|
+
./templates/stylesheets/style.css.map Mon, 29 Jun 2015 20:40:18 +0200
|
|
29
|
+
./setup.md Sun, 28 Jun 2015 22:53:03 +0200
|
|
30
|
+
./bin/syclink Sat, 04 Jul 2015 00:08:10 +0200
|
|
31
|
+
./syclink.gemspec Tue, 30 Jun 2015 22:06:11 +0200
|