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
|
@@ -0,0 +1,345 @@
|
|
|
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: RefBiblio::Periodicas
|
|
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#!RefBiblio/Periodicas.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 (P)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../RefBiblio.html" title="RefBiblio (module)">RefBiblio</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Periodicas</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: RefBiblio::Periodicas
|
|
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"><span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next"><span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></li>
|
|
82
|
+
|
|
83
|
+
<li class="next">RefBiblio::Periodicas</li>
|
|
84
|
+
|
|
85
|
+
</ul>
|
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
87
|
+
|
|
88
|
+
</dd>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
|
99
|
+
<dd class="r2 last">lib/refBiblio/referencia.rb</dd>
|
|
100
|
+
|
|
101
|
+
</dl>
|
|
102
|
+
<div class="clear"></div>
|
|
103
|
+
|
|
104
|
+
<div id="subclasses">
|
|
105
|
+
<h2>Direct Known Subclasses</h2>
|
|
106
|
+
<p class="children"><span class='object_link'><a href="ArtPeriodico.html" title="RefBiblio::ArtPeriodico (class)">ArtPeriodico</a></span>, <span class='object_link'><a href="DocElectronico.html" title="RefBiblio::DocElectronico (class)">DocElectronico</a></span></p>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
113
|
+
<ul class="summary">
|
|
114
|
+
|
|
115
|
+
<li class="public ">
|
|
116
|
+
<span class="summary_signature">
|
|
117
|
+
|
|
118
|
+
<a href="#formato-instance_method" title="#formato (instance method)">- (Object) <strong>formato</strong> </a>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
</span>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<span class="summary_desc"><div class='inline'>
|
|
136
|
+
<p>Clase que nos permite representar todas las publicaciones periodicas de una
|
|
137
|
+
referencia.</p>
|
|
138
|
+
</div></span>
|
|
139
|
+
|
|
140
|
+
</li>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</ul>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></h3>
|
|
150
|
+
<p class="inherited"><span class='object_link'><a href="Referencia.html#autor-instance_method" title="RefBiblio::Referencia#autor (method)">#autor</a></span>, <span class='object_link'><a href="Referencia.html#editorial-instance_method" title="RefBiblio::Referencia#editorial (method)">#editorial</a></span>, <span class='object_link'><a href="Referencia.html#publicacion-instance_method" title="RefBiblio::Referencia#publicacion (method)">#publicacion</a></span>, <span class='object_link'><a href="Referencia.html#titulo-instance_method" title="RefBiblio::Referencia#titulo (method)">#titulo</a></span></p>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<h2>
|
|
155
|
+
Instance Method Summary
|
|
156
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
157
|
+
</h2>
|
|
158
|
+
|
|
159
|
+
<ul class="summary">
|
|
160
|
+
|
|
161
|
+
<li class="public ">
|
|
162
|
+
<span class="summary_signature">
|
|
163
|
+
|
|
164
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Periodicas) <strong>initialize</strong>(formato) </a>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
</span>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<span class="note title constructor">constructor</span>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<span class="summary_desc"><div class='inline'>
|
|
181
|
+
<p>Metodo para insertar el formato, unico atributo en comun en las
|
|
182
|
+
publicaciones periodicas.</p>
|
|
183
|
+
</div></span>
|
|
184
|
+
|
|
185
|
+
</li>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
</ul>
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></h3>
|
|
201
|
+
<p class="inherited"><span class='object_link'><a href="Referencia.html#%3C%3D%3E-instance_method" title="RefBiblio::Referencia#<=> (method)">#<=></a></span>, <span class='object_link'><a href="Referencia.html#get_autor-instance_method" title="RefBiblio::Referencia#get_autor (method)">#get_autor</a></span>, <span class='object_link'><a href="Referencia.html#get_editorial-instance_method" title="RefBiblio::Referencia#get_editorial (method)">#get_editorial</a></span>, <span class='object_link'><a href="Referencia.html#get_publicacion-instance_method" title="RefBiblio::Referencia#get_publicacion (method)">#get_publicacion</a></span>, <span class='object_link'><a href="Referencia.html#get_titulo-instance_method" title="RefBiblio::Referencia#get_titulo (method)">#get_titulo</a></span></p>
|
|
202
|
+
|
|
203
|
+
<div id="constructor_details" class="method_details_list">
|
|
204
|
+
<h2>Constructor Details</h2>
|
|
205
|
+
|
|
206
|
+
<div class="method_details first">
|
|
207
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
208
|
+
|
|
209
|
+
- (<tt><span class='object_link'><a href="" title="RefBiblio::Periodicas (class)">Periodicas</a></span></tt>) <strong>initialize</strong>(formato)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
</h3><div class="docstring">
|
|
216
|
+
<div class="discussion">
|
|
217
|
+
|
|
218
|
+
<p>Metodo para insertar el formato, unico atributo en comun en las
|
|
219
|
+
publicaciones periodicas</p>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
<div class="tags">
|
|
225
|
+
<p class="tag_title">Parameters:</p>
|
|
226
|
+
<ul class="param">
|
|
227
|
+
|
|
228
|
+
<li>
|
|
229
|
+
|
|
230
|
+
<span class='name'>formato</span>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
<span class='type'>(<tt>formato</tt>)</span>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
—
|
|
238
|
+
<div class='inline'>
|
|
239
|
+
<p>Formato de la publicacion</p>
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
</li>
|
|
243
|
+
|
|
244
|
+
</ul>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
</div><table class="source_code">
|
|
248
|
+
<tr>
|
|
249
|
+
<td>
|
|
250
|
+
<pre class="lines">
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
160
|
|
254
|
+
161
|
|
255
|
+
162</pre>
|
|
256
|
+
</td>
|
|
257
|
+
<td>
|
|
258
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 160</span>
|
|
259
|
+
|
|
260
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_formato'>formato</span><span class='rparen'>)</span>
|
|
261
|
+
<span class='ivar'>@formato</span> <span class='op'>=</span> <span class='id identifier rubyid_formato'>formato</span><span class='period'>.</span><span class='id identifier rubyid_capitalize'>capitalize</span>
|
|
262
|
+
<span class='kw'>end</span></pre>
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
265
|
+
</table>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
</div>
|
|
269
|
+
|
|
270
|
+
<div id="instance_attr_details" class="attr_details">
|
|
271
|
+
<h2>Instance Attribute Details</h2>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
<span id="formato=-instance_method"></span>
|
|
275
|
+
<div class="method_details first">
|
|
276
|
+
<h3 class="signature first" id="formato-instance_method">
|
|
277
|
+
|
|
278
|
+
- (<tt>Object</tt>) <strong>formato</strong>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
</h3><div class="docstring">
|
|
285
|
+
<div class="discussion">
|
|
286
|
+
|
|
287
|
+
<p>Clase que nos permite representar todas las publicaciones periodicas de una
|
|
288
|
+
referencia</p>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
<div class="tags">
|
|
294
|
+
|
|
295
|
+
<p class="tag_title">Author:</p>
|
|
296
|
+
<ul class="author">
|
|
297
|
+
|
|
298
|
+
<li>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
<div class='inline'>
|
|
305
|
+
<p>Rafael Herrero</p>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
</li>
|
|
309
|
+
|
|
310
|
+
</ul>
|
|
311
|
+
|
|
312
|
+
</div><table class="source_code">
|
|
313
|
+
<tr>
|
|
314
|
+
<td>
|
|
315
|
+
<pre class="lines">
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
156
|
|
319
|
+
157
|
|
320
|
+
158</pre>
|
|
321
|
+
</td>
|
|
322
|
+
<td>
|
|
323
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 156</span>
|
|
324
|
+
|
|
325
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_formato'>formato</span>
|
|
326
|
+
<span class='ivar'>@formato</span>
|
|
327
|
+
<span class='kw'>end</span></pre>
|
|
328
|
+
</td>
|
|
329
|
+
</tr>
|
|
330
|
+
</table>
|
|
331
|
+
</div>
|
|
332
|
+
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
<div id="footer">
|
|
339
|
+
Generated on Tue Dec 22 21:54:45 2015 by
|
|
340
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
341
|
+
0.8.7.6 (ruby-2.2.1).
|
|
342
|
+
</div>
|
|
343
|
+
|
|
344
|
+
</body>
|
|
345
|
+
</html>
|
|
@@ -0,0 +1,1068 @@
|
|
|
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: RefBiblio::Referencia
|
|
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#!RefBiblio/Referencia.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="../RefBiblio.html" title="RefBiblio (module)">RefBiblio</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Referencia</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: RefBiblio::Referencia
|
|
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">RefBiblio::Referencia</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">Comparable</dd>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<dt class="r1 last">Defined in:</dt>
|
|
101
|
+
<dd class="r1 last">lib/refBiblio/referencia.rb</dd>
|
|
102
|
+
|
|
103
|
+
</dl>
|
|
104
|
+
<div class="clear"></div>
|
|
105
|
+
|
|
106
|
+
<div id="subclasses">
|
|
107
|
+
<h2>Direct Known Subclasses</h2>
|
|
108
|
+
<p class="children"><span class='object_link'><a href="Libro.html" title="RefBiblio::Libro (class)">Libro</a></span>, <span class='object_link'><a href="Periodicas.html" title="RefBiblio::Periodicas (class)">Periodicas</a></span></p>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
115
|
+
<ul class="summary">
|
|
116
|
+
|
|
117
|
+
<li class="public ">
|
|
118
|
+
<span class="summary_signature">
|
|
119
|
+
|
|
120
|
+
<a href="#autor-instance_method" title="#autor (instance method)">- (Object) <strong>autor</strong>(autor) </a>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
</span>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
<span class="summary_desc"><div class='inline'>
|
|
138
|
+
<p>Metodo para guardar el nombre del autor/autores.</p>
|
|
139
|
+
</div></span>
|
|
140
|
+
|
|
141
|
+
</li>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<li class="public ">
|
|
145
|
+
<span class="summary_signature">
|
|
146
|
+
|
|
147
|
+
<a href="#editorial-instance_method" title="#editorial (instance method)">- (Object) <strong>editorial</strong>(editorial) </a>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
</span>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
<span class="summary_desc"><div class='inline'>
|
|
165
|
+
<p>Metodo para guardar el editorial de la referencia.</p>
|
|
166
|
+
</div></span>
|
|
167
|
+
|
|
168
|
+
</li>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<li class="public ">
|
|
172
|
+
<span class="summary_signature">
|
|
173
|
+
|
|
174
|
+
<a href="#publicacion-instance_method" title="#publicacion (instance method)">- (Object) <strong>publicacion</strong>(publicacion) </a>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
</span>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
|
192
|
+
<p>Metodo para guardar la fecha de publicacion de la referencia.</p>
|
|
193
|
+
</div></span>
|
|
194
|
+
|
|
195
|
+
</li>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<li class="public ">
|
|
199
|
+
<span class="summary_signature">
|
|
200
|
+
|
|
201
|
+
<a href="#titulo-instance_method" title="#titulo (instance method)">- (Object) <strong>titulo</strong>(titulo) </a>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
</span>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<span class="summary_desc"><div class='inline'>
|
|
219
|
+
<p>Metodo para guardar el titulo de la referencia.</p>
|
|
220
|
+
</div></span>
|
|
221
|
+
|
|
222
|
+
</li>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</ul>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
<h2>
|
|
232
|
+
Instance Method Summary
|
|
233
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
234
|
+
</h2>
|
|
235
|
+
|
|
236
|
+
<ul class="summary">
|
|
237
|
+
|
|
238
|
+
<li class="public ">
|
|
239
|
+
<span class="summary_signature">
|
|
240
|
+
|
|
241
|
+
<a href="#%3C%3D%3E-instance_method" title="#<=> (instance method)">- (Object) <strong><=></strong>(otro) </a>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
</span>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<span class="summary_desc"><div class='inline'>
|
|
256
|
+
<p>Método con el que podemos usar el modulo Enumerable.</p>
|
|
257
|
+
</div></span>
|
|
258
|
+
|
|
259
|
+
</li>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
<li class="public ">
|
|
263
|
+
<span class="summary_signature">
|
|
264
|
+
|
|
265
|
+
<a href="#get_autor-instance_method" title="#get_autor (instance method)">- (Object) <strong>get_autor</strong> </a>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
</span>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<span class="summary_desc"><div class='inline'>
|
|
280
|
+
<p>Metodo para obtener el autor/autores de la referencia.</p>
|
|
281
|
+
</div></span>
|
|
282
|
+
|
|
283
|
+
</li>
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
<li class="public ">
|
|
287
|
+
<span class="summary_signature">
|
|
288
|
+
|
|
289
|
+
<a href="#get_editorial-instance_method" title="#get_editorial (instance method)">- (Object) <strong>get_editorial</strong> </a>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</span>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<span class="summary_desc"><div class='inline'>
|
|
304
|
+
<p>Metodo para obtener el editorial de la referencia.</p>
|
|
305
|
+
</div></span>
|
|
306
|
+
|
|
307
|
+
</li>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<li class="public ">
|
|
311
|
+
<span class="summary_signature">
|
|
312
|
+
|
|
313
|
+
<a href="#get_publicacion-instance_method" title="#get_publicacion (instance method)">- (Object) <strong>get_publicacion</strong> </a>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
</span>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
<span class="summary_desc"><div class='inline'>
|
|
328
|
+
<p>Metodo para obtener la fecha de publicacion de la referencia.</p>
|
|
329
|
+
</div></span>
|
|
330
|
+
|
|
331
|
+
</li>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
<li class="public ">
|
|
335
|
+
<span class="summary_signature">
|
|
336
|
+
|
|
337
|
+
<a href="#get_titulo-instance_method" title="#get_titulo (instance method)">- (Object) <strong>get_titulo</strong> </a>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
</span>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<span class="summary_desc"><div class='inline'>
|
|
352
|
+
<p>Metodo para obtener el titulo de la referencia.</p>
|
|
353
|
+
</div></span>
|
|
354
|
+
|
|
355
|
+
</li>
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
<li class="public ">
|
|
359
|
+
<span class="summary_signature">
|
|
360
|
+
|
|
361
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Referencia) <strong>initialize</strong> </a>
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</span>
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
<span class="note title constructor">constructor</span>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
<span class="summary_desc"><div class='inline'>
|
|
378
|
+
<p>A new instance of Referencia.</p>
|
|
379
|
+
</div></span>
|
|
380
|
+
|
|
381
|
+
</li>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
</ul>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
<div id="constructor_details" class="method_details_list">
|
|
389
|
+
<h2>Constructor Details</h2>
|
|
390
|
+
|
|
391
|
+
<div class="method_details first">
|
|
392
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
393
|
+
|
|
394
|
+
- (<tt><span class='object_link'><a href="" title="RefBiblio::Referencia (class)">Referencia</a></span></tt>) <strong>initialize</strong>
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
</h3><div class="docstring">
|
|
401
|
+
<div class="discussion">
|
|
402
|
+
|
|
403
|
+
<p>Returns a new instance of Referencia</p>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
|
+
<div class="tags">
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
</div><table class="source_code">
|
|
412
|
+
<tr>
|
|
413
|
+
<td>
|
|
414
|
+
<pre class="lines">
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
10
|
|
418
|
+
11</pre>
|
|
419
|
+
</td>
|
|
420
|
+
<td>
|
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 10</span>
|
|
422
|
+
|
|
423
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
424
|
+
<span class='kw'>end</span></pre>
|
|
425
|
+
</td>
|
|
426
|
+
</tr>
|
|
427
|
+
</table>
|
|
428
|
+
</div>
|
|
429
|
+
|
|
430
|
+
</div>
|
|
431
|
+
|
|
432
|
+
<div id="instance_attr_details" class="attr_details">
|
|
433
|
+
<h2>Instance Attribute Details</h2>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
<span id="autor=-instance_method"></span>
|
|
437
|
+
<div class="method_details first">
|
|
438
|
+
<h3 class="signature first" id="autor-instance_method">
|
|
439
|
+
|
|
440
|
+
- (<tt>Object</tt>) <strong>autor</strong>(autor)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
</h3><div class="docstring">
|
|
447
|
+
<div class="discussion">
|
|
448
|
+
|
|
449
|
+
<p>Metodo para guardar el nombre del autor/autores</p>
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
</div>
|
|
453
|
+
</div>
|
|
454
|
+
<div class="tags">
|
|
455
|
+
<p class="tag_title">Parameters:</p>
|
|
456
|
+
<ul class="param">
|
|
457
|
+
|
|
458
|
+
<li>
|
|
459
|
+
|
|
460
|
+
<span class='name'>autor</span>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<span class='type'>(<tt>autor</tt>)</span>
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
—
|
|
468
|
+
<div class='inline'>
|
|
469
|
+
<p>Nombre del autor a introducir</p>
|
|
470
|
+
</div>
|
|
471
|
+
|
|
472
|
+
</li>
|
|
473
|
+
|
|
474
|
+
</ul>
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
</div><table class="source_code">
|
|
478
|
+
<tr>
|
|
479
|
+
<td>
|
|
480
|
+
<pre class="lines">
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
15
|
|
484
|
+
16
|
|
485
|
+
17</pre>
|
|
486
|
+
</td>
|
|
487
|
+
<td>
|
|
488
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 15</span>
|
|
489
|
+
|
|
490
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_autor'>autor</span>
|
|
491
|
+
<span class='ivar'>@autor</span>
|
|
492
|
+
<span class='kw'>end</span></pre>
|
|
493
|
+
</td>
|
|
494
|
+
</tr>
|
|
495
|
+
</table>
|
|
496
|
+
</div>
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
<span id="editorial=-instance_method"></span>
|
|
500
|
+
<div class="method_details ">
|
|
501
|
+
<h3 class="signature " id="editorial-instance_method">
|
|
502
|
+
|
|
503
|
+
- (<tt>Object</tt>) <strong>editorial</strong>(editorial)
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
</h3><div class="docstring">
|
|
510
|
+
<div class="discussion">
|
|
511
|
+
|
|
512
|
+
<p>Metodo para guardar el editorial de la referencia</p>
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
</div>
|
|
516
|
+
</div>
|
|
517
|
+
<div class="tags">
|
|
518
|
+
<p class="tag_title">Parameters:</p>
|
|
519
|
+
<ul class="param">
|
|
520
|
+
|
|
521
|
+
<li>
|
|
522
|
+
|
|
523
|
+
<span class='name'>editorial</span>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
<span class='type'>(<tt>editorial</tt>)</span>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
—
|
|
531
|
+
<div class='inline'>
|
|
532
|
+
<p>Editorial de la referencia a introducir</p>
|
|
533
|
+
</div>
|
|
534
|
+
|
|
535
|
+
</li>
|
|
536
|
+
|
|
537
|
+
</ul>
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
</div><table class="source_code">
|
|
541
|
+
<tr>
|
|
542
|
+
<td>
|
|
543
|
+
<pre class="lines">
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
50
|
|
547
|
+
51
|
|
548
|
+
52</pre>
|
|
549
|
+
</td>
|
|
550
|
+
<td>
|
|
551
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 50</span>
|
|
552
|
+
|
|
553
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_editorial'>editorial</span>
|
|
554
|
+
<span class='ivar'>@editorial</span>
|
|
555
|
+
<span class='kw'>end</span></pre>
|
|
556
|
+
</td>
|
|
557
|
+
</tr>
|
|
558
|
+
</table>
|
|
559
|
+
</div>
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<span id="publicacion=-instance_method"></span>
|
|
563
|
+
<div class="method_details ">
|
|
564
|
+
<h3 class="signature " id="publicacion-instance_method">
|
|
565
|
+
|
|
566
|
+
- (<tt>Object</tt>) <strong>publicacion</strong>(publicacion)
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
</h3><div class="docstring">
|
|
573
|
+
<div class="discussion">
|
|
574
|
+
|
|
575
|
+
<p>Metodo para guardar la fecha de publicacion de la referencia</p>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
</div>
|
|
579
|
+
</div>
|
|
580
|
+
<div class="tags">
|
|
581
|
+
<p class="tag_title">Parameters:</p>
|
|
582
|
+
<ul class="param">
|
|
583
|
+
|
|
584
|
+
<li>
|
|
585
|
+
|
|
586
|
+
<span class='name'>publicacion</span>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
<span class='type'>(<tt>publicacion</tt>)</span>
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
—
|
|
594
|
+
<div class='inline'>
|
|
595
|
+
<p>Fecha de publicacion de la referencia a introducir</p>
|
|
596
|
+
</div>
|
|
597
|
+
|
|
598
|
+
</li>
|
|
599
|
+
|
|
600
|
+
</ul>
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</div><table class="source_code">
|
|
604
|
+
<tr>
|
|
605
|
+
<td>
|
|
606
|
+
<pre class="lines">
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
56
|
|
610
|
+
57
|
|
611
|
+
58</pre>
|
|
612
|
+
</td>
|
|
613
|
+
<td>
|
|
614
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 56</span>
|
|
615
|
+
|
|
616
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_publicacion'>publicacion</span>
|
|
617
|
+
<span class='ivar'>@publicacion</span>
|
|
618
|
+
<span class='kw'>end</span></pre>
|
|
619
|
+
</td>
|
|
620
|
+
</tr>
|
|
621
|
+
</table>
|
|
622
|
+
</div>
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
<span id="titulo=-instance_method"></span>
|
|
626
|
+
<div class="method_details ">
|
|
627
|
+
<h3 class="signature " id="titulo-instance_method">
|
|
628
|
+
|
|
629
|
+
- (<tt>Object</tt>) <strong>titulo</strong>(titulo)
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
</h3><div class="docstring">
|
|
636
|
+
<div class="discussion">
|
|
637
|
+
|
|
638
|
+
<p>Metodo para guardar el titulo de la referencia</p>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
</div>
|
|
642
|
+
</div>
|
|
643
|
+
<div class="tags">
|
|
644
|
+
<p class="tag_title">Parameters:</p>
|
|
645
|
+
<ul class="param">
|
|
646
|
+
|
|
647
|
+
<li>
|
|
648
|
+
|
|
649
|
+
<span class='name'>titulo</span>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
<span class='type'>(<tt>titulo</tt>)</span>
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
—
|
|
657
|
+
<div class='inline'>
|
|
658
|
+
<p>Titulo de la referencia a introducir</p>
|
|
659
|
+
</div>
|
|
660
|
+
|
|
661
|
+
</li>
|
|
662
|
+
|
|
663
|
+
</ul>
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
</div><table class="source_code">
|
|
667
|
+
<tr>
|
|
668
|
+
<td>
|
|
669
|
+
<pre class="lines">
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
34
|
|
673
|
+
35
|
|
674
|
+
36</pre>
|
|
675
|
+
</td>
|
|
676
|
+
<td>
|
|
677
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 34</span>
|
|
678
|
+
|
|
679
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_titulo'>titulo</span>
|
|
680
|
+
<span class='ivar'>@titulo</span>
|
|
681
|
+
<span class='kw'>end</span></pre>
|
|
682
|
+
</td>
|
|
683
|
+
</tr>
|
|
684
|
+
</table>
|
|
685
|
+
</div>
|
|
686
|
+
|
|
687
|
+
</div>
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
<div id="instance_method_details" class="method_details_list">
|
|
691
|
+
<h2>Instance Method Details</h2>
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
<div class="method_details first">
|
|
695
|
+
<h3 class="signature first" id="<=>-instance_method">
|
|
696
|
+
|
|
697
|
+
- (<tt>Object</tt>) <strong><=></strong>(otro)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
</h3><div class="docstring">
|
|
704
|
+
<div class="discussion">
|
|
705
|
+
|
|
706
|
+
<p>Método con el que podemos usar el modulo Enumerable</p>
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
</div>
|
|
710
|
+
</div>
|
|
711
|
+
<div class="tags">
|
|
712
|
+
<p class="tag_title">Parameters:</p>
|
|
713
|
+
<ul class="param">
|
|
714
|
+
|
|
715
|
+
<li>
|
|
716
|
+
|
|
717
|
+
<span class='name'>otro</span>
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
<span class='type'></span>
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
—
|
|
725
|
+
<div class='inline'>
|
|
726
|
+
<p>Otro elemento a comparar</p>
|
|
727
|
+
</div>
|
|
728
|
+
|
|
729
|
+
</li>
|
|
730
|
+
|
|
731
|
+
</ul>
|
|
732
|
+
|
|
733
|
+
<p class="tag_title">Returns:</p>
|
|
734
|
+
<ul class="return">
|
|
735
|
+
|
|
736
|
+
<li>
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
<span class='type'></span>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
<div class='inline'>
|
|
745
|
+
<p>Devuelve valores entre -1 y 1 segun el orden</p>
|
|
746
|
+
</div>
|
|
747
|
+
|
|
748
|
+
</li>
|
|
749
|
+
|
|
750
|
+
</ul>
|
|
751
|
+
|
|
752
|
+
</div><table class="source_code">
|
|
753
|
+
<tr>
|
|
754
|
+
<td>
|
|
755
|
+
<pre class="lines">
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
87
|
|
759
|
+
88
|
|
760
|
+
89
|
|
761
|
+
90
|
|
762
|
+
91
|
|
763
|
+
92
|
|
764
|
+
93
|
|
765
|
+
94
|
|
766
|
+
95
|
|
767
|
+
96
|
|
768
|
+
97
|
|
769
|
+
98
|
|
770
|
+
99
|
|
771
|
+
100
|
|
772
|
+
101
|
|
773
|
+
102
|
|
774
|
+
103
|
|
775
|
+
104
|
|
776
|
+
105
|
|
777
|
+
106
|
|
778
|
+
107
|
|
779
|
+
108
|
|
780
|
+
109
|
|
781
|
+
110
|
|
782
|
+
111
|
|
783
|
+
112
|
|
784
|
+
113</pre>
|
|
785
|
+
</td>
|
|
786
|
+
<td>
|
|
787
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 87</span>
|
|
788
|
+
|
|
789
|
+
<span class='kw'>def</span> <span class='op'><=></span> <span class='lparen'>(</span><span class='id identifier rubyid_otro'>otro</span><span class='rparen'>)</span>
|
|
790
|
+
<span class='kw'>if</span><span class='lparen'>(</span><span class='ivar'>@autor</span> <span class='op'>==</span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_autor'>get_autor</span><span class='rparen'>)</span>
|
|
791
|
+
<span class='kw'>if</span><span class='lparen'>(</span><span class='ivar'>@publicacion</span> <span class='op'>==</span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_publicacion'>get_publicacion</span><span class='rparen'>)</span>
|
|
792
|
+
<span class='kw'>if</span><span class='lparen'>(</span><span class='ivar'>@titulo</span> <span class='op'>==</span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_titulo'>get_titulo</span><span class='rparen'>)</span>
|
|
793
|
+
<span class='kw'>return</span> <span class='int'>0</span>
|
|
794
|
+
<span class='kw'>else</span>
|
|
795
|
+
<span class='id identifier rubyid_arr'>arr</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='ivar'>@titulo</span><span class='comma'>,</span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_titulo'>get_titulo</span><span class='rbracket'>]</span>
|
|
796
|
+
<span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_sort_by!'>sort_by!</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_t'>t</span><span class='op'>|</span> <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='rbrace'>}</span>
|
|
797
|
+
<span class='kw'>if</span><span class='lparen'>(</span><span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='op'>==</span> <span class='ivar'>@titulo</span><span class='rparen'>)</span>
|
|
798
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
|
799
|
+
<span class='kw'>end</span>
|
|
800
|
+
<span class='kw'>return</span> <span class='op'>-</span><span class='int'>1</span>
|
|
801
|
+
<span class='kw'>end</span>
|
|
802
|
+
<span class='kw'>elsif</span> <span class='id identifier rubyid_publicacion'>publicacion</span> <span class='op'>></span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_publicacion'>get_publicacion</span>
|
|
803
|
+
<span class='kw'>return</span> <span class='op'>-</span><span class='int'>1</span>
|
|
804
|
+
<span class='kw'>else</span>
|
|
805
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
|
806
|
+
<span class='kw'>end</span>
|
|
807
|
+
<span class='kw'>else</span>
|
|
808
|
+
<span class='id identifier rubyid_arr'>arr</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='ivar'>@autor</span><span class='comma'>,</span> <span class='id identifier rubyid_otro'>otro</span><span class='period'>.</span><span class='id identifier rubyid_get_autor'>get_autor</span><span class='rbracket'>]</span>
|
|
809
|
+
<span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_sort_by!'>sort_by!</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_t'>t</span><span class='op'>|</span> <span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='rbrace'>}</span>
|
|
810
|
+
<span class='kw'>if</span><span class='lparen'>(</span><span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='op'>==</span> <span class='ivar'>@autor</span><span class='rparen'>)</span>
|
|
811
|
+
<span class='kw'>return</span> <span class='op'>-</span><span class='int'>1</span>
|
|
812
|
+
<span class='kw'>end</span>
|
|
813
|
+
<span class='kw'>return</span> <span class='int'>1</span>
|
|
814
|
+
<span class='kw'>end</span>
|
|
815
|
+
<span class='kw'>end</span></pre>
|
|
816
|
+
</td>
|
|
817
|
+
</tr>
|
|
818
|
+
</table>
|
|
819
|
+
</div>
|
|
820
|
+
|
|
821
|
+
<div class="method_details ">
|
|
822
|
+
<h3 class="signature " id="get_autor-instance_method">
|
|
823
|
+
|
|
824
|
+
- (<tt>Object</tt>) <strong>get_autor</strong>
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
</h3><div class="docstring">
|
|
831
|
+
<div class="discussion">
|
|
832
|
+
|
|
833
|
+
<p>Metodo para obtener el autor/autores de la referencia</p>
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
</div>
|
|
837
|
+
</div>
|
|
838
|
+
<div class="tags">
|
|
839
|
+
|
|
840
|
+
<p class="tag_title">Returns:</p>
|
|
841
|
+
<ul class="return">
|
|
842
|
+
|
|
843
|
+
<li>
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
<span class='type'></span>
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
<div class='inline'>
|
|
852
|
+
<p>Autor/autores de la referencia</p>
|
|
853
|
+
</div>
|
|
854
|
+
|
|
855
|
+
</li>
|
|
856
|
+
|
|
857
|
+
</ul>
|
|
858
|
+
|
|
859
|
+
</div><table class="source_code">
|
|
860
|
+
<tr>
|
|
861
|
+
<td>
|
|
862
|
+
<pre class="lines">
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
68
|
|
866
|
+
69
|
|
867
|
+
70</pre>
|
|
868
|
+
</td>
|
|
869
|
+
<td>
|
|
870
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 68</span>
|
|
871
|
+
|
|
872
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_autor'>get_autor</span>
|
|
873
|
+
<span class='ivar'>@autor</span>
|
|
874
|
+
<span class='kw'>end</span></pre>
|
|
875
|
+
</td>
|
|
876
|
+
</tr>
|
|
877
|
+
</table>
|
|
878
|
+
</div>
|
|
879
|
+
|
|
880
|
+
<div class="method_details ">
|
|
881
|
+
<h3 class="signature " id="get_editorial-instance_method">
|
|
882
|
+
|
|
883
|
+
- (<tt>Object</tt>) <strong>get_editorial</strong>
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
</h3><div class="docstring">
|
|
890
|
+
<div class="discussion">
|
|
891
|
+
|
|
892
|
+
<p>Metodo para obtener el editorial de la referencia</p>
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
</div>
|
|
896
|
+
</div>
|
|
897
|
+
<div class="tags">
|
|
898
|
+
|
|
899
|
+
<p class="tag_title">Returns:</p>
|
|
900
|
+
<ul class="return">
|
|
901
|
+
|
|
902
|
+
<li>
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
<span class='type'></span>
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
<div class='inline'>
|
|
911
|
+
<p>Editorial de la referencia</p>
|
|
912
|
+
</div>
|
|
913
|
+
|
|
914
|
+
</li>
|
|
915
|
+
|
|
916
|
+
</ul>
|
|
917
|
+
|
|
918
|
+
</div><table class="source_code">
|
|
919
|
+
<tr>
|
|
920
|
+
<td>
|
|
921
|
+
<pre class="lines">
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
74
|
|
925
|
+
75
|
|
926
|
+
76</pre>
|
|
927
|
+
</td>
|
|
928
|
+
<td>
|
|
929
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 74</span>
|
|
930
|
+
|
|
931
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_editorial'>get_editorial</span>
|
|
932
|
+
<span class='ivar'>@editorial</span>
|
|
933
|
+
<span class='kw'>end</span></pre>
|
|
934
|
+
</td>
|
|
935
|
+
</tr>
|
|
936
|
+
</table>
|
|
937
|
+
</div>
|
|
938
|
+
|
|
939
|
+
<div class="method_details ">
|
|
940
|
+
<h3 class="signature " id="get_publicacion-instance_method">
|
|
941
|
+
|
|
942
|
+
- (<tt>Object</tt>) <strong>get_publicacion</strong>
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
</h3><div class="docstring">
|
|
949
|
+
<div class="discussion">
|
|
950
|
+
|
|
951
|
+
<p>Metodo para obtener la fecha de publicacion de la referencia</p>
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
</div>
|
|
955
|
+
</div>
|
|
956
|
+
<div class="tags">
|
|
957
|
+
|
|
958
|
+
<p class="tag_title">Returns:</p>
|
|
959
|
+
<ul class="return">
|
|
960
|
+
|
|
961
|
+
<li>
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
<span class='type'></span>
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
<div class='inline'>
|
|
970
|
+
<p>Fecha de publicacion de la referencia</p>
|
|
971
|
+
</div>
|
|
972
|
+
|
|
973
|
+
</li>
|
|
974
|
+
|
|
975
|
+
</ul>
|
|
976
|
+
|
|
977
|
+
</div><table class="source_code">
|
|
978
|
+
<tr>
|
|
979
|
+
<td>
|
|
980
|
+
<pre class="lines">
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
80
|
|
984
|
+
81
|
|
985
|
+
82</pre>
|
|
986
|
+
</td>
|
|
987
|
+
<td>
|
|
988
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 80</span>
|
|
989
|
+
|
|
990
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_publicacion'>get_publicacion</span>
|
|
991
|
+
<span class='ivar'>@publicacion</span>
|
|
992
|
+
<span class='kw'>end</span></pre>
|
|
993
|
+
</td>
|
|
994
|
+
</tr>
|
|
995
|
+
</table>
|
|
996
|
+
</div>
|
|
997
|
+
|
|
998
|
+
<div class="method_details ">
|
|
999
|
+
<h3 class="signature " id="get_titulo-instance_method">
|
|
1000
|
+
|
|
1001
|
+
- (<tt>Object</tt>) <strong>get_titulo</strong>
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
</h3><div class="docstring">
|
|
1008
|
+
<div class="discussion">
|
|
1009
|
+
|
|
1010
|
+
<p>Metodo para obtener el titulo de la referencia</p>
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
</div>
|
|
1014
|
+
</div>
|
|
1015
|
+
<div class="tags">
|
|
1016
|
+
|
|
1017
|
+
<p class="tag_title">Returns:</p>
|
|
1018
|
+
<ul class="return">
|
|
1019
|
+
|
|
1020
|
+
<li>
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
<span class='type'></span>
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
<div class='inline'>
|
|
1029
|
+
<p>Titulo de la referencia</p>
|
|
1030
|
+
</div>
|
|
1031
|
+
|
|
1032
|
+
</li>
|
|
1033
|
+
|
|
1034
|
+
</ul>
|
|
1035
|
+
|
|
1036
|
+
</div><table class="source_code">
|
|
1037
|
+
<tr>
|
|
1038
|
+
<td>
|
|
1039
|
+
<pre class="lines">
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
62
|
|
1043
|
+
63
|
|
1044
|
+
64</pre>
|
|
1045
|
+
</td>
|
|
1046
|
+
<td>
|
|
1047
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 62</span>
|
|
1048
|
+
|
|
1049
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_titulo'>get_titulo</span>
|
|
1050
|
+
<span class='ivar'>@titulo</span>
|
|
1051
|
+
<span class='kw'>end</span></pre>
|
|
1052
|
+
</td>
|
|
1053
|
+
</tr>
|
|
1054
|
+
</table>
|
|
1055
|
+
</div>
|
|
1056
|
+
|
|
1057
|
+
</div>
|
|
1058
|
+
|
|
1059
|
+
</div>
|
|
1060
|
+
|
|
1061
|
+
<div id="footer">
|
|
1062
|
+
Generated on Tue Dec 22 21:54:45 2015 by
|
|
1063
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1064
|
+
0.8.7.6 (ruby-2.2.1).
|
|
1065
|
+
</div>
|
|
1066
|
+
|
|
1067
|
+
</body>
|
|
1068
|
+
</html>
|