lpp_Grupo3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.travis.yml +6 -0
  4. data/CODE_OF_CONDUCT.md +13 -0
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +104 -0
  7. data/Guardfile +87 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +41 -0
  10. data/Rakefile +5 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +7 -0
  13. data/coverage/.last_run.json +5 -0
  14. data/coverage/.resultset.json +7 -0
  15. data/coverage/.resultset.json.lock +0 -0
  16. data/doc/Articulo.html +289 -0
  17. data/doc/Bibliografia.html +306 -0
  18. data/doc/CODE_OF_CONDUCT_md.html +125 -0
  19. data/doc/Cita.html +348 -0
  20. data/doc/CitaArticulo.html +286 -0
  21. data/doc/CitaCapitulo.html +333 -0
  22. data/doc/CitaEdoc.html +334 -0
  23. data/doc/CitaLibro.html +333 -0
  24. data/doc/Citayanoexiste.html +113 -0
  25. data/doc/G03ref.html +417 -0
  26. data/doc/Gemfile.html +100 -0
  27. data/doc/Gemfile_lock.html +206 -0
  28. data/doc/Guardfile.html +185 -0
  29. data/doc/LICENSE_txt.html +117 -0
  30. data/doc/Libro.html +365 -0
  31. data/doc/List.html +379 -0
  32. data/doc/LppGrupo3.html +109 -0
  33. data/doc/Lpp_Grupo3.html +95 -0
  34. data/doc/Object.html +161 -0
  35. data/doc/README_md.html +163 -0
  36. data/doc/Rakefile.html +99 -0
  37. data/doc/bin/setup.html +101 -0
  38. data/doc/created.rid +20 -0
  39. data/doc/css/fonts.css +167 -0
  40. data/doc/css/rdoc.css +590 -0
  41. data/doc/fonts/Lato-Light.ttf +0 -0
  42. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  43. data/doc/fonts/Lato-Regular.ttf +0 -0
  44. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  45. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  46. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  47. data/doc/images/add.png +0 -0
  48. data/doc/images/arrow_up.png +0 -0
  49. data/doc/images/brick.png +0 -0
  50. data/doc/images/brick_link.png +0 -0
  51. data/doc/images/bug.png +0 -0
  52. data/doc/images/bullet_black.png +0 -0
  53. data/doc/images/bullet_toggle_minus.png +0 -0
  54. data/doc/images/bullet_toggle_plus.png +0 -0
  55. data/doc/images/date.png +0 -0
  56. data/doc/images/delete.png +0 -0
  57. data/doc/images/find.png +0 -0
  58. data/doc/images/loadingAnimation.gif +0 -0
  59. data/doc/images/macFFBgHack.png +0 -0
  60. data/doc/images/package.png +0 -0
  61. data/doc/images/page_green.png +0 -0
  62. data/doc/images/page_white_text.png +0 -0
  63. data/doc/images/page_white_width.png +0 -0
  64. data/doc/images/plugin.png +0 -0
  65. data/doc/images/ruby.png +0 -0
  66. data/doc/images/tag_blue.png +0 -0
  67. data/doc/images/tag_green.png +0 -0
  68. data/doc/images/transparent.png +0 -0
  69. data/doc/images/wrench.png +0 -0
  70. data/doc/images/wrench_orange.png +0 -0
  71. data/doc/images/zoom.png +0 -0
  72. data/doc/index.html +131 -0
  73. data/doc/js/darkfish.js +161 -0
  74. data/doc/js/jquery.js +4 -0
  75. data/doc/js/navigation.js +142 -0
  76. data/doc/js/navigation.js.gz +0 -0
  77. data/doc/js/search.js +109 -0
  78. data/doc/js/search_index.js +1 -0
  79. data/doc/js/search_index.js.gz +0 -0
  80. data/doc/js/searcher.js +228 -0
  81. data/doc/js/searcher.js.gz +0 -0
  82. data/doc/lpp_Grupo3_gemspec.html +134 -0
  83. data/doc/table_of_contents.html +332 -0
  84. data/lib/lpp_Grupo3.rb +8 -0
  85. data/lib/lpp_Grupo3/bibliografia.rb +38 -0
  86. data/lib/lpp_Grupo3/cita.rb +232 -0
  87. data/lib/lpp_Grupo3/list.rb +61 -0
  88. data/lib/lpp_Grupo3/reference.rb +110 -0
  89. data/lib/lpp_Grupo3/version.rb +3 -0
  90. data/lpp_Grupo3.gemspec +37 -0
  91. metadata +232 -0
