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,306 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Bibliografia - 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="Object.html">Object</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 ><a href="#method-c-new">::new</a>
74
+
75
+ <li ><a href="#method-i-insertar">#insertar</a>
76
+
77
+ <li ><a href="#method-i-sufijos">#sufijos</a>
78
+
79
+ <li ><a href="#method-i-to_s">#to_s</a>
80
+
81
+ </ul>
82
+ </div>
83
+
84
+ </div>
85
+ </nav>
86
+
87
+ <main role="main" aria-labelledby="class-Bibliografia">
88
+ <h1 id="class-Bibliografia" class="class">
89
+ class Bibliografia
90
+ </h1>
91
+
92
+ <section class="description">
93
+
94
+ </section>
95
+
96
+
97
+
98
+
99
+ <section id="5Buntitled-5D" class="documentation-section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <section class="attribute-method-details" class="method-section">
108
+ <header>
109
+ <h3>Attributes</h3>
110
+ </header>
111
+
112
+
113
+ <div id="attribute-i-lista" class="method-detail">
114
+ <div class="method-heading attribute-method-heading">
115
+ <span class="method-name">lista</span><span
116
+ class="attribute-access-type">[RW]</span>
117
+ </div>
118
+
119
+ <div class="method-description">
120
+
121
+
122
+
123
+ </div>
124
+ </div>
125
+
126
+ </section>
127
+
128
+
129
+
130
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
131
+ <header>
132
+ <h3>Public Class Methods</h3>
133
+ </header>
134
+
135
+
136
+ <div id="method-c-new" class="method-detail ">
137
+
138
+ <div class="method-heading">
139
+ <span class="method-name">new</span><span
140
+ class="method-args">(referencias)</span>
141
+
142
+ <span class="method-click-advice">click to toggle source</span>
143
+
144
+ </div>
145
+
146
+
147
+ <div class="method-description">
148
+
149
+
150
+
151
+
152
+
153
+
154
+ <div class="method-source-code" id="new-source">
155
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/bibliografia.rb, line 6</span>
156
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">referencias</span>)
157
+ <span class="ruby-ivar">@lista</span>=<span class="ruby-constant">List</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">referencias</span>.<span class="ruby-identifier">sort</span>)
158
+ <span class="ruby-ivar">@suf</span>=<span class="ruby-value">0</span>
159
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sufijos</span>
160
+ <span class="ruby-keyword">end</span></pre>
161
+ </div>
162
+
163
+ </div>
164
+
165
+
166
+
167
+
168
+ </div>
169
+
170
+
171
+ </section>
172
+
173
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
174
+ <header>
175
+ <h3>Public Instance Methods</h3>
176
+ </header>
177
+
178
+
179
+ <div id="method-i-insertar" class="method-detail ">
180
+
181
+ <div class="method-heading">
182
+ <span class="method-name">insertar</span><span
183
+ class="method-args">(nodos)</span>
184
+
185
+ <span class="method-click-advice">click to toggle source</span>
186
+
187
+ </div>
188
+
189
+
190
+ <div class="method-description">
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <div class="method-source-code" id="insertar-source">
198
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/bibliografia.rb, line 11</span>
199
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">insertar</span>(<span class="ruby-identifier">nodos</span>)
200
+ <span class="ruby-ivar">@lista</span>.<span class="ruby-identifier">enqueque</span>(<span class="ruby-identifier">nodos</span>)
201
+ <span class="ruby-ivar">@lista</span>=<span class="ruby-constant">List</span>.<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@lista</span>.<span class="ruby-identifier">sort</span>)
202
+ <span class="ruby-ivar">@suf</span>=<span class="ruby-value">0</span>
203
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sufijos</span>
204
+ <span class="ruby-keyword">end</span></pre>
205
+ </div>
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div>
213
+
214
+
215
+ <div id="method-i-sufijos" class="method-detail ">
216
+
217
+ <div class="method-heading">
218
+ <span class="method-name">sufijos</span><span
219
+ class="method-args">()</span>
220
+
221
+ <span class="method-click-advice">click to toggle source</span>
222
+
223
+ </div>
224
+
225
+
226
+ <div class="method-description">
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <div class="method-source-code" id="sufijos-source">
234
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/bibliografia.rb, line 21</span>
235
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">sufijos</span>
236
+ <span class="ruby-identifier">listaord</span> = <span class="ruby-ivar">@lista</span>.<span class="ruby-identifier">sort</span>
237
+ <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-identifier">listaord</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>)
238
+
239
+ <span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span>].<span class="ruby-identifier">sufijo</span>=<span class="ruby-value">0</span>
240
+
241
+ <span class="ruby-keyword">end</span>
242
+ <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-identifier">listaord</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">2</span>)
243
+ <span class="ruby-keyword">if</span> (<span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span>].<span class="ruby-identifier">author</span><span class="ruby-operator">==</span><span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>].<span class="ruby-identifier">author</span><span class="ruby-operator">&amp;&amp;</span><span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span>].<span class="ruby-identifier">datey</span><span class="ruby-operator">==</span><span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>].<span class="ruby-identifier">datey</span>)
244
+ <span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span>].<span class="ruby-identifier">sufijo</span>=<span class="ruby-ivar">@suf</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>
245
+ <span class="ruby-identifier">listaord</span>[<span class="ruby-identifier">i</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>].<span class="ruby-identifier">sufijo</span>=<span class="ruby-ivar">@suf</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>
246
+ <span class="ruby-ivar">@suf</span>=<span class="ruby-ivar">@suf</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>
247
+ <span class="ruby-keyword">else</span>
248
+ <span class="ruby-ivar">@suf</span>=<span class="ruby-value">0</span>
249
+ <span class="ruby-keyword">end</span>
250
+ <span class="ruby-keyword">end</span>
251
+ <span class="ruby-keyword">end</span></pre>
252
+ </div>
253
+
254
+ </div>
255
+
256
+
257
+
258
+
259
+ </div>
260
+
261
+
262
+ <div id="method-i-to_s" class="method-detail ">
263
+
264
+ <div class="method-heading">
265
+ <span class="method-name">to_s</span><span
266
+ class="method-args">()</span>
267
+
268
+ <span class="method-click-advice">click to toggle source</span>
269
+
270
+ </div>
271
+
272
+
273
+ <div class="method-description">
274
+
275
+
276
+
277
+
278
+
279
+
280
+ <div class="method-source-code" id="to_s-source">
281
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/bibliografia.rb, line 17</span>
282
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
283
+ (<span class="ruby-ivar">@lista</span>.<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">map</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">referencias</span><span class="ruby-operator">|</span><span class="ruby-identifier">referencias</span>.<span class="ruby-identifier">to_s</span>}).<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot;\n&quot;</span>)
284
+ <span class="ruby-keyword">end</span></pre>
285
+ </div>
286
+
287
+ </div>
288
+
289
+
290
+
291
+
292
+ </div>
293
+
294
+
295
+ </section>
296
+
297
+ </section>
298
+ </main>
299
+
300
+
301
+ <footer id="validator-badges" role="contentinfo">
302
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
303
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
304
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
305
+ </footer>
306
+
@@ -0,0 +1,125 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>CODE_OF_CONDUCT - 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 CODE_OF_CONDUCT.md">
86
+
87
+ <h1 id="label-Contributor+Code+of+Conduct">Contributor Code of Conduct<span><a href="#label-Contributor+Code+of+Conduct">&para;</a> <a href="#top">&uarr;</a></span></h1>
88
+
89
+ <p>As contributors and maintainers of this project, we pledge to respect all
90
+ people who contribute through reporting issues, posting feature requests,
91
+ updating documentation, submitting pull requests or patches, and other
92
+ activities.</p>
93
+
94
+ <p>We are committed to making participation in this project a harassment-free
95
+ experience for everyone, regardless of level of experience, gender, gender
96
+ identity and expression, sexual orientation, disability, personal
97
+ appearance, body size, race, ethnicity, age, or religion.</p>
98
+
99
+ <p>Examples of unacceptable behavior by participants include the use of sexual
100
+ language or imagery, derogatory comments or personal attacks, trolling,
101
+ public or private harassment, insults, or other unprofessional conduct.</p>
102
+
103
+ <p>Project maintainers have the right and responsibility to remove, edit, or
104
+ reject comments, commits, code, wiki edits, issues, and other contributions
105
+ that are not aligned to this Code of Conduct. Project maintainers who do
106
+ not follow the Code of Conduct may be removed from the project team.</p>
107
+
108
+ <p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
109
+ reported by opening an issue or contacting one or more of the project
110
+ maintainers.</p>
111
+
112
+ <p>This Code of Conduct is adapted from the <a
113
+ href="http://contributor-covenant.org">Contributor Covenant</a>, version
114
+ 1.0.0, available at <a
115
+ href="http://contributor-covenant.org/version/1/0/0/">contributor-covenant.org/version/1/0/0/</a></p>
116
+ </main>
117
+
118
+
119
+
120
+ <footer id="validator-badges" role="contentinfo">
121
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
122
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
123
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
124
+ </footer>
125
+
@@ -0,0 +1,348 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Cita - 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="Object.html">Object</a>
62
+
63
+ </div>
64
+
65
+ <div id="includes-section" class="nav-section">
66
+ <h3>Included Modules</h3>
67
+
68
+ <ul class="link-list">
69
+
70
+
71
+ <li><span class="include">Comparable</span>
72
+
73
+
74
+ </ul>
75
+ </div>
76
+
77
+
78
+ <!-- Method Quickref -->
79
+ <div id="method-list-section" class="nav-section">
80
+ <h3>Methods</h3>
81
+
82
+ <ul class="link-list" role="directory">
83
+
84
+ <li ><a href="#method-c-new">::new</a>
85
+
86
+ <li ><a href="#method-i-3C-3D-3E">#&lt;=&gt;</a>
87
+
88
+ <li ><a href="#method-i-autor">#autor</a>
89
+
90
+ <li ><a href="#method-i-fecha">#fecha</a>
91
+
92
+ </ul>
93
+ </div>
94
+
95
+ </div>
96
+ </nav>
97
+
98
+ <main role="main" aria-labelledby="class-Cita">
99
+ <h1 id="class-Cita" class="class">
100
+ class Cita
101
+ </h1>
102
+
103
+ <section class="description">
104
+
105
+ </section>
106
+
107
+
108
+
109
+
110
+ <section id="5Buntitled-5D" class="documentation-section">
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <section class="attribute-method-details" class="method-section">
119
+ <header>
120
+ <h3>Attributes</h3>
121
+ </header>
122
+
123
+
124
+ <div id="attribute-i-author" class="method-detail">
125
+ <div class="method-heading attribute-method-heading">
126
+ <span class="method-name">author</span><span
127
+ class="attribute-access-type">[RW]</span>
128
+ </div>
129
+
130
+ <div class="method-description">
131
+
132
+
133
+
134
+ </div>
135
+ </div>
136
+
137
+ <div id="attribute-i-datey" class="method-detail">
138
+ <div class="method-heading attribute-method-heading">
139
+ <span class="method-name">datey</span><span
140
+ class="attribute-access-type">[RW]</span>
141
+ </div>
142
+
143
+ <div class="method-description">
144
+
145
+
146
+
147
+ </div>
148
+ </div>
149
+
150
+ <div id="attribute-i-sufijo" class="method-detail">
151
+ <div class="method-heading attribute-method-heading">
152
+ <span class="method-name">sufijo</span><span
153
+ class="attribute-access-type">[RW]</span>
154
+ </div>
155
+
156
+ <div class="method-description">
157
+
158
+
159
+
160
+ </div>
161
+ </div>
162
+
163
+ <div id="attribute-i-titulo" class="method-detail">
164
+ <div class="method-heading attribute-method-heading">
165
+ <span class="method-name">titulo</span><span
166
+ class="attribute-access-type">[RW]</span>
167
+ </div>
168
+
169
+ <div class="method-description">
170
+
171
+
172
+
173
+ </div>
174
+ </div>
175
+
176
+ </section>
177
+
178
+
179
+
180
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
181
+ <header>
182
+ <h3>Public Class Methods</h3>
183
+ </header>
184
+
185
+
186
+ <div id="method-c-new" class="method-detail ">
187
+
188
+ <div class="method-heading">
189
+ <span class="method-name">new</span><span
190
+ class="method-args">(author, date, titulo)</span>
191
+
192
+ <span class="method-click-advice">click to toggle source</span>
193
+
194
+ </div>
195
+
196
+
197
+ <div class="method-description">
198
+
199
+
200
+
201
+
202
+
203
+
204
+ <div class="method-source-code" id="new-source">
205
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/cita.rb, line 6</span>
206
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">author</span>, <span class="ruby-identifier">date</span>, <span class="ruby-identifier">titulo</span>)
207
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">author</span>=<span class="ruby-identifier">author</span>
208
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datey</span>=<span class="ruby-identifier">date</span>
209
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">titulo</span>=<span class="ruby-identifier">titulo</span>
210
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sufijo</span>=<span class="ruby-value">0</span>
211
+ <span class="ruby-keyword">end</span></pre>
212
+ </div>
213
+
214
+ </div>
215
+
216
+
217
+
218
+
219
+ </div>
220
+
221
+
222
+ </section>
223
+
224
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
225
+ <header>
226
+ <h3>Public Instance Methods</h3>
227
+ </header>
228
+
229
+
230
+ <div id="method-i-3C-3D-3E" class="method-detail ">
231
+
232
+ <div class="method-heading">
233
+ <span class="method-name">&lt;=&gt;</span><span
234
+ class="method-args">(other)</span>
235
+
236
+ <span class="method-click-advice">click to toggle source</span>
237
+
238
+ </div>
239
+
240
+
241
+ <div class="method-description">
242
+
243
+
244
+
245
+
246
+
247
+
248
+ <div class="method-source-code" id="3C-3D-3E-source">
249
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/cita.rb, line 28</span>
250
+ <span class="ruby-keyword">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
251
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">author</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">author</span>
252
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">datey</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">datey</span>
253
+ <span class="ruby-identifier">titulo</span><span class="ruby-operator">&lt;=&gt;</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">titulo</span>
254
+ <span class="ruby-keyword">else</span>
255
+ <span class="ruby-identifier">datey</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">datey</span>
256
+ <span class="ruby-keyword">end</span>
257
+ <span class="ruby-keyword">else</span>
258
+ <span class="ruby-identifier">author</span><span class="ruby-operator">&lt;=&gt;</span><span class="ruby-identifier">other</span>.<span class="ruby-identifier">author</span>
259
+ <span class="ruby-keyword">end</span>
260
+ <span class="ruby-keyword">end</span></pre>
261
+ </div>
262
+
263
+ </div>
264
+
265
+
266
+
267
+
268
+ </div>
269
+
270
+
271
+ <div id="method-i-autor" class="method-detail ">
272
+
273
+ <div class="method-heading">
274
+ <span class="method-name">autor</span><span
275
+ class="method-args">(datos = {})</span>
276
+
277
+ <span class="method-click-advice">click to toggle source</span>
278
+
279
+ </div>
280
+
281
+
282
+ <div class="method-description">
283
+
284
+
285
+
286
+
287
+
288
+
289
+ <div class="method-source-code" id="autor-source">
290
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/cita.rb, line 20</span>
291
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">autor</span> (<span class="ruby-identifier">datos</span> = {})
292
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">author</span>.<span class="ruby-identifier">push</span>([<span class="ruby-identifier">datos</span>[<span class="ruby-value">:apellido</span>], <span class="ruby-identifier">datos</span>[<span class="ruby-value">:nombre</span>]])
293
+ <span class="ruby-keyword">end</span></pre>
294
+ </div>
295
+
296
+ </div>
297
+
298
+
299
+
300
+
301
+ </div>
302
+
303
+
304
+ <div id="method-i-fecha" class="method-detail ">
305
+
306
+ <div class="method-heading">
307
+ <span class="method-name">fecha</span><span
308
+ class="method-args">(year)</span>
309
+
310
+ <span class="method-click-advice">click to toggle source</span>
311
+
312
+ </div>
313
+
314
+
315
+ <div class="method-description">
316
+
317
+
318
+
319
+
320
+
321
+
322
+ <div class="method-source-code" id="fecha-source">
323
+ <pre><span class="ruby-comment"># File lib/lpp_Grupo3/cita.rb, line 24</span>
324
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">fecha</span> (<span class="ruby-identifier">year</span>)
325
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">datey</span> = <span class="ruby-identifier">year</span>
326
+ <span class="ruby-keyword">end</span></pre>
327
+ </div>
328
+
329
+ </div>
330
+
331
+
332
+
333
+
334
+ </div>
335
+
336
+
337
+ </section>
338
+
339
+ </section>
340
+ </main>
341
+
342
+
343
+ <footer id="validator-badges" role="contentinfo">
344
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
345
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
346
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
347
+ </footer>
348
+