gema-alu0101040882 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +8 -0
- data/.rake_tasks~ +7 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/.yardoc/checksums +9 -0
- data/.yardoc/complete +0 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +111 -0
- data/Guardfile +82 -0
- data/README.md +32 -0
- data/Rakefile +8 -0
- data/bin/bundle +105 -0
- data/bin/console +14 -0
- data/bin/htmldiff +29 -0
- data/bin/ldiff +29 -0
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/setup +8 -0
- data/doc/Dll.html +1502 -0
- data/doc/Dll/Node.html +398 -0
- data/doc/Etiqueta_nut.html +1717 -0
- data/doc/Gema.html +134 -0
- data/doc/Individuo.html +289 -0
- data/doc/Menu_dietetico.html +483 -0
- data/doc/Paciente.html +233 -0
- data/doc/Paciente_obeso.html +1386 -0
- data/doc/Valores_nut.html +777 -0
- data/doc/_index.html +208 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +115 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +115 -0
- data/doc/js/app.js +292 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +651 -0
- data/doc/top-level-namespace.html +112 -0
- data/gema.gemspec +43 -0
- data/lib/gema.rb +14 -0
- data/lib/gema/etiqueta_nut.rb +46 -0
- data/lib/gema/individuo.rb +14 -0
- data/lib/gema/list.rb +212 -0
- data/lib/gema/menu.rb +134 -0
- data/lib/gema/menu_dietetico.rb +37 -0
- data/lib/gema/paciente.rb +12 -0
- data/lib/gema/paciente_obeso.rb +75 -0
- data/lib/gema/valores_nut.rb +40 -0
- data/lib/gema/version.rb +4 -0
- metadata +197 -0
data/bin/ldiff
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'ldiff' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("diff-lcs", "ldiff")
|
data/bin/rake
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rake' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rake", "rake")
|
data/bin/rspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/bin/setup
ADDED
data/doc/Dll.html
ADDED
@@ -0,0 +1,1502 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Dll
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.16
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Dll";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index (D)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Dll</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Dll
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">Dll</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd>Enumerable</dd>
|
93
|
+
</dl>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dl>
|
101
|
+
<dt>Defined in:</dt>
|
102
|
+
<dd>lib/gema/list.rb</dd>
|
103
|
+
</dl>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<h2>Overview</h2><div class="docstring">
|
108
|
+
<div class="discussion">
|
109
|
+
|
110
|
+
<p>Lista doblemente enlazada</p>
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
<div class="tags">
|
116
|
+
|
117
|
+
|
118
|
+
</div><h2>Defined Under Namespace</h2>
|
119
|
+
<p class="children">
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Dll/Node.html" title="Dll::Node (class)">Node</a></span>
|
125
|
+
|
126
|
+
|
127
|
+
</p>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
133
|
+
<ul class="summary">
|
134
|
+
|
135
|
+
<li class="public ">
|
136
|
+
<span class="summary_signature">
|
137
|
+
|
138
|
+
<a href="#head-instance_method" title="#head (instance method)">#<strong>head</strong> ⇒ Object </a>
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
</span>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<span class="summary_desc"><div class='inline'>
|
156
|
+
<p>Returns the value of attribute head.</p>
|
157
|
+
</div></span>
|
158
|
+
|
159
|
+
</li>
|
160
|
+
|
161
|
+
|
162
|
+
<li class="public ">
|
163
|
+
<span class="summary_signature">
|
164
|
+
|
165
|
+
<a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> ⇒ Object </a>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</span>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
<span class="summary_desc"><div class='inline'>
|
183
|
+
<p>Returns the value of attribute size.</p>
|
184
|
+
</div></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
|
189
|
+
<li class="public ">
|
190
|
+
<span class="summary_signature">
|
191
|
+
|
192
|
+
<a href="#tail-instance_method" title="#tail (instance method)">#<strong>tail</strong> ⇒ Object </a>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
</span>
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
<span class="summary_desc"><div class='inline'>
|
210
|
+
<p>Returns the value of attribute tail.</p>
|
211
|
+
</div></span>
|
212
|
+
|
213
|
+
</li>
|
214
|
+
|
215
|
+
|
216
|
+
</ul>
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<h2>
|
223
|
+
Instance Method Summary
|
224
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
225
|
+
</h2>
|
226
|
+
|
227
|
+
<ul class="summary">
|
228
|
+
|
229
|
+
<li class="public ">
|
230
|
+
<span class="summary_signature">
|
231
|
+
|
232
|
+
<a href="#clasify_salt-instance_method" title="#clasify_salt (instance method)">#<strong>clasify_salt</strong> ⇒ Object </a>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<span class="summary_desc"><div class='inline'>
|
247
|
+
<p>Clasifica usando la sal.</p>
|
248
|
+
</div></span>
|
249
|
+
|
250
|
+
</li>
|
251
|
+
|
252
|
+
|
253
|
+
<li class="public ">
|
254
|
+
<span class="summary_signature">
|
255
|
+
|
256
|
+
<a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> ⇒ Object </a>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
</span>
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
271
|
+
<p>Metodo each utilizado para poder hacer uso del modulo Enumerable.</p>
|
272
|
+
</div></span>
|
273
|
+
|
274
|
+
</li>
|
275
|
+
|
276
|
+
|
277
|
+
<li class="public ">
|
278
|
+
<span class="summary_signature">
|
279
|
+
|
280
|
+
<a href="#empty-instance_method" title="#empty (instance method)">#<strong>empty</strong> ⇒ Object </a>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
</span>
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
<span class="summary_desc"><div class='inline'>
|
295
|
+
<p>Comprueba si la lista esta vacía.</p>
|
296
|
+
</div></span>
|
297
|
+
|
298
|
+
</li>
|
299
|
+
|
300
|
+
|
301
|
+
<li class="public ">
|
302
|
+
<span class="summary_signature">
|
303
|
+
|
304
|
+
<a href="#extract_head-instance_method" title="#extract_head (instance method)">#<strong>extract_head</strong> ⇒ Object </a>
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
</span>
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
<span class="summary_desc"><div class='inline'>
|
319
|
+
<p>Extrae por la cabeza.</p>
|
320
|
+
</div></span>
|
321
|
+
|
322
|
+
</li>
|
323
|
+
|
324
|
+
|
325
|
+
<li class="public ">
|
326
|
+
<span class="summary_signature">
|
327
|
+
|
328
|
+
<a href="#extract_tail-instance_method" title="#extract_tail (instance method)">#<strong>extract_tail</strong> ⇒ Object </a>
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
</span>
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<span class="summary_desc"><div class='inline'>
|
343
|
+
<p>Extrae por la cola.</p>
|
344
|
+
</div></span>
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
|
349
|
+
<li class="public ">
|
350
|
+
<span class="summary_signature">
|
351
|
+
|
352
|
+
<a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(n) ⇒ Object </a>
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
</span>
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
<span class="summary_desc"><div class='inline'>
|
367
|
+
<p>Obtiene el elemento en la posicion n.</p>
|
368
|
+
</div></span>
|
369
|
+
|
370
|
+
</li>
|
371
|
+
|
372
|
+
|
373
|
+
<li class="public ">
|
374
|
+
<span class="summary_signature">
|
375
|
+
|
376
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Dll </a>
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
</span>
|
381
|
+
|
382
|
+
|
383
|
+
<span class="note title constructor">constructor</span>
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
<span class="summary_desc"><div class='inline'>
|
393
|
+
<p>A new instance of Dll.</p>
|
394
|
+
</div></span>
|
395
|
+
|
396
|
+
</li>
|
397
|
+
|
398
|
+
|
399
|
+
<li class="public ">
|
400
|
+
<span class="summary_signature">
|
401
|
+
|
402
|
+
<a href="#insert_head-instance_method" title="#insert_head (instance method)">#<strong>insert_head</strong>(value) ⇒ Object </a>
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
</span>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
<span class="summary_desc"><div class='inline'>
|
417
|
+
<p>Inserta por la cabeza.</p>
|
418
|
+
</div></span>
|
419
|
+
|
420
|
+
</li>
|
421
|
+
|
422
|
+
|
423
|
+
<li class="public ">
|
424
|
+
<span class="summary_signature">
|
425
|
+
|
426
|
+
<a href="#insert_tail-instance_method" title="#insert_tail (instance method)">#<strong>insert_tail</strong>(value) ⇒ Object </a>
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
</span>
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
<span class="summary_desc"><div class='inline'>
|
441
|
+
<p>Inserta por la cola.</p>
|
442
|
+
</div></span>
|
443
|
+
|
444
|
+
</li>
|
445
|
+
|
446
|
+
|
447
|
+
<li class="public ">
|
448
|
+
<span class="summary_signature">
|
449
|
+
|
450
|
+
<a href="#print-instance_method" title="#print (instance method)">#<strong>print</strong> ⇒ Object </a>
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
</span>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
<span class="summary_desc"><div class='inline'>
|
465
|
+
<p>Imprime la lista.</p>
|
466
|
+
</div></span>
|
467
|
+
|
468
|
+
</li>
|
469
|
+
|
470
|
+
|
471
|
+
<li class="public ">
|
472
|
+
<span class="summary_signature">
|
473
|
+
|
474
|
+
<a href="#remove-instance_method" title="#remove (instance method)">#<strong>remove</strong>(value) ⇒ Object </a>
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
</span>
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
<span class="summary_desc"><div class='inline'>
|
489
|
+
<p>Elimina el elemento al que corresponda value.</p>
|
490
|
+
</div></span>
|
491
|
+
|
492
|
+
</li>
|
493
|
+
|
494
|
+
|
495
|
+
<li class="public ">
|
496
|
+
<span class="summary_signature">
|
497
|
+
|
498
|
+
<a href="#reverse_print-instance_method" title="#reverse_print (instance method)">#<strong>reverse_print</strong> ⇒ Object </a>
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
</span>
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
<span class="summary_desc"><div class='inline'>
|
513
|
+
<p>Imprime la lista a la inversa.</p>
|
514
|
+
</div></span>
|
515
|
+
|
516
|
+
</li>
|
517
|
+
|
518
|
+
|
519
|
+
<li class="public ">
|
520
|
+
<span class="summary_signature">
|
521
|
+
|
522
|
+
<a href="#salt_bubble-instance_method" title="#salt_bubble (instance method)">#<strong>salt_bubble</strong> ⇒ Object </a>
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
</span>
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
<span class="summary_desc"><div class='inline'>
|
537
|
+
<p>Clasifica usando la sal con el metodo de la burbuja.</p>
|
538
|
+
</div></span>
|
539
|
+
|
540
|
+
</li>
|
541
|
+
|
542
|
+
|
543
|
+
</ul>
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
<div id="constructor_details" class="method_details_list">
|
548
|
+
<h2>Constructor Details</h2>
|
549
|
+
|
550
|
+
<div class="method_details first">
|
551
|
+
<h3 class="signature first" id="initialize-instance_method">
|
552
|
+
|
553
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="Dll (class)">Dll</a></span></tt>
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
</h3><div class="docstring">
|
560
|
+
<div class="discussion">
|
561
|
+
|
562
|
+
<p>Returns a new instance of Dll</p>
|
563
|
+
|
564
|
+
|
565
|
+
</div>
|
566
|
+
</div>
|
567
|
+
<div class="tags">
|
568
|
+
|
569
|
+
|
570
|
+
</div><table class="source_code">
|
571
|
+
<tr>
|
572
|
+
<td>
|
573
|
+
<pre class="lines">
|
574
|
+
|
575
|
+
|
576
|
+
8
|
577
|
+
9
|
578
|
+
10
|
579
|
+
11
|
580
|
+
12</pre>
|
581
|
+
</td>
|
582
|
+
<td>
|
583
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 8</span>
|
584
|
+
|
585
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
586
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
587
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
588
|
+
<span class='ivar'>@size</span> <span class='op'>=</span> <span class='int'>0</span>
|
589
|
+
<span class='kw'>end</span></pre>
|
590
|
+
</td>
|
591
|
+
</tr>
|
592
|
+
</table>
|
593
|
+
</div>
|
594
|
+
|
595
|
+
</div>
|
596
|
+
|
597
|
+
<div id="instance_attr_details" class="attr_details">
|
598
|
+
<h2>Instance Attribute Details</h2>
|
599
|
+
|
600
|
+
|
601
|
+
<span id="head=-instance_method"></span>
|
602
|
+
<div class="method_details first">
|
603
|
+
<h3 class="signature first" id="head-instance_method">
|
604
|
+
|
605
|
+
#<strong>head</strong> ⇒ <tt>Object</tt>
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
</h3><div class="docstring">
|
612
|
+
<div class="discussion">
|
613
|
+
|
614
|
+
<p>Returns the value of attribute head</p>
|
615
|
+
|
616
|
+
|
617
|
+
</div>
|
618
|
+
</div>
|
619
|
+
<div class="tags">
|
620
|
+
|
621
|
+
|
622
|
+
</div><table class="source_code">
|
623
|
+
<tr>
|
624
|
+
<td>
|
625
|
+
<pre class="lines">
|
626
|
+
|
627
|
+
|
628
|
+
4
|
629
|
+
5
|
630
|
+
6</pre>
|
631
|
+
</td>
|
632
|
+
<td>
|
633
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 4</span>
|
634
|
+
|
635
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_head'>head</span>
|
636
|
+
<span class='ivar'>@head</span>
|
637
|
+
<span class='kw'>end</span></pre>
|
638
|
+
</td>
|
639
|
+
</tr>
|
640
|
+
</table>
|
641
|
+
</div>
|
642
|
+
|
643
|
+
|
644
|
+
<span id="size=-instance_method"></span>
|
645
|
+
<div class="method_details ">
|
646
|
+
<h3 class="signature " id="size-instance_method">
|
647
|
+
|
648
|
+
#<strong>size</strong> ⇒ <tt>Object</tt>
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
</h3><div class="docstring">
|
655
|
+
<div class="discussion">
|
656
|
+
|
657
|
+
<p>Returns the value of attribute size</p>
|
658
|
+
|
659
|
+
|
660
|
+
</div>
|
661
|
+
</div>
|
662
|
+
<div class="tags">
|
663
|
+
|
664
|
+
|
665
|
+
</div><table class="source_code">
|
666
|
+
<tr>
|
667
|
+
<td>
|
668
|
+
<pre class="lines">
|
669
|
+
|
670
|
+
|
671
|
+
4
|
672
|
+
5
|
673
|
+
6</pre>
|
674
|
+
</td>
|
675
|
+
<td>
|
676
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 4</span>
|
677
|
+
|
678
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
|
679
|
+
<span class='ivar'>@size</span>
|
680
|
+
<span class='kw'>end</span></pre>
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
</table>
|
684
|
+
</div>
|
685
|
+
|
686
|
+
|
687
|
+
<span id="tail=-instance_method"></span>
|
688
|
+
<div class="method_details ">
|
689
|
+
<h3 class="signature " id="tail-instance_method">
|
690
|
+
|
691
|
+
#<strong>tail</strong> ⇒ <tt>Object</tt>
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
|
696
|
+
|
697
|
+
</h3><div class="docstring">
|
698
|
+
<div class="discussion">
|
699
|
+
|
700
|
+
<p>Returns the value of attribute tail</p>
|
701
|
+
|
702
|
+
|
703
|
+
</div>
|
704
|
+
</div>
|
705
|
+
<div class="tags">
|
706
|
+
|
707
|
+
|
708
|
+
</div><table class="source_code">
|
709
|
+
<tr>
|
710
|
+
<td>
|
711
|
+
<pre class="lines">
|
712
|
+
|
713
|
+
|
714
|
+
4
|
715
|
+
5
|
716
|
+
6</pre>
|
717
|
+
</td>
|
718
|
+
<td>
|
719
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 4</span>
|
720
|
+
|
721
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_tail'>tail</span>
|
722
|
+
<span class='ivar'>@tail</span>
|
723
|
+
<span class='kw'>end</span></pre>
|
724
|
+
</td>
|
725
|
+
</tr>
|
726
|
+
</table>
|
727
|
+
</div>
|
728
|
+
|
729
|
+
</div>
|
730
|
+
|
731
|
+
|
732
|
+
<div id="instance_method_details" class="method_details_list">
|
733
|
+
<h2>Instance Method Details</h2>
|
734
|
+
|
735
|
+
|
736
|
+
<div class="method_details first">
|
737
|
+
<h3 class="signature first" id="clasify_salt-instance_method">
|
738
|
+
|
739
|
+
#<strong>clasify_salt</strong> ⇒ <tt>Object</tt>
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
|
745
|
+
</h3><div class="docstring">
|
746
|
+
<div class="discussion">
|
747
|
+
|
748
|
+
<p>Clasifica usando la sal</p>
|
749
|
+
|
750
|
+
|
751
|
+
</div>
|
752
|
+
</div>
|
753
|
+
<div class="tags">
|
754
|
+
|
755
|
+
|
756
|
+
</div><table class="source_code">
|
757
|
+
<tr>
|
758
|
+
<td>
|
759
|
+
<pre class="lines">
|
760
|
+
|
761
|
+
|
762
|
+
151
|
763
|
+
152
|
764
|
+
153
|
765
|
+
154
|
766
|
+
155
|
767
|
+
156
|
768
|
+
157
|
769
|
+
158
|
770
|
+
159
|
771
|
+
160
|
772
|
+
161
|
773
|
+
162
|
774
|
+
163
|
775
|
+
164
|
776
|
+
165
|
777
|
+
166
|
778
|
+
167
|
779
|
+
168
|
780
|
+
169
|
781
|
+
170
|
782
|
+
171
|
783
|
+
172
|
784
|
+
173
|
785
|
+
174
|
786
|
+
175
|
787
|
+
176</pre>
|
788
|
+
</td>
|
789
|
+
<td>
|
790
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 151</span>
|
791
|
+
|
792
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_clasify_salt'>clasify_salt</span>
|
793
|
+
|
794
|
+
<span class='id identifier rubyid_i'>i</span> <span class='op'>=</span> <span class='int'>0</span>
|
795
|
+
<span class='id identifier rubyid_sz'>sz</span> <span class='op'>=</span> <span class='ivar'>@size</span>
|
796
|
+
|
797
|
+
<span class='id identifier rubyid_sorted_dll'>sorted_dll</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="" title="Dll (class)">Dll</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Dll#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='rparen'>)</span>
|
798
|
+
|
799
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_i'>i</span> <span class='op'><</span> <span class='id identifier rubyid_sz'>sz</span> <span class='kw'>do</span>
|
800
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
801
|
+
<span class='id identifier rubyid_min'>min</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
|
802
|
+
|
803
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_aux'>aux</span> <span class='op'>!=</span> <span class='kw'>nil</span> <span class='kw'>do</span>
|
804
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span> <span class='op'><</span> <span class='id identifier rubyid_min'>min</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span>
|
805
|
+
<span class='id identifier rubyid_min'>min</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
|
806
|
+
<span class='kw'>end</span>
|
807
|
+
|
808
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
809
|
+
<span class='kw'>end</span>
|
810
|
+
|
811
|
+
<span class='id identifier rubyid_sorted_dll'>sorted_dll</span><span class='period'>.</span><span class='id identifier rubyid_insert_tail'>insert_tail</span><span class='lparen'>(</span><span class='id identifier rubyid_min'>min</span><span class='rparen'>)</span>
|
812
|
+
<span class='id identifier rubyid_remove'>remove</span><span class='lparen'>(</span><span class='id identifier rubyid_min'>min</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span><span class='rparen'>)</span>
|
813
|
+
<span class='id identifier rubyid_i'>i</span><span class='op'>+=</span><span class='int'>1</span>
|
814
|
+
<span class='kw'>end</span>
|
815
|
+
|
816
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_sorted_dll'>sorted_dll</span>
|
817
|
+
<span class='kw'>end</span></pre>
|
818
|
+
</td>
|
819
|
+
</tr>
|
820
|
+
</table>
|
821
|
+
</div>
|
822
|
+
|
823
|
+
<div class="method_details ">
|
824
|
+
<h3 class="signature " id="each-instance_method">
|
825
|
+
|
826
|
+
#<strong>each</strong> ⇒ <tt>Object</tt>
|
827
|
+
|
828
|
+
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
</h3><div class="docstring">
|
833
|
+
<div class="discussion">
|
834
|
+
|
835
|
+
<p>Metodo each utilizado para poder hacer uso del modulo Enumerable</p>
|
836
|
+
|
837
|
+
|
838
|
+
</div>
|
839
|
+
</div>
|
840
|
+
<div class="tags">
|
841
|
+
|
842
|
+
|
843
|
+
</div><table class="source_code">
|
844
|
+
<tr>
|
845
|
+
<td>
|
846
|
+
<pre class="lines">
|
847
|
+
|
848
|
+
|
849
|
+
199
|
850
|
+
200
|
851
|
+
201
|
852
|
+
202
|
853
|
+
203
|
854
|
+
204
|
855
|
+
205
|
856
|
+
206
|
857
|
+
207</pre>
|
858
|
+
</td>
|
859
|
+
<td>
|
860
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 199</span>
|
861
|
+
|
862
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span>
|
863
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
864
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_aux'>aux</span> <span class='op'>!=</span> <span class='kw'>nil</span> <span class='kw'>do</span>
|
865
|
+
<span class='kw'>yield</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
|
866
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
867
|
+
|
868
|
+
<span class='kw'>end</span>
|
869
|
+
|
870
|
+
<span class='kw'>end</span></pre>
|
871
|
+
</td>
|
872
|
+
</tr>
|
873
|
+
</table>
|
874
|
+
</div>
|
875
|
+
|
876
|
+
<div class="method_details ">
|
877
|
+
<h3 class="signature " id="empty-instance_method">
|
878
|
+
|
879
|
+
#<strong>empty</strong> ⇒ <tt>Object</tt>
|
880
|
+
|
881
|
+
|
882
|
+
|
883
|
+
|
884
|
+
|
885
|
+
</h3><div class="docstring">
|
886
|
+
<div class="discussion">
|
887
|
+
|
888
|
+
<p>Comprueba si la lista esta vacía</p>
|
889
|
+
|
890
|
+
|
891
|
+
</div>
|
892
|
+
</div>
|
893
|
+
<div class="tags">
|
894
|
+
|
895
|
+
|
896
|
+
</div><table class="source_code">
|
897
|
+
<tr>
|
898
|
+
<td>
|
899
|
+
<pre class="lines">
|
900
|
+
|
901
|
+
|
902
|
+
15
|
903
|
+
16
|
904
|
+
17</pre>
|
905
|
+
</td>
|
906
|
+
<td>
|
907
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 15</span>
|
908
|
+
|
909
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_empty'>empty</span>
|
910
|
+
<span class='ivar'>@size</span> <span class='op'>==</span> <span class='int'>0</span>
|
911
|
+
<span class='kw'>end</span></pre>
|
912
|
+
</td>
|
913
|
+
</tr>
|
914
|
+
</table>
|
915
|
+
</div>
|
916
|
+
|
917
|
+
<div class="method_details ">
|
918
|
+
<h3 class="signature " id="extract_head-instance_method">
|
919
|
+
|
920
|
+
#<strong>extract_head</strong> ⇒ <tt>Object</tt>
|
921
|
+
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
</h3><div class="docstring">
|
927
|
+
<div class="discussion">
|
928
|
+
|
929
|
+
<p>Extrae por la cabeza</p>
|
930
|
+
|
931
|
+
|
932
|
+
</div>
|
933
|
+
</div>
|
934
|
+
<div class="tags">
|
935
|
+
|
936
|
+
|
937
|
+
</div><table class="source_code">
|
938
|
+
<tr>
|
939
|
+
<td>
|
940
|
+
<pre class="lines">
|
941
|
+
|
942
|
+
|
943
|
+
50
|
944
|
+
51
|
945
|
+
52
|
946
|
+
53
|
947
|
+
54
|
948
|
+
55
|
949
|
+
56
|
950
|
+
57
|
951
|
+
58
|
952
|
+
59
|
953
|
+
60
|
954
|
+
61
|
955
|
+
62
|
956
|
+
63
|
957
|
+
64
|
958
|
+
65
|
959
|
+
66</pre>
|
960
|
+
</td>
|
961
|
+
<td>
|
962
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 50</span>
|
963
|
+
|
964
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_extract_head'>extract_head</span>
|
965
|
+
|
966
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
967
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='ivar'>@head</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
968
|
+
|
969
|
+
<span class='kw'>if</span> <span class='ivar'>@head</span> <span class='op'>!=</span> <span class='kw'>nil</span>
|
970
|
+
<span class='ivar'>@tail</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
971
|
+
<span class='kw'>else</span>
|
972
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
973
|
+
<span class='kw'>end</span>
|
974
|
+
|
975
|
+
<span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
976
|
+
<span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
977
|
+
|
978
|
+
<span class='ivar'>@size</span> <span class='op'>=</span> <span class='ivar'>@size</span> <span class='op'>-</span> <span class='int'>1</span>
|
979
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_aux'>aux</span>
|
980
|
+
<span class='kw'>end</span></pre>
|
981
|
+
</td>
|
982
|
+
</tr>
|
983
|
+
</table>
|
984
|
+
</div>
|
985
|
+
|
986
|
+
<div class="method_details ">
|
987
|
+
<h3 class="signature " id="extract_tail-instance_method">
|
988
|
+
|
989
|
+
#<strong>extract_tail</strong> ⇒ <tt>Object</tt>
|
990
|
+
|
991
|
+
|
992
|
+
|
993
|
+
|
994
|
+
|
995
|
+
</h3><div class="docstring">
|
996
|
+
<div class="discussion">
|
997
|
+
|
998
|
+
<p>Extrae por la cola</p>
|
999
|
+
|
1000
|
+
|
1001
|
+
</div>
|
1002
|
+
</div>
|
1003
|
+
<div class="tags">
|
1004
|
+
|
1005
|
+
|
1006
|
+
</div><table class="source_code">
|
1007
|
+
<tr>
|
1008
|
+
<td>
|
1009
|
+
<pre class="lines">
|
1010
|
+
|
1011
|
+
|
1012
|
+
70
|
1013
|
+
71
|
1014
|
+
72
|
1015
|
+
73
|
1016
|
+
74
|
1017
|
+
75
|
1018
|
+
76
|
1019
|
+
77
|
1020
|
+
78
|
1021
|
+
79
|
1022
|
+
80
|
1023
|
+
81
|
1024
|
+
82
|
1025
|
+
83
|
1026
|
+
84
|
1027
|
+
85
|
1028
|
+
86</pre>
|
1029
|
+
</td>
|
1030
|
+
<td>
|
1031
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 70</span>
|
1032
|
+
|
1033
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_extract_tail'>extract_tail</span>
|
1034
|
+
|
1035
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@tail</span>
|
1036
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='ivar'>@tail</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span>
|
1037
|
+
|
1038
|
+
<span class='kw'>if</span> <span class='ivar'>@tail</span> <span class='op'>!=</span> <span class='kw'>nil</span>
|
1039
|
+
<span class='ivar'>@tail</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1040
|
+
<span class='kw'>else</span>
|
1041
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1042
|
+
<span class='kw'>end</span>
|
1043
|
+
|
1044
|
+
<span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1045
|
+
<span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1046
|
+
|
1047
|
+
<span class='ivar'>@size</span> <span class='op'>=</span> <span class='ivar'>@size</span> <span class='op'>-</span> <span class='int'>1</span>
|
1048
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_aux'>aux</span>
|
1049
|
+
<span class='kw'>end</span></pre>
|
1050
|
+
</td>
|
1051
|
+
</tr>
|
1052
|
+
</table>
|
1053
|
+
</div>
|
1054
|
+
|
1055
|
+
<div class="method_details ">
|
1056
|
+
<h3 class="signature " id="get-instance_method">
|
1057
|
+
|
1058
|
+
#<strong>get</strong>(n) ⇒ <tt>Object</tt>
|
1059
|
+
|
1060
|
+
|
1061
|
+
|
1062
|
+
|
1063
|
+
|
1064
|
+
</h3><div class="docstring">
|
1065
|
+
<div class="discussion">
|
1066
|
+
|
1067
|
+
<p>Obtiene el elemento en la posicion n</p>
|
1068
|
+
|
1069
|
+
|
1070
|
+
</div>
|
1071
|
+
</div>
|
1072
|
+
<div class="tags">
|
1073
|
+
|
1074
|
+
|
1075
|
+
</div><table class="source_code">
|
1076
|
+
<tr>
|
1077
|
+
<td>
|
1078
|
+
<pre class="lines">
|
1079
|
+
|
1080
|
+
|
1081
|
+
109
|
1082
|
+
110
|
1083
|
+
111
|
1084
|
+
112
|
1085
|
+
113
|
1086
|
+
114
|
1087
|
+
115
|
1088
|
+
116
|
1089
|
+
117
|
1090
|
+
118
|
1091
|
+
119</pre>
|
1092
|
+
</td>
|
1093
|
+
<td>
|
1094
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 109</span>
|
1095
|
+
|
1096
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_n'>n</span><span class='rparen'>)</span>
|
1097
|
+
<span class='id identifier rubyid_i'>i</span> <span class='op'>=</span> <span class='int'>0</span>
|
1098
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1099
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_i'>i</span> <span class='op'><</span> <span class='id identifier rubyid_n'>n</span> <span class='kw'>do</span>
|
1100
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1101
|
+
<span class='id identifier rubyid_i'>i</span> <span class='op'>+=</span> <span class='int'>1</span>
|
1102
|
+
<span class='kw'>end</span>
|
1103
|
+
|
1104
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_aux'>aux</span>
|
1105
|
+
|
1106
|
+
<span class='kw'>end</span></pre>
|
1107
|
+
</td>
|
1108
|
+
</tr>
|
1109
|
+
</table>
|
1110
|
+
</div>
|
1111
|
+
|
1112
|
+
<div class="method_details ">
|
1113
|
+
<h3 class="signature " id="insert_head-instance_method">
|
1114
|
+
|
1115
|
+
#<strong>insert_head</strong>(value) ⇒ <tt>Object</tt>
|
1116
|
+
|
1117
|
+
|
1118
|
+
|
1119
|
+
|
1120
|
+
|
1121
|
+
</h3><div class="docstring">
|
1122
|
+
<div class="discussion">
|
1123
|
+
|
1124
|
+
<p>Inserta por la cabeza</p>
|
1125
|
+
|
1126
|
+
|
1127
|
+
</div>
|
1128
|
+
</div>
|
1129
|
+
<div class="tags">
|
1130
|
+
|
1131
|
+
|
1132
|
+
</div><table class="source_code">
|
1133
|
+
<tr>
|
1134
|
+
<td>
|
1135
|
+
<pre class="lines">
|
1136
|
+
|
1137
|
+
|
1138
|
+
20
|
1139
|
+
21
|
1140
|
+
22
|
1141
|
+
23
|
1142
|
+
24
|
1143
|
+
25
|
1144
|
+
26
|
1145
|
+
27
|
1146
|
+
28
|
1147
|
+
29
|
1148
|
+
30
|
1149
|
+
31
|
1150
|
+
32</pre>
|
1151
|
+
</td>
|
1152
|
+
<td>
|
1153
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 20</span>
|
1154
|
+
|
1155
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_insert_head'>insert_head</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
1156
|
+
|
1157
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_empty'>empty</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
1158
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Dll/Node.html" title="Dll::Node (class)">Node</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Dll#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span><span class='kw'>nil</span><span class='comma'>,</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
1159
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1160
|
+
<span class='kw'>else</span>
|
1161
|
+
<span class='ivar'>@head</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Dll/Node.html" title="Dll::Node (class)">Node</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Dll#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span><span class='ivar'>@head</span><span class='comma'>,</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
1162
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='ivar'>@head</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span><span class='semicolon'>;</span>
|
1163
|
+
<span class='kw'>end</span>
|
1164
|
+
|
1165
|
+
<span class='ivar'>@size</span> <span class='op'>=</span> <span class='ivar'>@size</span> <span class='op'>+</span> <span class='int'>1</span>
|
1166
|
+
|
1167
|
+
<span class='kw'>end</span></pre>
|
1168
|
+
</td>
|
1169
|
+
</tr>
|
1170
|
+
</table>
|
1171
|
+
</div>
|
1172
|
+
|
1173
|
+
<div class="method_details ">
|
1174
|
+
<h3 class="signature " id="insert_tail-instance_method">
|
1175
|
+
|
1176
|
+
#<strong>insert_tail</strong>(value) ⇒ <tt>Object</tt>
|
1177
|
+
|
1178
|
+
|
1179
|
+
|
1180
|
+
|
1181
|
+
|
1182
|
+
</h3><div class="docstring">
|
1183
|
+
<div class="discussion">
|
1184
|
+
|
1185
|
+
<p>Inserta por la cola</p>
|
1186
|
+
|
1187
|
+
|
1188
|
+
</div>
|
1189
|
+
</div>
|
1190
|
+
<div class="tags">
|
1191
|
+
|
1192
|
+
|
1193
|
+
</div><table class="source_code">
|
1194
|
+
<tr>
|
1195
|
+
<td>
|
1196
|
+
<pre class="lines">
|
1197
|
+
|
1198
|
+
|
1199
|
+
35
|
1200
|
+
36
|
1201
|
+
37
|
1202
|
+
38
|
1203
|
+
39
|
1204
|
+
40
|
1205
|
+
41
|
1206
|
+
42
|
1207
|
+
43
|
1208
|
+
44
|
1209
|
+
45
|
1210
|
+
46
|
1211
|
+
47</pre>
|
1212
|
+
</td>
|
1213
|
+
<td>
|
1214
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 35</span>
|
1215
|
+
|
1216
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_insert_tail'>insert_tail</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
1217
|
+
|
1218
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_empty'>empty</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
1219
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Dll/Node.html" title="Dll::Node (class)">Node</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Dll#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span><span class='kw'>nil</span><span class='comma'>,</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
1220
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1221
|
+
<span class='kw'>else</span>
|
1222
|
+
<span class='ivar'>@tail</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Dll/Node.html" title="Dll::Node (class)">Node</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Dll#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span><span class='kw'>nil</span><span class='comma'>,</span><span class='ivar'>@tail</span><span class='rparen'>)</span>
|
1223
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='ivar'>@tail</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='semicolon'>;</span>
|
1224
|
+
<span class='kw'>end</span>
|
1225
|
+
|
1226
|
+
<span class='ivar'>@size</span> <span class='op'>=</span> <span class='ivar'>@size</span> <span class='op'>+</span> <span class='int'>1</span>
|
1227
|
+
|
1228
|
+
<span class='kw'>end</span></pre>
|
1229
|
+
</td>
|
1230
|
+
</tr>
|
1231
|
+
</table>
|
1232
|
+
</div>
|
1233
|
+
|
1234
|
+
<div class="method_details ">
|
1235
|
+
<h3 class="signature " id="print-instance_method">
|
1236
|
+
|
1237
|
+
#<strong>print</strong> ⇒ <tt>Object</tt>
|
1238
|
+
|
1239
|
+
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
</h3><div class="docstring">
|
1244
|
+
<div class="discussion">
|
1245
|
+
|
1246
|
+
<p>Imprime la lista</p>
|
1247
|
+
|
1248
|
+
|
1249
|
+
</div>
|
1250
|
+
</div>
|
1251
|
+
<div class="tags">
|
1252
|
+
|
1253
|
+
|
1254
|
+
</div><table class="source_code">
|
1255
|
+
<tr>
|
1256
|
+
<td>
|
1257
|
+
<pre class="lines">
|
1258
|
+
|
1259
|
+
|
1260
|
+
89
|
1261
|
+
90
|
1262
|
+
91
|
1263
|
+
92
|
1264
|
+
93
|
1265
|
+
94
|
1266
|
+
95
|
1267
|
+
96</pre>
|
1268
|
+
</td>
|
1269
|
+
<td>
|
1270
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 89</span>
|
1271
|
+
|
1272
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_print'>print</span>
|
1273
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1274
|
+
|
1275
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_aux'>aux</span> <span class='op'>!=</span> <span class='kw'>nil</span> <span class='kw'>do</span>
|
1276
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
1277
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1278
|
+
<span class='kw'>end</span>
|
1279
|
+
<span class='kw'>end</span></pre>
|
1280
|
+
</td>
|
1281
|
+
</tr>
|
1282
|
+
</table>
|
1283
|
+
</div>
|
1284
|
+
|
1285
|
+
<div class="method_details ">
|
1286
|
+
<h3 class="signature " id="remove-instance_method">
|
1287
|
+
|
1288
|
+
#<strong>remove</strong>(value) ⇒ <tt>Object</tt>
|
1289
|
+
|
1290
|
+
|
1291
|
+
|
1292
|
+
|
1293
|
+
|
1294
|
+
</h3><div class="docstring">
|
1295
|
+
<div class="discussion">
|
1296
|
+
|
1297
|
+
<p>Elimina el elemento al que corresponda value</p>
|
1298
|
+
|
1299
|
+
|
1300
|
+
</div>
|
1301
|
+
</div>
|
1302
|
+
<div class="tags">
|
1303
|
+
|
1304
|
+
|
1305
|
+
</div><table class="source_code">
|
1306
|
+
<tr>
|
1307
|
+
<td>
|
1308
|
+
<pre class="lines">
|
1309
|
+
|
1310
|
+
|
1311
|
+
123
|
1312
|
+
124
|
1313
|
+
125
|
1314
|
+
126
|
1315
|
+
127
|
1316
|
+
128
|
1317
|
+
129
|
1318
|
+
130
|
1319
|
+
131
|
1320
|
+
132
|
1321
|
+
133
|
1322
|
+
134
|
1323
|
+
135
|
1324
|
+
136
|
1325
|
+
137
|
1326
|
+
138
|
1327
|
+
139
|
1328
|
+
140
|
1329
|
+
141
|
1330
|
+
142
|
1331
|
+
143
|
1332
|
+
144
|
1333
|
+
145
|
1334
|
+
146
|
1335
|
+
147</pre>
|
1336
|
+
</td>
|
1337
|
+
<td>
|
1338
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 123</span>
|
1339
|
+
|
1340
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
1341
|
+
|
1342
|
+
<span class='id identifier rubyid_node'>node</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1343
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span> <span class='op'>!=</span> <span class='id identifier rubyid_value'>value</span> <span class='kw'>do</span>
|
1344
|
+
<span class='id identifier rubyid_node'>node</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1345
|
+
<span class='kw'>end</span>
|
1346
|
+
|
1347
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_node'>node</span> <span class='op'>!=</span> <span class='kw'>nil</span>
|
1348
|
+
|
1349
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_node'>node</span> <span class='op'>!=</span> <span class='ivar'>@head</span>
|
1350
|
+
<span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1351
|
+
<span class='kw'>else</span>
|
1352
|
+
<span class='ivar'>@head</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1353
|
+
<span class='kw'>end</span>
|
1354
|
+
|
1355
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_node'>node</span> <span class='op'>!=</span> <span class='ivar'>@tail</span>
|
1356
|
+
<span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span>
|
1357
|
+
<span class='kw'>else</span>
|
1358
|
+
<span class='ivar'>@tail</span> <span class='op'>=</span> <span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span>
|
1359
|
+
<span class='kw'>end</span>
|
1360
|
+
|
1361
|
+
<span class='ivar'>@size</span><span class='op'>-=</span><span class='int'>1</span>
|
1362
|
+
<span class='kw'>end</span>
|
1363
|
+
|
1364
|
+
<span class='kw'>end</span></pre>
|
1365
|
+
</td>
|
1366
|
+
</tr>
|
1367
|
+
</table>
|
1368
|
+
</div>
|
1369
|
+
|
1370
|
+
<div class="method_details ">
|
1371
|
+
<h3 class="signature " id="reverse_print-instance_method">
|
1372
|
+
|
1373
|
+
#<strong>reverse_print</strong> ⇒ <tt>Object</tt>
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
|
1378
|
+
|
1379
|
+
</h3><div class="docstring">
|
1380
|
+
<div class="discussion">
|
1381
|
+
|
1382
|
+
<p>Imprime la lista a la inversa</p>
|
1383
|
+
|
1384
|
+
|
1385
|
+
</div>
|
1386
|
+
</div>
|
1387
|
+
<div class="tags">
|
1388
|
+
|
1389
|
+
|
1390
|
+
</div><table class="source_code">
|
1391
|
+
<tr>
|
1392
|
+
<td>
|
1393
|
+
<pre class="lines">
|
1394
|
+
|
1395
|
+
|
1396
|
+
99
|
1397
|
+
100
|
1398
|
+
101
|
1399
|
+
102
|
1400
|
+
103
|
1401
|
+
104
|
1402
|
+
105
|
1403
|
+
106</pre>
|
1404
|
+
</td>
|
1405
|
+
<td>
|
1406
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 99</span>
|
1407
|
+
|
1408
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_reverse_print'>reverse_print</span>
|
1409
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@tail</span>
|
1410
|
+
|
1411
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_aux'>aux</span> <span class='op'>!=</span> <span class='kw'>nil</span> <span class='kw'>do</span>
|
1412
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
1413
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_prev'>prev</span>
|
1414
|
+
<span class='kw'>end</span>
|
1415
|
+
<span class='kw'>end</span></pre>
|
1416
|
+
</td>
|
1417
|
+
</tr>
|
1418
|
+
</table>
|
1419
|
+
</div>
|
1420
|
+
|
1421
|
+
<div class="method_details ">
|
1422
|
+
<h3 class="signature " id="salt_bubble-instance_method">
|
1423
|
+
|
1424
|
+
#<strong>salt_bubble</strong> ⇒ <tt>Object</tt>
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
|
1429
|
+
|
1430
|
+
</h3><div class="docstring">
|
1431
|
+
<div class="discussion">
|
1432
|
+
|
1433
|
+
<p>Clasifica usando la sal con el metodo de la burbuja</p>
|
1434
|
+
|
1435
|
+
|
1436
|
+
</div>
|
1437
|
+
</div>
|
1438
|
+
<div class="tags">
|
1439
|
+
|
1440
|
+
|
1441
|
+
</div><table class="source_code">
|
1442
|
+
<tr>
|
1443
|
+
<td>
|
1444
|
+
<pre class="lines">
|
1445
|
+
|
1446
|
+
|
1447
|
+
180
|
1448
|
+
181
|
1449
|
+
182
|
1450
|
+
183
|
1451
|
+
184
|
1452
|
+
185
|
1453
|
+
186
|
1454
|
+
187
|
1455
|
+
188
|
1456
|
+
189
|
1457
|
+
190
|
1458
|
+
191
|
1459
|
+
192
|
1460
|
+
193
|
1461
|
+
194
|
1462
|
+
195
|
1463
|
+
196</pre>
|
1464
|
+
</td>
|
1465
|
+
<td>
|
1466
|
+
<pre class="code"><span class="info file"># File 'lib/gema/list.rb', line 180</span>
|
1467
|
+
|
1468
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_salt_bubble'>salt_bubble</span>
|
1469
|
+
<span class='id identifier rubyid_i'>i</span> <span class='op'>=</span> <span class='int'>1</span>
|
1470
|
+
|
1471
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_i'>i</span> <span class='op'><</span> <span class='ivar'>@size</span>
|
1472
|
+
<span class='id identifier rubyid_j'>j</span> <span class='op'>=</span> <span class='int'>0</span>
|
1473
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='ivar'>@head</span>
|
1474
|
+
<span class='kw'>while</span> <span class='id identifier rubyid_j'>j</span> <span class='op'><</span> <span class='lparen'>(</span><span class='ivar'>@size</span> <span class='op'>-</span> <span class='id identifier rubyid_i'>i</span><span class='rparen'>)</span>
|
1475
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span> <span class='op'>></span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_sal'>sal</span>
|
1476
|
+
<span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
|
1477
|
+
<span class='kw'>end</span>
|
1478
|
+
<span class='id identifier rubyid_aux'>aux</span> <span class='op'>=</span> <span class='id identifier rubyid_aux'>aux</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span>
|
1479
|
+
<span class='id identifier rubyid_j'>j</span><span class='op'>+=</span><span class='int'>1</span>
|
1480
|
+
<span class='kw'>end</span>
|
1481
|
+
<span class='id identifier rubyid_i'>i</span><span class='op'>+=</span><span class='int'>1</span>
|
1482
|
+
<span class='kw'>end</span>
|
1483
|
+
|
1484
|
+
<span class='kw'>end</span></pre>
|
1485
|
+
</td>
|
1486
|
+
</tr>
|
1487
|
+
</table>
|
1488
|
+
</div>
|
1489
|
+
|
1490
|
+
</div>
|
1491
|
+
|
1492
|
+
</div>
|
1493
|
+
|
1494
|
+
<div id="footer">
|
1495
|
+
Generated on Wed Dec 19 11:49:27 2018 by
|
1496
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1497
|
+
0.9.16 (ruby-2.5.1).
|
1498
|
+
</div>
|
1499
|
+
|
1500
|
+
</div>
|
1501
|
+
</body>
|
1502
|
+
</html>
|