exam1 0.0.1

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.
Files changed (143) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.coveralls.yml~ +0 -0
  4. data/.gitignore +14 -0
  5. data/.rspec +2 -0
  6. data/.travis.yml +4 -0
  7. data/.travis.yml~ +0 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +38 -0
  11. data/Rakefile +18 -0
  12. data/exam1.gemspec +30 -0
  13. data/exam1.gemspec~ +23 -0
  14. data/lib/exam1.rb +9 -0
  15. data/lib/exam1/SeleccionSimple.rb +86 -0
  16. data/lib/exam1/SeleccionSimple.rb~ +86 -0
  17. data/lib/exam1/doc/Exam1.html +112 -0
  18. data/lib/exam1/doc/Examen.html +484 -0
  19. data/lib/exam1/doc/Interfaz.html +384 -0
  20. data/lib/exam1/doc/List.html +467 -0
  21. data/lib/exam1/doc/Nodo.html +167 -0
  22. data/lib/exam1/doc/Object.html +119 -0
  23. data/lib/exam1/doc/SeleccionSimple.html +361 -0
  24. data/lib/exam1/doc/SeleccionSimple_rb~.html +237 -0
  25. data/lib/exam1/doc/Verdadero_Falso.html +208 -0
  26. data/lib/exam1/doc/created.rid +60 -0
  27. data/lib/exam1/doc/doc/Exam1_html.html +230 -0
  28. data/lib/exam1/doc/doc/Examen_html.html +556 -0
  29. data/lib/exam1/doc/doc/Interfaz_html.html +468 -0
  30. data/lib/exam1/doc/doc/List_html.html +531 -0
  31. data/lib/exam1/doc/doc/Nodo_html.html +285 -0
  32. data/lib/exam1/doc/doc/Object_html.html +237 -0
  33. data/lib/exam1/doc/doc/SeleccionSimple_html.html +454 -0
  34. data/lib/exam1/doc/doc/SeleccionSimple_rb~_html.html +377 -0
  35. data/lib/exam1/doc/doc/Verdadero_Falso_html.html +318 -0
  36. data/lib/exam1/doc/doc/examen_rb~_html.html +425 -0
  37. data/lib/exam1/doc/doc/fonts_css.html +307 -0
  38. data/lib/exam1/doc/doc/index_html.html +241 -0
  39. data/lib/exam1/doc/doc/js/darkfish_js.html +286 -0
  40. data/lib/exam1/doc/doc/js/jquery_js.html +1450 -0
  41. data/lib/exam1/doc/doc/js/navigation_js.html +271 -0
  42. data/lib/exam1/doc/doc/js/search_index_js.html +177 -0
  43. data/lib/exam1/doc/doc/js/search_js.html +240 -0
  44. data/lib/exam1/doc/doc/js/searcher_js.html +358 -0
  45. data/lib/exam1/doc/doc/linkedlist_rb~_html.html +345 -0
  46. data/lib/exam1/doc/doc/rdoc_css.html +844 -0
  47. data/lib/exam1/doc/doc/table_of_contents_html.html +352 -0
  48. data/lib/exam1/doc/examen_rb~.html +300 -0
  49. data/lib/exam1/doc/fonts.css +167 -0
  50. data/lib/exam1/doc/fonts/Lato-Light.ttf +0 -0
  51. data/lib/exam1/doc/fonts/Lato-LightItalic.ttf +0 -0
  52. data/lib/exam1/doc/fonts/Lato-Regular.ttf +0 -0
  53. data/lib/exam1/doc/fonts/Lato-RegularItalic.ttf +0 -0
  54. data/lib/exam1/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  55. data/lib/exam1/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  56. data/lib/exam1/doc/images/add.png +0 -0
  57. data/lib/exam1/doc/images/arrow_up.png +0 -0
  58. data/lib/exam1/doc/images/brick.png +0 -0
  59. data/lib/exam1/doc/images/brick_link.png +0 -0
  60. data/lib/exam1/doc/images/bug.png +0 -0
  61. data/lib/exam1/doc/images/bullet_black.png +0 -0
  62. data/lib/exam1/doc/images/bullet_toggle_minus.png +0 -0
  63. data/lib/exam1/doc/images/bullet_toggle_plus.png +0 -0
  64. data/lib/exam1/doc/images/date.png +0 -0
  65. data/lib/exam1/doc/images/delete.png +0 -0
  66. data/lib/exam1/doc/images/find.png +0 -0
  67. data/lib/exam1/doc/images/loadingAnimation.gif +0 -0
  68. data/lib/exam1/doc/images/macFFBgHack.png +0 -0
  69. data/lib/exam1/doc/images/package.png +0 -0
  70. data/lib/exam1/doc/images/page_green.png +0 -0
  71. data/lib/exam1/doc/images/page_white_text.png +0 -0
  72. data/lib/exam1/doc/images/page_white_width.png +0 -0
  73. data/lib/exam1/doc/images/plugin.png +0 -0
  74. data/lib/exam1/doc/images/ruby.png +0 -0
  75. data/lib/exam1/doc/images/tag_blue.png +0 -0
  76. data/lib/exam1/doc/images/tag_green.png +0 -0
  77. data/lib/exam1/doc/images/transparent.png +0 -0
  78. data/lib/exam1/doc/images/wrench.png +0 -0
  79. data/lib/exam1/doc/images/wrench_orange.png +0 -0
  80. data/lib/exam1/doc/images/zoom.png +0 -0
  81. data/lib/exam1/doc/index.html +152 -0
  82. data/lib/exam1/doc/js/darkfish.js +140 -0
  83. data/lib/exam1/doc/js/jquery.js +18 -0
  84. data/lib/exam1/doc/js/navigation.js +142 -0
  85. data/lib/exam1/doc/js/search.js +109 -0
  86. data/lib/exam1/doc/js/search_index.js +1 -0
  87. data/lib/exam1/doc/js/searcher.js +228 -0
  88. data/lib/exam1/doc/linkedlist_rb~.html +238 -0
  89. data/lib/exam1/doc/rdoc.css +580 -0
  90. data/lib/exam1/doc/table_of_contents.html +288 -0
  91. data/lib/exam1/examen.rb +178 -0
  92. data/lib/exam1/examen.rb~ +178 -0
  93. data/lib/exam1/linkedlist.rb +129 -0
  94. data/lib/exam1/linkedlist.rb~ +134 -0
  95. data/lib/exam1/version.rb +3 -0
  96. data/spec/.yardoc/checksums +0 -0
  97. data/spec/.yardoc/object_types +0 -0
  98. data/spec/.yardoc/objects/root.dat +0 -0
  99. data/spec/.yardoc/proxy_types +0 -0
  100. data/spec/doc/_index.html +88 -0
  101. data/spec/doc/class_list.html +58 -0
  102. data/spec/doc/created.rid +3 -0
  103. data/spec/doc/css/common.css +1 -0
  104. data/spec/doc/css/full_list.css +57 -0
  105. data/spec/doc/css/style.css +339 -0
  106. data/spec/doc/file_list.html +57 -0
  107. data/spec/doc/frames.html +26 -0
  108. data/spec/doc/images/brick.png +0 -0
  109. data/spec/doc/images/brick_link.png +0 -0
  110. data/spec/doc/images/bug.png +0 -0
  111. data/spec/doc/images/bullet_black.png +0 -0
  112. data/spec/doc/images/bullet_toggle_minus.png +0 -0
  113. data/spec/doc/images/bullet_toggle_plus.png +0 -0
  114. data/spec/doc/images/date.png +0 -0
  115. data/spec/doc/images/find.png +0 -0
  116. data/spec/doc/images/loadingAnimation.gif +0 -0
  117. data/spec/doc/images/macFFBgHack.png +0 -0
  118. data/spec/doc/images/package.png +0 -0
  119. data/spec/doc/images/page_green.png +0 -0
  120. data/spec/doc/images/page_white_text.png +0 -0
  121. data/spec/doc/images/page_white_width.png +0 -0
  122. data/spec/doc/images/plugin.png +0 -0
  123. data/spec/doc/images/ruby.png +0 -0
  124. data/spec/doc/images/tag_green.png +0 -0
  125. data/spec/doc/images/wrench.png +0 -0
  126. data/spec/doc/images/wrench_orange.png +0 -0
  127. data/spec/doc/images/zoom.png +0 -0
  128. data/spec/doc/index.html +88 -0
  129. data/spec/doc/js/app.js +219 -0
  130. data/spec/doc/js/darkfish.js +118 -0
  131. data/spec/doc/js/full_list.js +181 -0
  132. data/spec/doc/js/jquery.js +4 -0
  133. data/spec/doc/js/quicksearch.js +114 -0
  134. data/spec/doc/js/thickbox-compressed.js +10 -0
  135. data/spec/doc/linkedlist_spec_rb.html +56 -0
  136. data/spec/doc/method_list.html +57 -0
  137. data/spec/doc/rdoc.css +763 -0
  138. data/spec/doc/spec_helper_rb.html +54 -0
  139. data/spec/doc/top-level-namespace.html +102 -0
  140. data/spec/linkedlist_spec.rb +449 -0
  141. data/spec/linkedlist_spec.rb~ +449 -0
  142. data/spec/spec_helper.rb +28 -0
  143. metadata +331 -0