@@ -0,0 +1,117 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>LICENSE - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
62
+
63
+ <li><a href="./Gemfile.html">Gemfile</a>
64
+
65
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
66
+
67
+ <li><a href="./Guardfile.html">Guardfile</a>
68
+
69
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
70
+
71
+ <li><a href="./README_md.html">README</a>
72
+
73
+ <li><a href="./Rakefile.html">Rakefile</a>
74
+
75
+ <li><a href="./bin/setup.html">setup</a>
76
+
77
+ <li><a href="./lpp_Grupo3_gemspec.html">lpp_Grupo3.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page LICENSE.txt">
86
+
87
+ <p>The MIT License (MIT)</p>
88
+
89
+ <p>Copyright © 2015 Germán Méndez</p>
90
+
91
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
92
+ copy of this software and associated documentation files (the “Software”),
93
+ to deal in the Software without restriction, including without limitation
94
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
95
+ and/or sell copies of the Software, and to permit persons to whom the
96
+ Software is furnished to do so, subject to the following conditions:</p>
97
+
98
+ <p>The above copyright notice and this permission notice shall be included in
99
+ all copies or substantial portions of the Software.</p>
100
+
101
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
106
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
107
+ DEALINGS IN THE SOFTWARE.</p>
108
+ </main>
109
+
110
+
111
+
112
+ <footer id="validator-badges" role="contentinfo">
113
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
114
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
115
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
116
+ </footer>
117
+
@@ -0,0 +1,365 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Libro - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="G03ref.html">G03ref</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <div id="method-list-section" class="nav-section">
69
+ <h3>Methods</h3>
70
+
71
+ <ul class="link-list" role="directory">
72
+
73
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
74
+
75
+ <li ><a href="#method-i-get_edition">#get_edition</a>
76
+
77
+ <li ><a href="#method-i-get_editorial">#get_editorial</a>
78
+
79
+ <li ><a href="#method-i-get_isbn">#get_isbn</a>
80
+
81
+ <li ><a href="#method-i-get_serie">#get_serie</a>
82
+
83
+ <li ><a href="#method-i-to_s">#to_s</a>
84
+
85
+ </ul>
86
+ </div>
87
+
88
+ </div>
89
+ </nav>
90
+
91
+ <main role="main" aria-labelledby="class-Libro">
92
+ <h1 id="class-Libro" class="class">
93
+ class Libro
94
+ </h1>
95
+
96
+ <section class="description">
97
+
98
+ </section>
99
+
100
+
101
+
102
+
103
+ <section id="5Buntitled-5D" class="documentation-section">
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
114
+ <header>
115
+ <h3>Public Class Methods</h3>
116
+ </header>
117
+
118
+
119
+ <div id="method-c-new" class="method-detail ">
120
+
121
+ <div class="method-heading">
122
+ <span class="method-name">new</span><span
123
+ class="method-args">(title,editorial,edicion,date,isbn,authors,*serie)</span>
124
+
125
+ <span class="method-click-advice">click to toggle source</span>
126
+
127
+ </div>
128
+
129
+
130
+ <div class="method-description">
131
+
132
+ <p>CONSTRUCTOR</p>
133
+
134
+
135
+ <div class="method-calls-super">
136
+ Calls superclass method
137
+ <a href="G03ref.html#method-c-new">G03ref.new</a>
138
+ </div>
139
+
140
+
141
+
142
+ <div class="method-source-code" id="new-source">
143
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 32</span>
144
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>,<span class="ruby-identifier">editorial</span>,<span class="ruby-identifier">edicion</span>,<span class="ruby-identifier">date</span>,<span class="ruby-identifier">isbn</span>,<span class="ruby-identifier">authors</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">serie</span>)
145
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">authors</span>,<span class="ruby-identifier">title</span>,<span class="ruby-identifier">date</span>)
146
+
147
+ <span class="ruby-ivar">@serie</span> = <span class="ruby-identifier">serie</span>
148
+ <span class="ruby-ivar">@editorial</span> = <span class="ruby-identifier">editorial</span>
149
+ <span class="ruby-ivar">@edicion</span> = <span class="ruby-identifier">edicion</span>
150
+
151
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">isbn</span> = []
152
+ <span class="ruby-identifier">isbn</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">numeros</span><span class="ruby-operator">|</span>
153
+ <span class="ruby-ivar">@isbn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">numeros</span>)
154
+ <span class="ruby-keyword">end</span>
155
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">self</span>
156
+ <span class="ruby-keyword">end</span></pre>
157
+ </div>
158
+
159
+ </div>
160
+
161
+
162
+
163
+
164
+ </div>
165
+
166
+
167
+ </section>
168
+
169
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
170
+ <header>
171
+ <h3>Public Instance Methods</h3>
172
+ </header>
173
+
174
+
175
+ <div id="method-i-get_edition" class="method-detail ">
176
+
177
+ <div class="method-heading">
178
+ <span class="method-name">get_edition</span><span
179
+ class="method-args">()</span>
180
+
181
+ <span class="method-click-advice">click to toggle source</span>
182
+
183
+ </div>
184
+
185
+
186
+ <div class="method-description">
187
+
188
+
189
+
190
+
191
+
192
+
193
+ <div class="method-source-code" id="get_edition-source">
194
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 52</span>
195
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_edition</span>
196
+ <span class="ruby-ivar">@edicion</span>
197
+ <span class="ruby-keyword">end</span></pre>
198
+ </div>
199
+
200
+ </div>
201
+
202
+
203
+
204
+
205
+ </div>
206
+
207
+
208
+ <div id="method-i-get_editorial" class="method-detail ">
209
+
210
+ <div class="method-heading">
211
+ <span class="method-name">get_editorial</span><span
212
+ class="method-args">()</span>
213
+
214
+ <span class="method-click-advice">click to toggle source</span>
215
+
216
+ </div>
217
+
218
+
219
+ <div class="method-description">
220
+
221
+
222
+
223
+
224
+
225
+
226
+ <div class="method-source-code" id="get_editorial-source">
227
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 49</span>
228
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_editorial</span>
229
+ <span class="ruby-ivar">@editorial</span>
230
+ <span class="ruby-keyword">end</span></pre>
231
+ </div>
232
+
233
+ </div>
234
+
235
+
236
+
237
+
238
+ </div>
239
+
240
+
241
+ <div id="method-i-get_isbn" class="method-detail ">
242
+
243
+ <div class="method-heading">
244
+ <span class="method-name">get_isbn</span><span
245
+ class="method-args">()</span>
246
+
247
+ <span class="method-click-advice">click to toggle source</span>
248
+
249
+ </div>
250
+
251
+
252
+ <div class="method-description">
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <div class="method-source-code" id="get_isbn-source">
260
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 56</span>
261
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_isbn</span>
262
+ <span class="ruby-ivar">@isbn</span>
263
+ <span class="ruby-keyword">end</span></pre>
264
+ </div>
265
+
266
+ </div>
267
+
268
+
269
+
270
+
271
+ </div>
272
+
273
+
274
+ <div id="method-i-get_serie" class="method-detail ">
275
+
276
+ <div class="method-heading">
277
+ <span class="method-name">get_serie</span><span
278
+ class="method-args">()</span>
279
+
280
+ <span class="method-click-advice">click to toggle source</span>
281
+
282
+ </div>
283
+
284
+
285
+ <div class="method-description">
286
+
287
+
288
+
289
+
290
+
291
+
292
+ <div class="method-source-code" id="get_serie-source">
293
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 46</span>
294
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_serie</span>
295
+ <span class="ruby-ivar">@serie</span>
296
+ <span class="ruby-keyword">end</span></pre>
297
+ </div>
298
+
299
+ </div>
300
+
301
+
302
+
303
+
304
+ </div>
305
+
306
+
307
+ <div id="method-i-to_s" class="method-detail ">
308
+
309
+ <div class="method-heading">
310
+ <span class="method-name">to_s</span><span
311
+ class="method-args">()</span>
312
+
313
+ <span class="method-click-advice">click to toggle source</span>
314
+
315
+ </div>
316
+
317
+
318
+ <div class="method-description">
319
+
320
+
321
+
322
+
323
+
324
+
325
+ <div class="method-source-code" id="to_s-source">
326
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/reference.rb, line 59</span>
327
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
328
+ <span class="ruby-identifier">text</span>=<span class="ruby-string">&quot;&quot;</span>
329
+
330
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-ivar">@authors</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">2</span>)
331
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{authors[i]} , &quot;</span>
332
+ <span class="ruby-keyword">end</span>
333
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{authors[authors.size-1]}.&quot;</span>
334
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{@title}.&quot;</span>
335
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@serie</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">==</span><span class="ruby-value">1</span>
336
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n(#{@serie[0]}).&quot;</span>
337
+ <span class="ruby-keyword">end</span>
338
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{@editorial}; #{@edicion} Edicion (#{@date}).&quot;</span>
339
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-ivar">@isbn</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>)
340
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\nISBN #{@isbn[i].length}: #{@isbn[i]}.&quot;</span>
341
+ <span class="ruby-keyword">end</span>
342
+ <span class="ruby-identifier">text</span>
343
+ <span class="ruby-keyword">end</span></pre>
344
+ </div>
345
+
346
+ </div>
347
+
348
+
349
+
350
+
351
+ </div>
352
+
353
+
354
+ </section>
355
+
356
+ </section>
357
+ </main>
358
+
359
+
360
+ <footer id="validator-badges" role="contentinfo">
361
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
362
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
363
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
364
+ </footer>
365
+