refbiblio_rafa 0.3.0
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/.coveralls.yml +2 -0
- data/.travis.yml +9 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +108 -0
- data/Guardfile +82 -0
- data/LICENSE.txt +21 -0
- data/README.md +3 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/coverage/.last_run.json +5 -0
- data/coverage/.resultset.json +467 -0
- data/coverage/.resultset.json.lock +0 -0
- data/doc/Doublylinkedlist.html +129 -0
- data/doc/Doublylinkedlist/Doublylinkedlist.html +1139 -0
- data/doc/RefAPA.html +129 -0
- data/doc/RefAPA/Refapa.html +503 -0
- data/doc/RefBiblio.html +129 -0
- data/doc/RefBiblio/ArtPeriodico.html +522 -0
- data/doc/RefBiblio/DocElectronico.html +782 -0
- data/doc/RefBiblio/Libro.html +514 -0
- data/doc/RefBiblio/Periodicas.html +345 -0
- data/doc/RefBiblio/Referencia.html +1068 -0
- data/doc/_index.html +201 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +79 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +79 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +303 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/doublylinkedlist/doublylinkedlist.rb +161 -0
- data/lib/doublylinkedlist/version.rb +3 -0
- data/lib/refAPA/refapa.rb +36 -0
- data/lib/refAPA/version.rb +3 -0
- data/lib/refBiblio.rb +8 -0
- data/lib/refBiblio/referencia.rb +242 -0
- data/lib/refBiblio/version.rb +3 -0
- data/refBiblio.gemspec +33 -0
- metadata +203 -0
data/doc/RefAPA.html
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Module: RefAPA
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
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
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '';
|
|
20
|
+
framesUrl = "frames.html#!RefAPA.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="_index.html">Index (R)</a> »
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<span class="title">RefAPA</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Module: RefAPA
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
|
82
|
+
<dd class="r1 last">lib/refAPA/refapa.rb<span class="defines">,<br />
|
|
83
|
+
lib/refAPA/version.rb</span>
|
|
84
|
+
</dd>
|
|
85
|
+
|
|
86
|
+
</dl>
|
|
87
|
+
<div class="clear"></div>
|
|
88
|
+
|
|
89
|
+
<h2>Defined Under Namespace</h2>
|
|
90
|
+
<p class="children">
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RefAPA/Refapa.html" title="RefAPA::Refapa (class)">Refapa</a></span>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
</p>
|
|
99
|
+
|
|
100
|
+
<h2>Constant Summary</h2>
|
|
101
|
+
|
|
102
|
+
<dl class="constants">
|
|
103
|
+
|
|
104
|
+
<dt id="VERSION-constant" class="">VERSION =
|
|
105
|
+
|
|
106
|
+
</dt>
|
|
107
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
108
|
+
|
|
109
|
+
</dl>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div id="footer">
|
|
123
|
+
Generated on Tue Dec 22 21:54:44 2015 by
|
|
124
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
125
|
+
0.8.7.6 (ruby-2.2.1).
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
</body>
|
|
129
|
+
</html>
|
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: RefAPA::Refapa
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
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
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '../';
|
|
20
|
+
framesUrl = "../frames.html#!RefAPA/Refapa.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="../_index.html">Index (R)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../RefAPA.html" title="RefAPA (module)">RefAPA</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Refapa</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="../class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="../method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="../file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: RefAPA::Refapa
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName">Object</span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next">RefAPA::Refapa</li>
|
|
82
|
+
|
|
83
|
+
</ul>
|
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
85
|
+
|
|
86
|
+
</dd>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<dt class="r2">Includes:</dt>
|
|
94
|
+
<dd class="r2">Enumerable</dd>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<dt class="r1 last">Defined in:</dt>
|
|
101
|
+
<dd class="r1 last">lib/refAPA/refapa.rb</dd>
|
|
102
|
+
|
|
103
|
+
</dl>
|
|
104
|
+
<div class="clear"></div>
|
|
105
|
+
|
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
|
107
|
+
<div class="discussion">
|
|
108
|
+
|
|
109
|
+
<p>En esta clase creamos nuestra lista de referencias segun APA</p>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="tags">
|
|
115
|
+
|
|
116
|
+
<p class="tag_title">Author:</p>
|
|
117
|
+
<ul class="author">
|
|
118
|
+
|
|
119
|
+
<li>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
<div class='inline'>
|
|
126
|
+
<p>Rafael Herrero</p>
|
|
127
|
+
</div>
|
|
128
|
+
|
|
129
|
+
</li>
|
|
130
|
+
|
|
131
|
+
</ul>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<h2>
|
|
142
|
+
Instance Method Summary
|
|
143
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
144
|
+
</h2>
|
|
145
|
+
|
|
146
|
+
<ul class="summary">
|
|
147
|
+
|
|
148
|
+
<li class="public ">
|
|
149
|
+
<span class="summary_signature">
|
|
150
|
+
|
|
151
|
+
<a href="#each-instance_method" title="#each (instance method)">- (Object) <strong>each</strong> {|i| ... }</a>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</span>
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<span class="summary_desc"><div class='inline'>
|
|
166
|
+
<p>Método para que la clase sea enumerable.</p>
|
|
167
|
+
</div></span>
|
|
168
|
+
|
|
169
|
+
</li>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<li class="public ">
|
|
173
|
+
<span class="summary_signature">
|
|
174
|
+
|
|
175
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Refapa) <strong>initialize</strong> </a>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
</span>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
<span class="note title constructor">constructor</span>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
|
192
|
+
<p>A new instance of Refapa.</p>
|
|
193
|
+
</div></span>
|
|
194
|
+
|
|
195
|
+
</li>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<li class="public ">
|
|
199
|
+
<span class="summary_signature">
|
|
200
|
+
|
|
201
|
+
<a href="#insertar-instance_method" title="#insertar (instance method)">- (Object) <strong>insertar</strong>(ref) </a>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
</span>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
|
216
|
+
<p>Metodo que inserta una referencia en la lista y la ordena.</p>
|
|
217
|
+
</div></span>
|
|
218
|
+
|
|
219
|
+
</li>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<li class="public ">
|
|
223
|
+
<span class="summary_signature">
|
|
224
|
+
|
|
225
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
</span>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
|
240
|
+
<p>Metodo que devuelve en un string la lista de referencias formateada.</p>
|
|
241
|
+
</div></span>
|
|
242
|
+
|
|
243
|
+
</li>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</ul>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<div id="constructor_details" class="method_details_list">
|
|
251
|
+
<h2>Constructor Details</h2>
|
|
252
|
+
|
|
253
|
+
<div class="method_details first">
|
|
254
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
255
|
+
|
|
256
|
+
- (<tt><span class='object_link'><a href="" title="RefAPA::Refapa (class)">Refapa</a></span></tt>) <strong>initialize</strong>
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
</h3><div class="docstring">
|
|
263
|
+
<div class="discussion">
|
|
264
|
+
|
|
265
|
+
<p>Returns a new instance of Refapa</p>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
<div class="tags">
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
</div><table class="source_code">
|
|
274
|
+
<tr>
|
|
275
|
+
<td>
|
|
276
|
+
<pre class="lines">
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
8
|
|
280
|
+
9
|
|
281
|
+
10</pre>
|
|
282
|
+
</td>
|
|
283
|
+
<td>
|
|
284
|
+
<pre class="code"><span class="info file"># File 'lib/refAPA/refapa.rb', line 8</span>
|
|
285
|
+
|
|
286
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
287
|
+
<span class='ivar'>@lista</span> <span class='op'>=</span> <span class='const'>Doublylinkedlist</span><span class='op'>::</span><span class='const'>Doublylinkedlist</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
288
|
+
<span class='kw'>end</span></pre>
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
291
|
+
</table>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
</div>
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<div id="instance_method_details" class="method_details_list">
|
|
298
|
+
<h2>Instance Method Details</h2>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<div class="method_details first">
|
|
302
|
+
<h3 class="signature first" id="each-instance_method">
|
|
303
|
+
|
|
304
|
+
- (<tt>Object</tt>) <strong>each</strong> {|i| ... }
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
</h3><div class="docstring">
|
|
311
|
+
<div class="discussion">
|
|
312
|
+
|
|
313
|
+
<p>Método para que la clase sea enumerable</p>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="tags">
|
|
319
|
+
|
|
320
|
+
<p class="tag_title">Yields:</p>
|
|
321
|
+
<ul class="yield">
|
|
322
|
+
|
|
323
|
+
<li>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<span class='type'>(<tt>i</tt>)</span>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
—
|
|
331
|
+
<div class='inline'>
|
|
332
|
+
<p>Cada elemento de la lista</p>
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
</li>
|
|
336
|
+
|
|
337
|
+
</ul>
|
|
338
|
+
|
|
339
|
+
</div><table class="source_code">
|
|
340
|
+
<tr>
|
|
341
|
+
<td>
|
|
342
|
+
<pre class="lines">
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
21
|
|
346
|
+
22
|
|
347
|
+
23</pre>
|
|
348
|
+
</td>
|
|
349
|
+
<td>
|
|
350
|
+
<pre class="code"><span class="info file"># File 'lib/refAPA/refapa.rb', line 21</span>
|
|
351
|
+
|
|
352
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span>
|
|
353
|
+
<span class='ivar'>@lista</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='kw'>yield</span> <span class='id identifier rubyid_i'>i</span><span class='rbrace'>}</span>
|
|
354
|
+
<span class='kw'>end</span></pre>
|
|
355
|
+
</td>
|
|
356
|
+
</tr>
|
|
357
|
+
</table>
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
<div class="method_details ">
|
|
361
|
+
<h3 class="signature " id="insertar-instance_method">
|
|
362
|
+
|
|
363
|
+
- (<tt>Object</tt>) <strong>insertar</strong>(ref)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
</h3><div class="docstring">
|
|
370
|
+
<div class="discussion">
|
|
371
|
+
|
|
372
|
+
<p>Metodo que inserta una referencia en la lista y la ordena</p>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
<div class="tags">
|
|
378
|
+
<p class="tag_title">Parameters:</p>
|
|
379
|
+
<ul class="param">
|
|
380
|
+
|
|
381
|
+
<li>
|
|
382
|
+
|
|
383
|
+
<span class='name'>ref</span>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
<span class='type'>(<tt>ref</tt>)</span>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
—
|
|
391
|
+
<div class='inline'>
|
|
392
|
+
<p>a insertar</p>
|
|
393
|
+
</div>
|
|
394
|
+
|
|
395
|
+
</li>
|
|
396
|
+
|
|
397
|
+
</ul>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
</div><table class="source_code">
|
|
401
|
+
<tr>
|
|
402
|
+
<td>
|
|
403
|
+
<pre class="lines">
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
14
|
|
407
|
+
15
|
|
408
|
+
16
|
|
409
|
+
17</pre>
|
|
410
|
+
</td>
|
|
411
|
+
<td>
|
|
412
|
+
<pre class="code"><span class="info file"># File 'lib/refAPA/refapa.rb', line 14</span>
|
|
413
|
+
|
|
414
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_insertar'>insertar</span><span class='lparen'>(</span><span class='id identifier rubyid_ref'>ref</span><span class='rparen'>)</span>
|
|
415
|
+
<span class='ivar'>@lista</span><span class='period'>.</span><span class='id identifier rubyid_insertar_final'>insertar_final</span><span class='lparen'>(</span><span class='id identifier rubyid_ref'>ref</span><span class='rparen'>)</span>
|
|
416
|
+
<span class='ivar'>@lista</span><span class='period'>.</span><span class='id identifier rubyid_ordenar!'>ordenar!</span>
|
|
417
|
+
<span class='kw'>end</span></pre>
|
|
418
|
+
</td>
|
|
419
|
+
</tr>
|
|
420
|
+
</table>
|
|
421
|
+
</div>
|
|
422
|
+
|
|
423
|
+
<div class="method_details ">
|
|
424
|
+
<h3 class="signature " id="to_s-instance_method">
|
|
425
|
+
|
|
426
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
</h3><div class="docstring">
|
|
433
|
+
<div class="discussion">
|
|
434
|
+
|
|
435
|
+
<p>Metodo que devuelve en un string la lista de referencias formateada</p>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
</div>
|
|
439
|
+
</div>
|
|
440
|
+
<div class="tags">
|
|
441
|
+
|
|
442
|
+
<p class="tag_title">Returns:</p>
|
|
443
|
+
<ul class="return">
|
|
444
|
+
|
|
445
|
+
<li>
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
<span class='type'></span>
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
<div class='inline'>
|
|
454
|
+
<p>un string con la lista de referencias ordenada y con formato</p>
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
</li>
|
|
458
|
+
|
|
459
|
+
</ul>
|
|
460
|
+
|
|
461
|
+
</div><table class="source_code">
|
|
462
|
+
<tr>
|
|
463
|
+
<td>
|
|
464
|
+
<pre class="lines">
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
27
|
|
468
|
+
28
|
|
469
|
+
29
|
|
470
|
+
30
|
|
471
|
+
31
|
|
472
|
+
32
|
|
473
|
+
33
|
|
474
|
+
34</pre>
|
|
475
|
+
</td>
|
|
476
|
+
<td>
|
|
477
|
+
<pre class="code"><span class="info file"># File 'lib/refAPA/refapa.rb', line 27</span>
|
|
478
|
+
|
|
479
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
480
|
+
<span class='id identifier rubyid_string'>string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
|
481
|
+
<span class='ivar'>@lista</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
|
482
|
+
<span class='id identifier rubyid_string'>string</span> <span class='op'><<</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
|
483
|
+
<span class='id identifier rubyid_string'>string</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
|
484
|
+
<span class='kw'>end</span>
|
|
485
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_string'>string</span>
|
|
486
|
+
<span class='kw'>end</span></pre>
|
|
487
|
+
</td>
|
|
488
|
+
</tr>
|
|
489
|
+
</table>
|
|
490
|
+
</div>
|
|
491
|
+
|
|
492
|
+
</div>
|
|
493
|
+
|
|
494
|
+
</div>
|
|
495
|
+
|
|
496
|
+
<div id="footer">
|
|
497
|
+
Generated on Tue Dec 22 21:54:44 2015 by
|
|
498
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
499
|
+
0.8.7.6 (ruby-2.2.1).
|
|
500
|
+
</div>
|
|
501
|
+
|
|
502
|
+
</body>
|
|
503
|
+
</html>
|