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/RefBiblio.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: RefBiblio
|
|
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.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">RefBiblio</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: RefBiblio
|
|
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/refBiblio.rb<span class="defines">,<br />
|
|
83
|
+
lib/refBiblio/version.rb,<br /> lib/refBiblio/referencia.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="RefBiblio/ArtPeriodico.html" title="RefBiblio::ArtPeriodico (class)">ArtPeriodico</a></span>, <span class='object_link'><a href="RefBiblio/DocElectronico.html" title="RefBiblio::DocElectronico (class)">DocElectronico</a></span>, <span class='object_link'><a href="RefBiblio/Libro.html" title="RefBiblio::Libro (class)">Libro</a></span>, <span class='object_link'><a href="RefBiblio/Periodicas.html" title="RefBiblio::Periodicas (class)">Periodicas</a></span>, <span class='object_link'><a href="RefBiblio/Referencia.html" title="RefBiblio::Referencia (class)">Referencia</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,522 @@
|
|
|
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::ArtPeriodico
|
|
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/ArtPeriodico.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 (A)</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">ArtPeriodico</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::ArtPeriodico
|
|
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="Periodicas.html" title="RefBiblio::Periodicas (class)">Periodicas</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"><span class='object_link'><a href="Periodicas.html" title="RefBiblio::Periodicas (class)">Periodicas</a></span></li>
|
|
84
|
+
|
|
85
|
+
<li class="next">RefBiblio::ArtPeriodico</li>
|
|
86
|
+
|
|
87
|
+
</ul>
|
|
88
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
89
|
+
|
|
90
|
+
</dd>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<dt class="r2 last">Defined in:</dt>
|
|
101
|
+
<dd class="r2 last">lib/refBiblio/referencia.rb</dd>
|
|
102
|
+
|
|
103
|
+
</dl>
|
|
104
|
+
<div class="clear"></div>
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
111
|
+
<ul class="summary">
|
|
112
|
+
|
|
113
|
+
<li class="public ">
|
|
114
|
+
<span class="summary_signature">
|
|
115
|
+
|
|
116
|
+
<a href="#formato-instance_method" title="#formato (instance method)">- (Object) <strong>formato</strong> </a>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
</span>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
<span class="summary_desc"><div class='inline'>
|
|
134
|
+
<p>Clase que nos permite representar los articulos periodisticos de una
|
|
135
|
+
publicacion periodica.</p>
|
|
136
|
+
</div></span>
|
|
137
|
+
|
|
138
|
+
</li>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<li class="public ">
|
|
142
|
+
<span class="summary_signature">
|
|
143
|
+
|
|
144
|
+
<a href="#paginas-instance_method" title="#paginas (instance method)">- (Object) <strong>paginas</strong>(paginas) </a>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
</span>
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
<span class="summary_desc"><div class='inline'>
|
|
162
|
+
<p>Metodo que permite insertar el numero de paginas.</p>
|
|
163
|
+
</div></span>
|
|
164
|
+
|
|
165
|
+
</li>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
</ul>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></h3>
|
|
175
|
+
<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>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<h2>
|
|
180
|
+
Instance Method Summary
|
|
181
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
182
|
+
</h2>
|
|
183
|
+
|
|
184
|
+
<ul class="summary">
|
|
185
|
+
|
|
186
|
+
<li class="public ">
|
|
187
|
+
<span class="summary_signature">
|
|
188
|
+
|
|
189
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (ArtPeriodico) <strong>initialize</strong>(formato, &block) </a>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
</span>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<span class="note title constructor">constructor</span>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
|
206
|
+
<p>A new instance of ArtPeriodico.</p>
|
|
207
|
+
</div></span>
|
|
208
|
+
|
|
209
|
+
</li>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<li class="public ">
|
|
213
|
+
<span class="summary_signature">
|
|
214
|
+
|
|
215
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
</span>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
|
230
|
+
<p>Metodo que nos devuelve la referencia del articulo periodistico formateado.</p>
|
|
231
|
+
</div></span>
|
|
232
|
+
|
|
233
|
+
</li>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
</ul>
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Referencia.html" title="RefBiblio::Referencia (class)">Referencia</a></span></h3>
|
|
255
|
+
<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>
|
|
256
|
+
|
|
257
|
+
<div id="constructor_details" class="method_details_list">
|
|
258
|
+
<h2>Constructor Details</h2>
|
|
259
|
+
|
|
260
|
+
<div class="method_details first">
|
|
261
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
262
|
+
|
|
263
|
+
- (<tt><span class='object_link'><a href="" title="RefBiblio::ArtPeriodico (class)">ArtPeriodico</a></span></tt>) <strong>initialize</strong>(formato, &block)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
</h3><div class="docstring">
|
|
270
|
+
<div class="discussion">
|
|
271
|
+
|
|
272
|
+
<p>Returns a new instance of ArtPeriodico</p>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
<div class="tags">
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
</div><table class="source_code">
|
|
281
|
+
<tr>
|
|
282
|
+
<td>
|
|
283
|
+
<pre class="lines">
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
170
|
|
287
|
+
171
|
|
288
|
+
172
|
|
289
|
+
173
|
|
290
|
+
174
|
|
291
|
+
175
|
|
292
|
+
176
|
|
293
|
+
177
|
|
294
|
+
178
|
|
295
|
+
179</pre>
|
|
296
|
+
</td>
|
|
297
|
+
<td>
|
|
298
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 170</span>
|
|
299
|
+
|
|
300
|
+
<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='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
301
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
|
302
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_arity'>arity</span> <span class='op'>==</span> <span class='int'>1</span>
|
|
303
|
+
<span class='kw'>yield</span> <span class='kw'>self</span>
|
|
304
|
+
<span class='kw'>else</span>
|
|
305
|
+
<span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
|
306
|
+
<span class='kw'>end</span>
|
|
307
|
+
<span class='kw'>end</span>
|
|
308
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_formato'>formato</span><span class='rparen'>)</span>
|
|
309
|
+
<span class='kw'>end</span></pre>
|
|
310
|
+
</td>
|
|
311
|
+
</tr>
|
|
312
|
+
</table>
|
|
313
|
+
</div>
|
|
314
|
+
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
<div id="instance_attr_details" class="attr_details">
|
|
318
|
+
<h2>Instance Attribute Details</h2>
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
<span id="formato=-instance_method"></span>
|
|
322
|
+
<div class="method_details first">
|
|
323
|
+
<h3 class="signature first" id="formato-instance_method">
|
|
324
|
+
|
|
325
|
+
- (<tt>Object</tt>) <strong>formato</strong>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
</h3><div class="docstring">
|
|
332
|
+
<div class="discussion">
|
|
333
|
+
|
|
334
|
+
<p>Clase que nos permite representar los articulos periodisticos de una
|
|
335
|
+
publicacion periodica</p>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
</div>
|
|
339
|
+
</div>
|
|
340
|
+
<div class="tags">
|
|
341
|
+
|
|
342
|
+
<p class="tag_title">Author:</p>
|
|
343
|
+
<ul class="author">
|
|
344
|
+
|
|
345
|
+
<li>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<div class='inline'>
|
|
352
|
+
<p>Rafael Herrero</p>
|
|
353
|
+
</div>
|
|
354
|
+
|
|
355
|
+
</li>
|
|
356
|
+
|
|
357
|
+
</ul>
|
|
358
|
+
|
|
359
|
+
</div><table class="source_code">
|
|
360
|
+
<tr>
|
|
361
|
+
<td>
|
|
362
|
+
<pre class="lines">
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
169
|
|
366
|
+
170
|
|
367
|
+
171</pre>
|
|
368
|
+
</td>
|
|
369
|
+
<td>
|
|
370
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 169</span>
|
|
371
|
+
|
|
372
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_formato'>formato</span>
|
|
373
|
+
<span class='ivar'>@formato</span>
|
|
374
|
+
<span class='kw'>end</span></pre>
|
|
375
|
+
</td>
|
|
376
|
+
</tr>
|
|
377
|
+
</table>
|
|
378
|
+
</div>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<span id="paginas=-instance_method"></span>
|
|
382
|
+
<div class="method_details ">
|
|
383
|
+
<h3 class="signature " id="paginas-instance_method">
|
|
384
|
+
|
|
385
|
+
- (<tt>Object</tt>) <strong>paginas</strong>(paginas)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
</h3><div class="docstring">
|
|
392
|
+
<div class="discussion">
|
|
393
|
+
|
|
394
|
+
<p>Metodo que permite insertar el numero de paginas</p>
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</div>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="tags">
|
|
400
|
+
<p class="tag_title">Parameters:</p>
|
|
401
|
+
<ul class="param">
|
|
402
|
+
|
|
403
|
+
<li>
|
|
404
|
+
|
|
405
|
+
<span class='name'>paginas</span>
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
<span class='type'>(<tt>paginas</tt>)</span>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
—
|
|
413
|
+
<div class='inline'>
|
|
414
|
+
<p>Numero de paginas del articulo periodistico</p>
|
|
415
|
+
</div>
|
|
416
|
+
|
|
417
|
+
</li>
|
|
418
|
+
|
|
419
|
+
</ul>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
</div><table class="source_code">
|
|
423
|
+
<tr>
|
|
424
|
+
<td>
|
|
425
|
+
<pre class="lines">
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
169
|
|
429
|
+
170
|
|
430
|
+
171</pre>
|
|
431
|
+
</td>
|
|
432
|
+
<td>
|
|
433
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 169</span>
|
|
434
|
+
|
|
435
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_paginas'>paginas</span>
|
|
436
|
+
<span class='ivar'>@paginas</span>
|
|
437
|
+
<span class='kw'>end</span></pre>
|
|
438
|
+
</td>
|
|
439
|
+
</tr>
|
|
440
|
+
</table>
|
|
441
|
+
</div>
|
|
442
|
+
|
|
443
|
+
</div>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
<div id="instance_method_details" class="method_details_list">
|
|
447
|
+
<h2>Instance Method Details</h2>
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
<div class="method_details first">
|
|
451
|
+
<h3 class="signature first" id="to_s-instance_method">
|
|
452
|
+
|
|
453
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
</h3><div class="docstring">
|
|
460
|
+
<div class="discussion">
|
|
461
|
+
|
|
462
|
+
<p>Metodo que nos devuelve la referencia del articulo periodistico formateado</p>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
</div>
|
|
466
|
+
</div>
|
|
467
|
+
<div class="tags">
|
|
468
|
+
|
|
469
|
+
<p class="tag_title">Returns:</p>
|
|
470
|
+
<ul class="return">
|
|
471
|
+
|
|
472
|
+
<li>
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
<span class='type'></span>
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
<div class='inline'>
|
|
481
|
+
<p>String de la referencia del articulo periodistico formateado</p>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
</li>
|
|
485
|
+
|
|
486
|
+
</ul>
|
|
487
|
+
|
|
488
|
+
</div><table class="source_code">
|
|
489
|
+
<tr>
|
|
490
|
+
<td>
|
|
491
|
+
<pre class="lines">
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
189
|
|
495
|
+
190
|
|
496
|
+
191
|
|
497
|
+
192</pre>
|
|
498
|
+
</td>
|
|
499
|
+
<td>
|
|
500
|
+
<pre class="code"><span class="info file"># File 'lib/refBiblio/referencia.rb', line 189</span>
|
|
501
|
+
|
|
502
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
503
|
+
<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>
|
|
504
|
+
<span class='id identifier rubyid_string'>string</span> <span class='op'><<</span> <span class='ivar'>@autor</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> (</span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='const'>Date</span><span class='op'>::</span><span class='const'>MONTHNAMES</span><span class='lbracket'>[</span><span class='id identifier rubyid_get_publicacion'>get_publicacion</span><span class='period'>.</span><span class='id identifier rubyid_month'>month</span><span class='rbracket'>]</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='id identifier rubyid_get_publicacion'>get_publicacion</span><span class='period'>.</span><span class='id identifier rubyid_day'>day</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>, </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='id identifier rubyid_get_publicacion'>get_publicacion</span><span class='period'>.</span><span class='id identifier rubyid_year'>year</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>). </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='ivar'>@titulo</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>. </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='ivar'>@editorial</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>, pp. </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='ivar'>@formato</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>, </span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='ivar'>@paginas</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> paginas</span><span class='tstring_end'>"</span></span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span>
|
|
505
|
+
<span class='kw'>end</span></pre>
|
|
506
|
+
</td>
|
|
507
|
+
</tr>
|
|
508
|
+
</table>
|
|
509
|
+
</div>
|
|
510
|
+
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
</div>
|
|
514
|
+
|
|
515
|
+
<div id="footer">
|
|
516
|
+
Generated on Tue Dec 22 21:54:45 2015 by
|
|
517
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
518
|
+
0.8.7.6 (ruby-2.2.1).
|
|
519
|
+
</div>
|
|
520
|
+
|
|
521
|
+
</body>
|
|
522
|
+
</html>
|