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.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.coveralls.yml~ +0 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/.travis.yml~ +0 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +38 -0
- data/Rakefile +18 -0
- data/exam1.gemspec +30 -0
- data/exam1.gemspec~ +23 -0
- data/lib/exam1.rb +9 -0
- data/lib/exam1/SeleccionSimple.rb +86 -0
- data/lib/exam1/SeleccionSimple.rb~ +86 -0
- data/lib/exam1/doc/Exam1.html +112 -0
- data/lib/exam1/doc/Examen.html +484 -0
- data/lib/exam1/doc/Interfaz.html +384 -0
- data/lib/exam1/doc/List.html +467 -0
- data/lib/exam1/doc/Nodo.html +167 -0
- data/lib/exam1/doc/Object.html +119 -0
- data/lib/exam1/doc/SeleccionSimple.html +361 -0
- data/lib/exam1/doc/SeleccionSimple_rb~.html +237 -0
- data/lib/exam1/doc/Verdadero_Falso.html +208 -0
- data/lib/exam1/doc/created.rid +60 -0
- data/lib/exam1/doc/doc/Exam1_html.html +230 -0
- data/lib/exam1/doc/doc/Examen_html.html +556 -0
- data/lib/exam1/doc/doc/Interfaz_html.html +468 -0
- data/lib/exam1/doc/doc/List_html.html +531 -0
- data/lib/exam1/doc/doc/Nodo_html.html +285 -0
- data/lib/exam1/doc/doc/Object_html.html +237 -0
- data/lib/exam1/doc/doc/SeleccionSimple_html.html +454 -0
- data/lib/exam1/doc/doc/SeleccionSimple_rb~_html.html +377 -0
- data/lib/exam1/doc/doc/Verdadero_Falso_html.html +318 -0
- data/lib/exam1/doc/doc/examen_rb~_html.html +425 -0
- data/lib/exam1/doc/doc/fonts_css.html +307 -0
- data/lib/exam1/doc/doc/index_html.html +241 -0
- data/lib/exam1/doc/doc/js/darkfish_js.html +286 -0
- data/lib/exam1/doc/doc/js/jquery_js.html +1450 -0
- data/lib/exam1/doc/doc/js/navigation_js.html +271 -0
- data/lib/exam1/doc/doc/js/search_index_js.html +177 -0
- data/lib/exam1/doc/doc/js/search_js.html +240 -0
- data/lib/exam1/doc/doc/js/searcher_js.html +358 -0
- data/lib/exam1/doc/doc/linkedlist_rb~_html.html +345 -0
- data/lib/exam1/doc/doc/rdoc_css.html +844 -0
- data/lib/exam1/doc/doc/table_of_contents_html.html +352 -0
- data/lib/exam1/doc/examen_rb~.html +300 -0
- data/lib/exam1/doc/fonts.css +167 -0
- data/lib/exam1/doc/fonts/Lato-Light.ttf +0 -0
- data/lib/exam1/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/lib/exam1/doc/fonts/Lato-Regular.ttf +0 -0
- data/lib/exam1/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/lib/exam1/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/lib/exam1/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/lib/exam1/doc/images/add.png +0 -0
- data/lib/exam1/doc/images/arrow_up.png +0 -0
- data/lib/exam1/doc/images/brick.png +0 -0
- data/lib/exam1/doc/images/brick_link.png +0 -0
- data/lib/exam1/doc/images/bug.png +0 -0
- data/lib/exam1/doc/images/bullet_black.png +0 -0
- data/lib/exam1/doc/images/bullet_toggle_minus.png +0 -0
- data/lib/exam1/doc/images/bullet_toggle_plus.png +0 -0
- data/lib/exam1/doc/images/date.png +0 -0
- data/lib/exam1/doc/images/delete.png +0 -0
- data/lib/exam1/doc/images/find.png +0 -0
- data/lib/exam1/doc/images/loadingAnimation.gif +0 -0
- data/lib/exam1/doc/images/macFFBgHack.png +0 -0
- data/lib/exam1/doc/images/package.png +0 -0
- data/lib/exam1/doc/images/page_green.png +0 -0
- data/lib/exam1/doc/images/page_white_text.png +0 -0
- data/lib/exam1/doc/images/page_white_width.png +0 -0
- data/lib/exam1/doc/images/plugin.png +0 -0
- data/lib/exam1/doc/images/ruby.png +0 -0
- data/lib/exam1/doc/images/tag_blue.png +0 -0
- data/lib/exam1/doc/images/tag_green.png +0 -0
- data/lib/exam1/doc/images/transparent.png +0 -0
- data/lib/exam1/doc/images/wrench.png +0 -0
- data/lib/exam1/doc/images/wrench_orange.png +0 -0
- data/lib/exam1/doc/images/zoom.png +0 -0
- data/lib/exam1/doc/index.html +152 -0
- data/lib/exam1/doc/js/darkfish.js +140 -0
- data/lib/exam1/doc/js/jquery.js +18 -0
- data/lib/exam1/doc/js/navigation.js +142 -0
- data/lib/exam1/doc/js/search.js +109 -0
- data/lib/exam1/doc/js/search_index.js +1 -0
- data/lib/exam1/doc/js/searcher.js +228 -0
- data/lib/exam1/doc/linkedlist_rb~.html +238 -0
- data/lib/exam1/doc/rdoc.css +580 -0
- data/lib/exam1/doc/table_of_contents.html +288 -0
- data/lib/exam1/examen.rb +178 -0
- data/lib/exam1/examen.rb~ +178 -0
- data/lib/exam1/linkedlist.rb +129 -0
- data/lib/exam1/linkedlist.rb~ +134 -0
- data/lib/exam1/version.rb +3 -0
- data/spec/.yardoc/checksums +0 -0
- data/spec/.yardoc/object_types +0 -0
- data/spec/.yardoc/objects/root.dat +0 -0
- data/spec/.yardoc/proxy_types +0 -0
- data/spec/doc/_index.html +88 -0
- data/spec/doc/class_list.html +58 -0
- data/spec/doc/created.rid +3 -0
- data/spec/doc/css/common.css +1 -0
- data/spec/doc/css/full_list.css +57 -0
- data/spec/doc/css/style.css +339 -0
- data/spec/doc/file_list.html +57 -0
- data/spec/doc/frames.html +26 -0
- data/spec/doc/images/brick.png +0 -0
- data/spec/doc/images/brick_link.png +0 -0
- data/spec/doc/images/bug.png +0 -0
- data/spec/doc/images/bullet_black.png +0 -0
- data/spec/doc/images/bullet_toggle_minus.png +0 -0
- data/spec/doc/images/bullet_toggle_plus.png +0 -0
- data/spec/doc/images/date.png +0 -0
- data/spec/doc/images/find.png +0 -0
- data/spec/doc/images/loadingAnimation.gif +0 -0
- data/spec/doc/images/macFFBgHack.png +0 -0
- data/spec/doc/images/package.png +0 -0
- data/spec/doc/images/page_green.png +0 -0
- data/spec/doc/images/page_white_text.png +0 -0
- data/spec/doc/images/page_white_width.png +0 -0
- data/spec/doc/images/plugin.png +0 -0
- data/spec/doc/images/ruby.png +0 -0
- data/spec/doc/images/tag_green.png +0 -0
- data/spec/doc/images/wrench.png +0 -0
- data/spec/doc/images/wrench_orange.png +0 -0
- data/spec/doc/images/zoom.png +0 -0
- data/spec/doc/index.html +88 -0
- data/spec/doc/js/app.js +219 -0
- data/spec/doc/js/darkfish.js +118 -0
- data/spec/doc/js/full_list.js +181 -0
- data/spec/doc/js/jquery.js +4 -0
- data/spec/doc/js/quicksearch.js +114 -0
- data/spec/doc/js/thickbox-compressed.js +10 -0
- data/spec/doc/linkedlist_spec_rb.html +56 -0
- data/spec/doc/method_list.html +57 -0
- data/spec/doc/rdoc.css +763 -0
- data/spec/doc/spec_helper_rb.html +54 -0
- data/spec/doc/top-level-namespace.html +102 -0
- data/spec/linkedlist_spec.rb +449 -0
- data/spec/linkedlist_spec.rb~ +449 -0
- data/spec/spec_helper.rb +28 -0
- metadata +331 -0
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class Interfaz - 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="class">
|
|
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="class-metadata">
|
|
59
|
+
|
|
60
|
+
<div id="parent-class-section" class="nav-section">
|
|
61
|
+
<h3>Parent</h3>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<p class="link"><a href="Object.html">Object</a>
|
|
65
|
+
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
<!-- Method Quickref -->
|
|
71
|
+
<div id="method-list-section" class="nav-section">
|
|
72
|
+
<h3>Methods</h3>
|
|
73
|
+
|
|
74
|
+
<ul class="link-list" role="directory">
|
|
75
|
+
|
|
76
|
+
<li ><a href="#method-c-new">::new</a>
|
|
77
|
+
|
|
78
|
+
<li ><a href="#method-i-calificacion">#calificacion</a>
|
|
79
|
+
|
|
80
|
+
<li ><a href="#method-i-correcta">#correcta</a>
|
|
81
|
+
|
|
82
|
+
<li ><a href="#method-i-respuesta_correcta">#respuesta_correcta</a>
|
|
83
|
+
|
|
84
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
|
85
|
+
|
|
86
|
+
</ul>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
</div>
|
|
90
|
+
</nav>
|
|
91
|
+
|
|
92
|
+
<main role="main" aria-labelledby="class-Interfaz">
|
|
93
|
+
<h1 id="class-Interfaz" class="class">
|
|
94
|
+
class Interfaz
|
|
95
|
+
</h1>
|
|
96
|
+
|
|
97
|
+
<section class="description">
|
|
98
|
+
|
|
99
|
+
</section>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<section class="attribute-method-details" class="method-section">
|
|
113
|
+
<header>
|
|
114
|
+
<h3>Attributes</h3>
|
|
115
|
+
</header>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
<div id="attribute-i-correctaP" class="method-detail">
|
|
119
|
+
<div class="method-heading attribute-method-heading">
|
|
120
|
+
<span class="method-name">correctaP</span><span
|
|
121
|
+
class="attribute-access-type">[RW]</span>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
<div class="method-description">
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<div id="attribute-i-interfaz" class="method-detail">
|
|
132
|
+
<div class="method-heading attribute-method-heading">
|
|
133
|
+
<span class="method-name">interfaz</span><span
|
|
134
|
+
class="attribute-access-type">[RW]</span>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="method-description">
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
</section>
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
149
|
+
<header>
|
|
150
|
+
<h3>Public Class Methods</h3>
|
|
151
|
+
</header>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<div id="method-c-new" class="method-detail ">
|
|
155
|
+
|
|
156
|
+
<div class="method-heading">
|
|
157
|
+
<span class="method-name">new</span><span
|
|
158
|
+
class="method-args">(examen)</span>
|
|
159
|
+
|
|
160
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
161
|
+
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<div class="method-description">
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<div class="method-source-code" id="new-source">
|
|
173
|
+
<pre><span class="ruby-comment"># File examen.rb, line 99</span>
|
|
174
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> (<span class="ruby-identifier">examen</span>)
|
|
175
|
+
|
|
176
|
+
<span class="ruby-ivar">@interfaz</span> = <span class="ruby-identifier">examen</span>
|
|
177
|
+
<span class="ruby-ivar">@correctaP</span> = <span class="ruby-value">0</span>
|
|
178
|
+
|
|
179
|
+
<span class="ruby-keyword">end</span></pre>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
</div>
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
</section>
|
|
191
|
+
|
|
192
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
193
|
+
<header>
|
|
194
|
+
<h3>Public Instance Methods</h3>
|
|
195
|
+
</header>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<div id="method-i-calificacion" class="method-detail ">
|
|
199
|
+
|
|
200
|
+
<div class="method-heading">
|
|
201
|
+
<span class="method-name">calificacion</span><span
|
|
202
|
+
class="method-args">()</span>
|
|
203
|
+
|
|
204
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
205
|
+
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<div class="method-description">
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
<div class="method-source-code" id="calificacion-source">
|
|
217
|
+
<pre><span class="ruby-comment"># File examen.rb, line 154</span>
|
|
218
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">calificacion</span>
|
|
219
|
+
|
|
220
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@correctaP</span> <span class="ruby-operator">>=</span> <span class="ruby-value">3</span> <span class="ruby-keyword">then</span>
|
|
221
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"Calificación: Aprobado"</span>
|
|
222
|
+
<span class="ruby-keyword">true</span>
|
|
223
|
+
<span class="ruby-keyword">else</span>
|
|
224
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"Calificación: Suspendido"</span>
|
|
225
|
+
<span class="ruby-keyword">false</span>
|
|
226
|
+
<span class="ruby-keyword">end</span>
|
|
227
|
+
<span class="ruby-keyword">end</span></pre>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
</div>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
<div id="method-i-correcta" class="method-detail ">
|
|
239
|
+
|
|
240
|
+
<div class="method-heading">
|
|
241
|
+
<span class="method-name">correcta</span><span
|
|
242
|
+
class="method-args">(ans_usuario,numero_preg)</span>
|
|
243
|
+
|
|
244
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
245
|
+
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
<div class="method-description">
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<div class="method-source-code" id="correcta-source">
|
|
257
|
+
<pre><span class="ruby-comment"># File examen.rb, line 112</span>
|
|
258
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">correcta</span>(<span class="ruby-identifier">ans_usuario</span>,<span class="ruby-identifier">numero_preg</span>)
|
|
259
|
+
|
|
260
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">ans_usuario</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">rcorrecta</span>[<span class="ruby-identifier">numero_preg</span>] <span class="ruby-keyword">then</span>
|
|
261
|
+
|
|
262
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Pregunta #{numero_preg+1}: Respuesta correcta"</span>
|
|
263
|
+
<span class="ruby-ivar">@correctaP</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span>
|
|
264
|
+
<span class="ruby-keyword">true</span>
|
|
265
|
+
|
|
266
|
+
<span class="ruby-keyword">else</span>
|
|
267
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Pregunta #{numero_preg+1}: Respuesta incorrecta"</span>
|
|
268
|
+
<span class="ruby-keyword">false</span>
|
|
269
|
+
|
|
270
|
+
<span class="ruby-keyword">end</span>
|
|
271
|
+
<span class="ruby-keyword">end</span></pre>
|
|
272
|
+
</div>
|
|
273
|
+
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
<div id="method-i-respuesta_correcta" class="method-detail ">
|
|
283
|
+
|
|
284
|
+
<div class="method-heading">
|
|
285
|
+
<span class="method-name">respuesta_correcta</span><span
|
|
286
|
+
class="method-args">()</span>
|
|
287
|
+
|
|
288
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
289
|
+
|
|
290
|
+
</div>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<div class="method-description">
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
<div class="method-source-code" id="respuesta_correcta-source">
|
|
301
|
+
<pre><span class="ruby-comment"># File examen.rb, line 127</span>
|
|
302
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">respuesta_correcta</span>
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">respuesta_usuario</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">rcorrecta</span>
|
|
306
|
+
|
|
307
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"Hay respuestas erroneas\n\n"</span>
|
|
308
|
+
|
|
309
|
+
<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-value">4</span>)
|
|
310
|
+
|
|
311
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">respuesta_usuario</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">!=</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">rcorrecta</span>[<span class="ruby-identifier">i</span>]
|
|
312
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Pregunta #{i+1} incorrecta "</span>
|
|
313
|
+
|
|
314
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">respuesta_usuario</span>[<span class="ruby-identifier">i</span>] <span class="ruby-operator">==</span> <span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">rcorrecta</span>[<span class="ruby-identifier">i</span>]
|
|
315
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Pregunta #{i+1} correcta "</span>
|
|
316
|
+
<span class="ruby-keyword">end</span>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<span class="ruby-keyword">end</span>
|
|
320
|
+
|
|
321
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">vresp_user</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">rcorrecta</span>
|
|
322
|
+
|
|
323
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">"Todas las respuestas son correctas\n"</span>
|
|
324
|
+
|
|
325
|
+
<span class="ruby-keyword">end</span>
|
|
326
|
+
|
|
327
|
+
<span class="ruby-keyword">end</span></pre>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
</div>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
<div id="method-i-to_s" class="method-detail ">
|
|
339
|
+
|
|
340
|
+
<div class="method-heading">
|
|
341
|
+
<span class="method-name">to_s</span><span
|
|
342
|
+
class="method-args">()</span>
|
|
343
|
+
|
|
344
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
345
|
+
|
|
346
|
+
</div>
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
<div class="method-description">
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<div class="method-source-code" id="to_s-source">
|
|
357
|
+
<pre><span class="ruby-comment"># File examen.rb, line 106</span>
|
|
358
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
|
359
|
+
|
|
360
|
+
<span class="ruby-ivar">@interfaz</span>.<span class="ruby-identifier">to_s</span>
|
|
361
|
+
|
|
362
|
+
<span class="ruby-keyword">end</span></pre>
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
</div>
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
</section>
|
|
374
|
+
|
|
375
|
+
</section>
|
|
376
|
+
</main>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
<footer id="validator-badges" role="contentinfo">
|
|
380
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
381
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
|
382
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
383
|
+
</footer>
|
|
384
|
+
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
|
|
7
|
+
<title>class List - 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="class">
|
|
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="class-metadata">
|
|
59
|
+
|
|
60
|
+
<div id="parent-class-section" class="nav-section">
|
|
61
|
+
<h3>Parent</h3>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<p class="link"><a href="Object.html">Object</a>
|
|
65
|
+
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<div id="includes-section" class="nav-section">
|
|
69
|
+
<h3>Included Modules</h3>
|
|
70
|
+
|
|
71
|
+
<ul class="link-list">
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<li><span class="include">Enumerable</span>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
</ul>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
<!-- Method Quickref -->
|
|
82
|
+
<div id="method-list-section" class="nav-section">
|
|
83
|
+
<h3>Methods</h3>
|
|
84
|
+
|
|
85
|
+
<ul class="link-list" role="directory">
|
|
86
|
+
|
|
87
|
+
<li ><a href="#method-c-new">::new</a>
|
|
88
|
+
|
|
89
|
+
<li ><a href="#method-i-each">#each</a>
|
|
90
|
+
|
|
91
|
+
<li ><a href="#method-i-insert_head">#insert_head</a>
|
|
92
|
+
|
|
93
|
+
<li ><a href="#method-i-insert_tail">#insert_tail</a>
|
|
94
|
+
|
|
95
|
+
<li ><a href="#method-i-print">#print</a>
|
|
96
|
+
|
|
97
|
+
<li ><a href="#method-i-remove_head">#remove_head</a>
|
|
98
|
+
|
|
99
|
+
<li ><a href="#method-i-remove_tail">#remove_tail</a>
|
|
100
|
+
|
|
101
|
+
</ul>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
</div>
|
|
105
|
+
</nav>
|
|
106
|
+
|
|
107
|
+
<main role="main" aria-labelledby="class-List">
|
|
108
|
+
<h1 id="class-List" class="class">
|
|
109
|
+
class List
|
|
110
|
+
</h1>
|
|
111
|
+
|
|
112
|
+
<section class="description">
|
|
113
|
+
|
|
114
|
+
</section>
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<section class="attribute-method-details" class="method-section">
|
|
128
|
+
<header>
|
|
129
|
+
<h3>Attributes</h3>
|
|
130
|
+
</header>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
<div id="attribute-i-head" class="method-detail">
|
|
134
|
+
<div class="method-heading attribute-method-heading">
|
|
135
|
+
<span class="method-name">head</span><span
|
|
136
|
+
class="attribute-access-type">[RW]</span>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<div class="method-description">
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div id="attribute-i-tail" class="method-detail">
|
|
147
|
+
<div class="method-heading attribute-method-heading">
|
|
148
|
+
<span class="method-name">tail</span><span
|
|
149
|
+
class="attribute-access-type">[RW]</span>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<div class="method-description">
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
</section>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
164
|
+
<header>
|
|
165
|
+
<h3>Public Class Methods</h3>
|
|
166
|
+
</header>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
<div id="method-c-new" class="method-detail ">
|
|
170
|
+
|
|
171
|
+
<div class="method-heading">
|
|
172
|
+
<span class="method-name">new</span><span
|
|
173
|
+
class="method-args">(head)</span>
|
|
174
|
+
|
|
175
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
176
|
+
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<div class="method-description">
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<div class="method-source-code" id="new-source">
|
|
188
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 21</span>
|
|
189
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">head</span>)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
<span class="ruby-ivar">@head</span> = <span class="ruby-identifier">head</span>
|
|
193
|
+
<span class="ruby-ivar">@tail</span> = <span class="ruby-identifier">head</span>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<span class="ruby-keyword">end</span></pre>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
</div>
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
</section>
|
|
208
|
+
|
|
209
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
210
|
+
<header>
|
|
211
|
+
<h3>Public Instance Methods</h3>
|
|
212
|
+
</header>
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<div id="method-i-each" class="method-detail ">
|
|
216
|
+
|
|
217
|
+
<div class="method-heading">
|
|
218
|
+
<span class="method-name">each</span><span
|
|
219
|
+
class="method-args">() { |value| ... }</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="each-source">
|
|
234
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 87</span>
|
|
235
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">each</span>
|
|
236
|
+
|
|
237
|
+
<span class="ruby-identifier">actual</span> = <span class="ruby-ivar">@tail</span>
|
|
238
|
+
|
|
239
|
+
<span class="ruby-keyword">while</span> <span class="ruby-identifier">actual</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
240
|
+
<span class="ruby-keyword">yield</span> <span class="ruby-identifier">actual</span>.<span class="ruby-identifier">value</span>
|
|
241
|
+
<span class="ruby-identifier">actual</span> = <span class="ruby-identifier">actual</span>.<span class="ruby-identifier">siguiente</span>
|
|
242
|
+
<span class="ruby-keyword">end</span>
|
|
243
|
+
|
|
244
|
+
<span class="ruby-keyword">end</span></pre>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<div id="method-i-insert_head" class="method-detail ">
|
|
256
|
+
|
|
257
|
+
<div class="method-heading">
|
|
258
|
+
<span class="method-name">insert_head</span><span
|
|
259
|
+
class="method-args">(nodo)</span>
|
|
260
|
+
|
|
261
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
262
|
+
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<div class="method-description">
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<div class="method-source-code" id="insert_head-source">
|
|
274
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 30</span>
|
|
275
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_head</span>(<span class="ruby-identifier">nodo</span>)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<span class="ruby-identifier">aux</span> = <span class="ruby-ivar">@head</span>
|
|
279
|
+
|
|
280
|
+
<span class="ruby-ivar">@head</span>.<span class="ruby-identifier">siguiente</span> = <span class="ruby-identifier">nodo</span>
|
|
281
|
+
<span class="ruby-ivar">@head</span> = <span class="ruby-ivar">@head</span>.<span class="ruby-identifier">siguiente</span>
|
|
282
|
+
<span class="ruby-ivar">@head</span>.<span class="ruby-identifier">previo</span> = <span class="ruby-identifier">aux</span>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<span class="ruby-keyword">end</span></pre>
|
|
286
|
+
</div>
|
|
287
|
+
|
|
288
|
+
</div>
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
<div id="method-i-insert_tail" class="method-detail ">
|
|
297
|
+
|
|
298
|
+
<div class="method-heading">
|
|
299
|
+
<span class="method-name">insert_tail</span><span
|
|
300
|
+
class="method-args">(nodo)</span>
|
|
301
|
+
|
|
302
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
303
|
+
|
|
304
|
+
</div>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<div class="method-description">
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
<div class="method-source-code" id="insert_tail-source">
|
|
315
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 42</span>
|
|
316
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_tail</span>(<span class="ruby-identifier">nodo</span>)
|
|
317
|
+
|
|
318
|
+
<span class="ruby-identifier">aux</span> = <span class="ruby-ivar">@tail</span>
|
|
319
|
+
<span class="ruby-ivar">@tail</span> = <span class="ruby-identifier">nodo</span>
|
|
320
|
+
<span class="ruby-identifier">aux</span>.<span class="ruby-identifier">previo</span> = <span class="ruby-ivar">@tail</span>
|
|
321
|
+
<span class="ruby-ivar">@tail</span>.<span class="ruby-identifier">siguiente</span> = <span class="ruby-identifier">aux</span>
|
|
322
|
+
|
|
323
|
+
<span class="ruby-keyword">end</span></pre>
|
|
324
|
+
</div>
|
|
325
|
+
|
|
326
|
+
</div>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
</div>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
<div id="method-i-print" class="method-detail ">
|
|
335
|
+
|
|
336
|
+
<div class="method-heading">
|
|
337
|
+
<span class="method-name">print</span><span
|
|
338
|
+
class="method-args">()</span>
|
|
339
|
+
|
|
340
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
341
|
+
|
|
342
|
+
</div>
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<div class="method-description">
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
<div class="method-source-code" id="print-source">
|
|
353
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 63</span>
|
|
354
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">print</span>
|
|
355
|
+
|
|
356
|
+
<span class="ruby-identifier">actual</span> = <span class="ruby-ivar">@tail</span>
|
|
357
|
+
|
|
358
|
+
<span class="ruby-keyword">while</span> <span class="ruby-identifier">actual</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
359
|
+
|
|
360
|
+
<span class="ruby-node">"#{actual.value}"</span>
|
|
361
|
+
<span class="ruby-identifier">actual</span> = <span class="ruby-identifier">actual</span>.<span class="ruby-identifier">siguiente</span>
|
|
362
|
+
|
|
363
|
+
<span class="ruby-keyword">end</span>
|
|
364
|
+
|
|
365
|
+
<span class="ruby-keyword">end</span></pre>
|
|
366
|
+
</div>
|
|
367
|
+
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
</div>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
<div id="method-i-remove_head" class="method-detail ">
|
|
377
|
+
|
|
378
|
+
<div class="method-heading">
|
|
379
|
+
<span class="method-name">remove_head</span><span
|
|
380
|
+
class="method-args">()</span>
|
|
381
|
+
|
|
382
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
383
|
+
|
|
384
|
+
</div>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
<div class="method-description">
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
<div class="method-source-code" id="remove_head-source">
|
|
395
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 51</span>
|
|
396
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_head</span>
|
|
397
|
+
|
|
398
|
+
<span class="ruby-identifier">aux</span> = <span class="ruby-ivar">@head</span>
|
|
399
|
+
<span class="ruby-ivar">@head</span> = <span class="ruby-ivar">@head</span>.<span class="ruby-identifier">previo</span>
|
|
400
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">aux</span>.<span class="ruby-identifier">value</span>
|
|
401
|
+
<span class="ruby-comment">#puts @head.value</span>
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
<span class="ruby-keyword">end</span></pre>
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
</div>
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
<div id="method-i-remove_tail" class="method-detail ">
|
|
417
|
+
|
|
418
|
+
<div class="method-heading">
|
|
419
|
+
<span class="method-name">remove_tail</span><span
|
|
420
|
+
class="method-args">()</span>
|
|
421
|
+
|
|
422
|
+
<span class="method-click-advice">click to toggle source</span>
|
|
423
|
+
|
|
424
|
+
</div>
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
<div class="method-description">
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
<div class="method-source-code" id="remove_tail-source">
|
|
435
|
+
<pre><span class="ruby-comment"># File linkedlist.rb, line 76</span>
|
|
436
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_tail</span>
|
|
437
|
+
|
|
438
|
+
<span class="ruby-identifier">actual</span> = <span class="ruby-ivar">@tail</span>
|
|
439
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@tail</span>.<span class="ruby-identifier">siguiente</span> <span class="ruby-operator">!=</span> <span class="ruby-keyword">nil</span>
|
|
440
|
+
<span class="ruby-ivar">@tail</span> = <span class="ruby-ivar">@tail</span>.<span class="ruby-identifier">siguiente</span>
|
|
441
|
+
<span class="ruby-keyword">end</span>
|
|
442
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">actual</span>.<span class="ruby-identifier">value</span>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
<span class="ruby-keyword">end</span></pre>
|
|
446
|
+
</div>
|
|
447
|
+
|
|
448
|
+
</div>
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
</div>
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
</section>
|
|
457
|
+
|
|
458
|
+
</section>
|
|
459
|
+
</main>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
<footer id="validator-badges" role="contentinfo">
|
|
463
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
464
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
|
|
465
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
466
|
+
</footer>
|
|
467
|
+
|