@@ -0,0 +1,454 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>SeleccionSimple.html - RDoc Documentation</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="../SeleccionSimple_rb~.html">SeleccionSimple.rb~</a>
65
+
66
+ <li><a href="../doc/Exam1_html.html">Exam1.html</a>
67
+
68
+ <li><a href="../doc/Examen_html.html">Examen.html</a>
69
+
70
+ <li><a href="../doc/Interfaz_html.html">Interfaz.html</a>
71
+
72
+ <li><a href="../doc/List_html.html">List.html</a>
73
+
74
+ <li><a href="../doc/Nodo_html.html">Nodo.html</a>
75
+
76
+ <li><a href="../doc/Object_html.html">Object.html</a>
77
+
78
+ <li><a href="../doc/SeleccionSimple_html.html">SeleccionSimple.html</a>
79
+
80
+ <li><a href="../doc/SeleccionSimple_rb~_html.html">SeleccionSimple_rb~.html</a>
81
+
82
+ <li><a href="../doc/Verdadero_Falso_html.html">Verdadero_Falso.html</a>
83
+
84
+ <li><a href="../doc/examen_rb~_html.html">examen_rb~.html</a>
85
+
86
+ <li><a href="../doc/fonts_css.html">fonts.css</a>
87
+
88
+ <li><a href="../doc/index_html.html">index.html</a>
89
+
90
+ <li><a href="../doc/js/darkfish_js.html">darkfish.js</a>
91
+
92
+ <li><a href="../doc/js/jquery_js.html">jquery.js</a>
93
+
94
+ <li><a href="../doc/js/navigation_js.html">navigation.js</a>
95
+
96
+ <li><a href="../doc/js/search_js.html">search.js</a>
97
+
98
+ <li><a href="../doc/js/search_index_js.html">search_index.js</a>
99
+
100
+ <li><a href="../doc/js/searcher_js.html">searcher.js</a>
101
+
102
+ <li><a href="../doc/linkedlist_rb~_html.html">linkedlist_rb~.html</a>
103
+
104
+ <li><a href="../doc/rdoc_css.html">rdoc.css</a>
105
+
106
+ <li><a href="../doc/table_of_contents_html.html">table_of_contents.html</a>
107
+
108
+ <li><a href="../examen_rb~.html">examen.rb~</a>
109
+
110
+ <li><a href="../linkedlist_rb~.html">linkedlist.rb~</a>
111
+
112
+ </ul>
113
+ </div>
114
+
115
+ </div>
116
+ </nav>
117
+
118
+ <main role="main" aria-label="Page doc/SeleccionSimple.html">
119
+
120
+ <p>&lt;!DOCTYPE html&gt;</p>
121
+
122
+ <p>&lt;html&gt; &lt;head&gt; &lt;meta charset=“UTF-8”&gt;</p>
123
+
124
+ <p>&lt;title&gt;class <a href="../SeleccionSimple.html">SeleccionSimple</a> -
125
+ RDoc Documentation&lt;/title&gt;</p>
126
+
127
+ <p>&lt;link href=“./fonts.css” rel=“stylesheet”&gt; &lt;link href=“./rdoc.css”
128
+ rel=“stylesheet”&gt;</p>
129
+
130
+ <p>&lt;script type=“text/javascript”&gt;</p>
131
+
132
+ <pre>var rdoc_rel_prefix = &quot;./&quot;;</pre>
133
+
134
+ <p>&lt;/script&gt;</p>
135
+
136
+ <p>&lt;script src=“./js/jquery.js”&gt;&lt;/script&gt; &lt;script
137
+ src=“./js/navigation.js”&gt;&lt;/script&gt; &lt;script
138
+ src=“./js/search_index.js”&gt;&lt;/script&gt; &lt;script
139
+ src=“./js/search.js”&gt;&lt;/script&gt; &lt;script
140
+ src=“./js/searcher.js”&gt;&lt;/script&gt; &lt;script
141
+ src=“./js/darkfish.js”&gt;&lt;/script&gt;</p>
142
+
143
+ <p>&lt;body id=“top” role=“document” class=“class”&gt; &lt;nav
144
+ role=“navigation”&gt;</p>
145
+
146
+ <pre>&lt;div id=&quot;project-navigation&quot;&gt;
147
+ &lt;div id=&quot;home-section&quot; role=&quot;region&quot; title=&quot;Quick navigation&quot; class=&quot;nav-section&quot;&gt;
148
+ &lt;h2&gt;
149
+ &lt;a href=&quot;./index.html&quot; rel=&quot;home&quot;&gt;Home&lt;/a&gt;
150
+ &lt;/h2&gt;
151
+
152
+ &lt;div id=&quot;table-of-contents-navigation&quot;&gt;
153
+ &lt;a href=&quot;./table_of_contents.html#pages&quot;&gt;Pages&lt;/a&gt;
154
+ &lt;a href=&quot;./table_of_contents.html#classes&quot;&gt;Classes&lt;/a&gt;
155
+ &lt;a href=&quot;./table_of_contents.html#methods&quot;&gt;Methods&lt;/a&gt;
156
+ &lt;/div&gt;</pre>
157
+
158
+ <p>&lt;/div&gt;</p>
159
+
160
+ <pre> &lt;div id=&quot;search-section&quot; role=&quot;search&quot; class=&quot;project-section initially-hidden&quot;&gt;
161
+ &lt;form action=&quot;#&quot; method=&quot;get&quot; accept-charset=&quot;utf-8&quot;&gt;
162
+ &lt;div id=&quot;search-field-wrapper&quot;&gt;
163
+ &lt;input id=&quot;search-field&quot; role=&quot;combobox&quot; aria-label=&quot;Search&quot;
164
+ aria-autocomplete=&quot;list&quot; aria-controls=&quot;search-results&quot;
165
+ type=&quot;text&quot; name=&quot;search&quot; placeholder=&quot;Search&quot; spellcheck=&quot;false&quot;
166
+ title=&quot;Type to search, Up and Down to navigate, Enter to load&quot;&gt;
167
+ &lt;/div&gt;
168
+
169
+ &lt;ul id=&quot;search-results&quot; aria-label=&quot;Search Results&quot;
170
+ aria-busy=&quot;false&quot; aria-expanded=&quot;false&quot;
171
+ aria-atomic=&quot;false&quot; class=&quot;initially-hidden&quot;&gt;&lt;/ul&gt;
172
+ &lt;/form&gt;</pre>
173
+
174
+ <p>&lt;/div&gt;</p>
175
+
176
+ <pre>&lt;/div&gt;
177
+
178
+ &lt;div id=&quot;class-metadata&quot;&gt;
179
+
180
+ &lt;div id=&quot;parent-class-section&quot; class=&quot;nav-section&quot;&gt;
181
+ &lt;h3&gt;Parent&lt;/h3&gt;
182
+
183
+ &lt;p class=&quot;link&quot;&gt;&lt;a href=&quot;Object.html&quot;&gt;Object&lt;/a&gt;</pre>
184
+
185
+ <p>&lt;/div&gt;</p>
186
+
187
+ <pre> &lt;div id=&quot;includes-section&quot; class=&quot;nav-section&quot;&gt;
188
+ &lt;h3&gt;Included Modules&lt;/h3&gt;
189
+
190
+ &lt;ul class=&quot;link-list&quot;&gt;
191
+
192
+ &lt;li&gt;&lt;span class=&quot;include&quot;&gt;Comparable&lt;/span&gt;
193
+
194
+ &lt;/ul&gt;</pre>
195
+
196
+ <p>&lt;/div&gt;</p>
197
+
198
+ <pre>&lt;!-- Method Quickref --&gt;</pre>
199
+
200
+ <p>&lt;div id=“method-list-section” class=“nav-section”&gt;</p>
201
+
202
+ <pre>&lt;h3&gt;Methods&lt;/h3&gt;
203
+
204
+ &lt;ul class=&quot;link-list&quot; role=&quot;directory&quot;&gt;
205
+
206
+ &lt;li &gt;&lt;a href=&quot;#method-c-new&quot;&gt;::new&lt;/a&gt;
207
+
208
+ &lt;li &gt;&lt;a href=&quot;#method-i-3C-3D-3E&quot;&gt;#&amp;lt;=&amp;gt;&lt;/a&gt;
209
+
210
+ &lt;li &gt;&lt;a href=&quot;#method-i-3D-3D&quot;&gt;#==&lt;/a&gt;
211
+
212
+ &lt;li &gt;&lt;a href=&quot;#method-i-to_s&quot;&gt;#to_s&lt;/a&gt;
213
+
214
+ &lt;/ul&gt;</pre>
215
+
216
+ <p>&lt;/div&gt;</p>
217
+
218
+ <pre>&lt;/div&gt;</pre>
219
+
220
+ <p>&lt;/nav&gt;</p>
221
+
222
+ <p>&lt;main role=“main” aria-labelledby=“class-SeleccionSimple”&gt;</p>
223
+
224
+ <pre class="ruby"><span class="ruby-operator">&lt;</span><span class="ruby-identifier">h1</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;class-SeleccionSimple&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;class&quot;</span><span class="ruby-operator">&gt;</span>
225
+ <span class="ruby-keyword">class</span> <span class="ruby-constant">SeleccionSimple</span>
226
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h1&gt;
227
+
228
+ &lt;section class=&quot;description&quot;&gt;
229
+
230
+ &lt;/se</span><span class="ruby-identifier">ction</span><span class="ruby-operator">&gt;</span>
231
+
232
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">section</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;5Buntitled-5D&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;documentation-section&quot;</span><span class="ruby-operator">&gt;</span>
233
+
234
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">section</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;attribute-method-details&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-section&quot;</span><span class="ruby-operator">&gt;</span>
235
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
236
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">h3</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Attributes</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h3&gt;
237
+ &lt;/</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
238
+
239
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;attribute-i-nivel&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-detail&quot;</span><span class="ruby-operator">&gt;</span>
240
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-heading attribute-method-heading&quot;</span><span class="ruby-operator">&gt;</span>
241
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-name&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-identifier">nivel</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;&lt;span
242
+ class=&quot;attribute-access-type&quot;&gt;[R]&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
243
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
244
+
245
+ &lt;div class=&quot;method-description&quot;&gt;
246
+
247
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
248
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
249
+
250
+ &lt;div id=&quot;attribute-i-pregunta&quot; class=&quot;method-detail&quot;&gt;
251
+ &lt;div class=&quot;method-heading attribute-method-heading&quot;&gt;
252
+ &lt;span class=&quot;method-name&quot;&gt;pregunta&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span>
253
+ <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;attribute-access-type&quot;</span><span class="ruby-operator">&gt;</span>[<span class="ruby-constant">R</span>]<span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
254
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
255
+
256
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-description&quot;</span><span class="ruby-operator">&gt;</span>
257
+
258
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
259
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
260
+
261
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;attribute-i-rescorr&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-detail&quot;</span><span class="ruby-operator">&gt;</span>
262
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-heading attribute-method-heading&quot;</span><span class="ruby-operator">&gt;</span>
263
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-name&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-identifier">rescorr</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;&lt;span
264
+ class=&quot;attribute-access-type&quot;&gt;[R]&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
265
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
266
+
267
+ &lt;div class=&quot;method-description&quot;&gt;
268
+
269
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
270
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
271
+
272
+ &lt;div id=&quot;attribute-i-respuesta&quot; class=&quot;method-detail&quot;&gt;
273
+ &lt;div class=&quot;method-heading attribute-method-heading&quot;&gt;
274
+ &lt;span class=&quot;method-name&quot;&gt;respuesta&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span>
275
+ <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;attribute-access-type&quot;</span><span class="ruby-operator">&gt;</span>[<span class="ruby-constant">R</span>]<span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
276
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
277
+
278
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-description&quot;</span><span class="ruby-operator">&gt;</span>
279
+
280
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
281
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
282
+
283
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/section&gt;
284
+
285
+ &lt;section id=&quot;public-class-5Buntitled-5D-method-details&quot; class=&quot;method-section&quot;&gt;
286
+ &lt;header&gt;
287
+ &lt;h3&gt;Public Class Methods&lt;/</span><span class="ruby-identifier">h3</span><span class="ruby-operator">&gt;</span>
288
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/header&gt;
289
+
290
+ &lt;div id=&quot;method-c-new&quot; class=&quot;method-detail &quot;&gt;
291
+
292
+ &lt;div class=&quot;method-heading&quot;&gt;
293
+ &lt;span class=&quot;method-name&quot;&gt;new&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span>
294
+ <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-args&quot;</span><span class="ruby-operator">&gt;</span>(<span class="ruby-identifier">pregunta</span>,<span class="ruby-identifier">respuesta</span>,<span class="ruby-identifier">nivel</span>,<span class="ruby-identifier">rescorr</span>)<span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
295
+
296
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
297
+
298
+ <span class="ruby-operator">&lt;</span><span class="ruby-node">/div&gt;
299
+
300
+ &lt;div class=&quot;method-description&quot;&gt;
301
+
302
+ &lt;div class=&quot;method-source-code&quot; id=&quot;new-source&quot;&gt;
303
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File SeleccionSimple.rb, line 8&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
304
+ </pre>
305
+
306
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
307
+ class=“ruby-identifier”&gt;initialize&lt;/span&gt;(&lt;span
308
+ class=“ruby-identifier”&gt;pregunta&lt;/span&gt;,&lt;span
309
+ class=“ruby-identifier”&gt;respuesta&lt;/span&gt;,&lt;span
310
+ class=“ruby-identifier”&gt;nivel&lt;/span&gt;,&lt;span
311
+ class=“ruby-identifier”&gt;rescorr&lt;/span&gt;)</p>
312
+
313
+ <pre>&lt;span class=&quot;ruby-ivar&quot;&gt;@pregunta&lt;/span&gt;=&lt;span class=&quot;ruby-identifier&quot;&gt;pregunta&lt;/span&gt;
314
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@respuesta&lt;/span&gt;=&lt;span class=&quot;ruby-identifier&quot;&gt;respuesta&lt;/span&gt;
315
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@nivel&lt;/span&gt;=&lt;span class=&quot;ruby-identifier&quot;&gt;nivel&lt;/span&gt;
316
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@rescorr&lt;/span&gt;=&lt;span class=&quot;ruby-identifier&quot;&gt;rescorr&lt;/span&gt;</pre>
317
+
318
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
319
+
320
+ <pre> &lt;/div&gt;
321
+
322
+ &lt;/div&gt;
323
+
324
+ &lt;/div&gt;
325
+
326
+ &lt;/section&gt;
327
+
328
+ &lt;section id=&quot;public-instance-5Buntitled-5D-method-details&quot; class=&quot;method-section&quot;&gt;
329
+ &lt;header&gt;
330
+ &lt;h3&gt;Public Instance Methods&lt;/h3&gt;
331
+ &lt;/header&gt;
332
+
333
+ &lt;div id=&quot;method-i-3C-3D-3E&quot; class=&quot;method-detail &quot;&gt;
334
+
335
+ &lt;div class=&quot;method-heading&quot;&gt;
336
+ &lt;span class=&quot;method-name&quot;&gt;&amp;lt;=&amp;gt;&lt;/span&gt;&lt;span
337
+ class=&quot;method-args&quot;&gt;(other)&lt;/span&gt;
338
+
339
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
340
+
341
+ &lt;/div&gt;
342
+
343
+ &lt;div class=&quot;method-description&quot;&gt;
344
+
345
+ &lt;div class=&quot;method-source-code&quot; id=&quot;3C-3D-3E-source&quot;&gt;
346
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File SeleccionSimple.rb, line 21&lt;/span&gt;
347
+ &lt;span class=&quot;ruby-keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;&amp;lt;=&amp;gt;&lt;/span&gt;(&lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;)</pre>
348
+
349
+ <p>&lt;span class=“ruby-comment”&gt; for i in (0..3)</p>
350
+
351
+ <pre> respuesta_size += @respuesta[i].size
352
+ respuesta_other_size += other.respuesta[i].size
353
+ end</pre>
354
+
355
+ <p>&lt;/span&gt;</p>
356
+
357
+ <pre> &lt;span class=&quot;ruby-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;nil&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;unless&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;is_a?&lt;/span&gt;&lt;span class=&quot;ruby-constant&quot;&gt;SeleccionSimple&lt;/span&gt;
358
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@nivel&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;&amp;lt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;nivel&lt;/span&gt;
359
+ &lt;span class=&quot;ruby-comment&quot;&gt;#@pregunta.size + respuesta_size &amp;lt;=&amp;gt; other.pregunta.size + respuesta_other_size&lt;/span&gt;
360
+
361
+ &lt;span class=&quot;ruby-keyword&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;
362
+ &lt;/div&gt;
363
+
364
+ &lt;/div&gt;
365
+
366
+ &lt;/div&gt;
367
+
368
+ &lt;div id=&quot;method-i-3D-3D&quot; class=&quot;method-detail &quot;&gt;
369
+
370
+ &lt;div class=&quot;method-heading&quot;&gt;
371
+ &lt;span class=&quot;method-name&quot;&gt;==&lt;/span&gt;&lt;span
372
+ class=&quot;method-args&quot;&gt;(other)&lt;/span&gt;
373
+
374
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
375
+
376
+ &lt;/div&gt;
377
+
378
+ &lt;div class=&quot;method-description&quot;&gt;
379
+
380
+ &lt;div class=&quot;method-source-code&quot; id=&quot;3D-3D-source&quot;&gt;
381
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File SeleccionSimple.rb, line 36&lt;/span&gt;</pre>
382
+
383
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
384
+ class=“ruby-operator”&gt;==&lt;/span&gt;(&lt;span
385
+ class=“ruby-identifier”&gt;other&lt;/span&gt;)</p>
386
+
387
+ <pre>&lt;span class=&quot;ruby-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;nil&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;unless&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;is_a?&lt;/span&gt;&lt;span class=&quot;ruby-constant&quot;&gt;SeleccionSimple&lt;/span&gt;
388
+ &lt;span class=&quot;ruby-keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;ruby-ivar&quot;&gt;@nivel&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;nivel&lt;/span&gt;
389
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@respuesta&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;respuesta&lt;/span&gt;
390
+ &lt;span class=&quot;ruby-keyword&quot;&gt;end&lt;/span&gt;
391
+
392
+ &lt;span class=&quot;ruby-comment&quot;&gt;#return nil unless other.is_a?SeleccionSimple&lt;/span&gt;
393
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@pregunta&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;other&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;pregunta&lt;/span&gt;</pre>
394
+
395
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
396
+
397
+ <pre> &lt;/div&gt;
398
+
399
+ &lt;/div&gt;
400
+
401
+ &lt;/div&gt;
402
+
403
+ &lt;div id=&quot;method-i-to_s&quot; class=&quot;method-detail &quot;&gt;
404
+
405
+ &lt;div class=&quot;method-heading&quot;&gt;
406
+ &lt;span class=&quot;method-name&quot;&gt;to_s&lt;/span&gt;&lt;span
407
+ class=&quot;method-args&quot;&gt;()&lt;/span&gt;
408
+
409
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
410
+
411
+ &lt;/div&gt;
412
+
413
+ &lt;div class=&quot;method-description&quot;&gt;
414
+
415
+ &lt;div class=&quot;method-source-code&quot; id=&quot;to_s-source&quot;&gt;
416
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File SeleccionSimple.rb, line 16&lt;/span&gt;</pre>
417
+
418
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
419
+ class=“ruby-identifier”&gt;to_s&lt;/span&gt; &lt;span
420
+ class=“ruby-comment”&gt;#para respuestas de 4 opciones&lt;/span&gt;</p>
421
+
422
+ <pre>&lt;span class=&quot;ruby-node&quot;&gt;&amp;quot;#{@pregunta}\n a) #{@respuesta[0]}\n b) #{@respuesta[1]}\n c) #{@respuesta[2]}\n d) #{@respuesta[3]}\n&amp;quot;&lt;/span&gt;</pre>
423
+
424
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
425
+
426
+ <pre> &lt;/div&gt;
427
+
428
+ &lt;/div&gt;
429
+
430
+ &lt;/div&gt;
431
+
432
+ &lt;/section&gt;
433
+
434
+ &lt;/section&gt;</pre>
435
+
436
+ <p>&lt;/main&gt;</p>
437
+
438
+ <p>&lt;footer id=“validator-badges” role=“contentinfo”&gt;</p>
439
+
440
+ <pre>&lt;p&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;Validate&lt;/a&gt;
441
+ &lt;p&gt;Generated by &lt;a href=&quot;http://rdoc.rubyforge.org&quot;&gt;RDoc&lt;/a&gt; 4.1.0.
442
+ &lt;p&gt;Based on &lt;a href=&quot;http://deveiate.org/projects/Darkfish-Rdoc/&quot;&gt;Darkfish&lt;/a&gt; by &lt;a href=&quot;http://deveiate.org&quot;&gt;Michael Granger&lt;/a&gt;.</pre>
443
+
444
+ <p>&lt;/footer&gt;</p>
445
+ </main>
446
+
447
+
448
+
449
+ <footer id="validator-badges" role="contentinfo">
450
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
451
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
452
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
453
+ </footer>
454
+