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,531 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>List.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/List.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="../List.html">List</a> - RDoc
125
+ 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;Enumerable&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-each&quot;&gt;#each&lt;/a&gt;
209
+
210
+ &lt;li &gt;&lt;a href=&quot;#method-i-insert_head&quot;&gt;#insert_head&lt;/a&gt;
211
+
212
+ &lt;li &gt;&lt;a href=&quot;#method-i-insert_tail&quot;&gt;#insert_tail&lt;/a&gt;
213
+
214
+ &lt;li &gt;&lt;a href=&quot;#method-i-print&quot;&gt;#print&lt;/a&gt;
215
+
216
+ &lt;li &gt;&lt;a href=&quot;#method-i-remove_head&quot;&gt;#remove_head&lt;/a&gt;
217
+
218
+ &lt;li &gt;&lt;a href=&quot;#method-i-remove_tail&quot;&gt;#remove_tail&lt;/a&gt;
219
+
220
+ &lt;/ul&gt;</pre>
221
+
222
+ <p>&lt;/div&gt;</p>
223
+
224
+ <pre>&lt;/div&gt;</pre>
225
+
226
+ <p>&lt;/nav&gt;</p>
227
+
228
+ <p>&lt;main role=“main” aria-labelledby=“class-List”&gt;</p>
229
+
230
+ <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-List&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;class&quot;</span><span class="ruby-operator">&gt;</span>
231
+ <span class="ruby-keyword">class</span> <span class="ruby-constant">List</span>
232
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h1&gt;
233
+
234
+ &lt;section class=&quot;description&quot;&gt;
235
+
236
+ &lt;/se</span><span class="ruby-identifier">ction</span><span class="ruby-operator">&gt;</span>
237
+
238
+ <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>
239
+
240
+ <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>
241
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
242
+ <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;
243
+ &lt;/</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
244
+
245
+ <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-head&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-detail&quot;</span><span class="ruby-operator">&gt;</span>
246
+ <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>
247
+ <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">head</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;&lt;span
248
+ class=&quot;attribute-access-type&quot;&gt;[RW]&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
249
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
250
+
251
+ &lt;div class=&quot;method-description&quot;&gt;
252
+
253
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
254
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
255
+
256
+ &lt;div id=&quot;attribute-i-tail&quot; class=&quot;method-detail&quot;&gt;
257
+ &lt;div class=&quot;method-heading attribute-method-heading&quot;&gt;
258
+ &lt;span class=&quot;method-name&quot;&gt;tail&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>
259
+ <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">RW</span>]<span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
260
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
261
+
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-description&quot;</span><span class="ruby-operator">&gt;</span>
263
+
264
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
265
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
266
+
267
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/section&gt;
268
+
269
+ &lt;section id=&quot;public-class-5Buntitled-5D-method-details&quot; class=&quot;method-section&quot;&gt;
270
+ &lt;header&gt;
271
+ &lt;h3&gt;Public Class Methods&lt;/</span><span class="ruby-identifier">h3</span><span class="ruby-operator">&gt;</span>
272
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/header&gt;
273
+
274
+ &lt;div id=&quot;method-c-new&quot; class=&quot;method-detail &quot;&gt;
275
+
276
+ &lt;div class=&quot;method-heading&quot;&gt;
277
+ &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>
278
+ <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">head</span>)<span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
279
+
280
+ &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>
281
+
282
+ <span class="ruby-operator">&lt;</span><span class="ruby-node">/div&gt;
283
+
284
+ &lt;div class=&quot;method-description&quot;&gt;
285
+
286
+ &lt;div class=&quot;method-source-code&quot; id=&quot;new-source&quot;&gt;
287
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 21&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
288
+ </pre>
289
+
290
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
291
+ class=“ruby-identifier”&gt;initialize&lt;/span&gt;(&lt;span
292
+ class=“ruby-identifier”&gt;head&lt;/span&gt;)</p>
293
+
294
+ <pre>&lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;head&lt;/span&gt;
295
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;head&lt;/span&gt;</pre>
296
+
297
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
298
+
299
+ <pre class="ruby"> <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
300
+
301
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
302
+
303
+ <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;
304
+
305
+ &lt;/se</span><span class="ruby-identifier">ction</span><span class="ruby-operator">&gt;</span>
306
+
307
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">section</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;public-instance-5Buntitled-5D-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>
308
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
309
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">h3</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Public</span> <span class="ruby-constant">Instance</span> <span class="ruby-constant">Methods</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h3&gt;
310
+ &lt;/</span><span class="ruby-identifier">header</span><span class="ruby-operator">&gt;</span>
311
+
312
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;method-i-each&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-detail &quot;</span><span class="ruby-operator">&gt;</span>
313
+
314
+ <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&quot;</span><span class="ruby-operator">&gt;</span>
315
+ <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">each</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;&lt;span
316
+ class=&quot;method-args&quot;&gt;() { |value| ... }&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
317
+
318
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-click-advice&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-identifier">click</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">toggle</span> <span class="ruby-identifier">source</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;
319
+
320
+ &lt;/</span><span class="ruby-identifier">div</span><span class="ruby-operator">&gt;</span>
321
+
322
+ <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>
323
+
324
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method-source-code&quot;</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;each-source&quot;</span><span class="ruby-operator">&gt;</span>
325
+ <span class="ruby-operator">&lt;</span><span class="ruby-identifier">pre</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;ruby-comment&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-comment"># File linkedlist.rb, line 87&lt;/span&gt;</span>
326
+ </pre>
327
+
328
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
329
+ class=“ruby-identifier”&gt;each&lt;/span&gt;</p>
330
+
331
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;
332
+
333
+ &lt;span class=&quot;ruby-keyword&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;nil&lt;/span&gt;
334
+ &lt;span class=&quot;ruby-keyword&quot;&gt;yield&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;value&lt;/span&gt;
335
+ &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt;
336
+ &lt;span class=&quot;ruby-keyword&quot;&gt;end&lt;/span&gt;</pre>
337
+
338
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
339
+
340
+ <pre> &lt;/div&gt;
341
+
342
+ &lt;/div&gt;
343
+
344
+ &lt;/div&gt;
345
+
346
+ &lt;div id=&quot;method-i-insert_head&quot; class=&quot;method-detail &quot;&gt;
347
+
348
+ &lt;div class=&quot;method-heading&quot;&gt;
349
+ &lt;span class=&quot;method-name&quot;&gt;insert_head&lt;/span&gt;&lt;span
350
+ class=&quot;method-args&quot;&gt;(nodo)&lt;/span&gt;
351
+
352
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
353
+
354
+ &lt;/div&gt;
355
+
356
+ &lt;div class=&quot;method-description&quot;&gt;
357
+
358
+ &lt;div class=&quot;method-source-code&quot; id=&quot;insert_head-source&quot;&gt;
359
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 30&lt;/span&gt;</pre>
360
+
361
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
362
+ class=“ruby-identifier”&gt;insert_head&lt;/span&gt;(&lt;span
363
+ class=“ruby-identifier”&gt;nodo&lt;/span&gt;)</p>
364
+
365
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;
366
+
367
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;nodo&lt;/span&gt;
368
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt;
369
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;previo&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt;</pre>
370
+
371
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
372
+
373
+ <pre> &lt;/div&gt;
374
+
375
+ &lt;/div&gt;
376
+
377
+ &lt;/div&gt;
378
+
379
+ &lt;div id=&quot;method-i-insert_tail&quot; class=&quot;method-detail &quot;&gt;
380
+
381
+ &lt;div class=&quot;method-heading&quot;&gt;
382
+ &lt;span class=&quot;method-name&quot;&gt;insert_tail&lt;/span&gt;&lt;span
383
+ class=&quot;method-args&quot;&gt;(nodo)&lt;/span&gt;
384
+
385
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
386
+
387
+ &lt;/div&gt;
388
+
389
+ &lt;div class=&quot;method-description&quot;&gt;
390
+
391
+ &lt;div class=&quot;method-source-code&quot; id=&quot;insert_tail-source&quot;&gt;
392
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 42&lt;/span&gt;</pre>
393
+
394
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
395
+ class=“ruby-identifier”&gt;insert_tail&lt;/span&gt;(&lt;span
396
+ class=“ruby-identifier”&gt;nodo&lt;/span&gt;)</p>
397
+
398
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;
399
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;nodo&lt;/span&gt;
400
+ &lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;previo&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;
401
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt;</pre>
402
+
403
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
404
+
405
+ <pre> &lt;/div&gt;
406
+
407
+ &lt;/div&gt;
408
+
409
+ &lt;/div&gt;
410
+
411
+ &lt;div id=&quot;method-i-print&quot; class=&quot;method-detail &quot;&gt;
412
+
413
+ &lt;div class=&quot;method-heading&quot;&gt;
414
+ &lt;span class=&quot;method-name&quot;&gt;print&lt;/span&gt;&lt;span
415
+ class=&quot;method-args&quot;&gt;()&lt;/span&gt;
416
+
417
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
418
+
419
+ &lt;/div&gt;
420
+
421
+ &lt;div class=&quot;method-description&quot;&gt;
422
+
423
+ &lt;div class=&quot;method-source-code&quot; id=&quot;print-source&quot;&gt;
424
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 63&lt;/span&gt;</pre>
425
+
426
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
427
+ class=“ruby-identifier”&gt;print&lt;/span&gt;</p>
428
+
429
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;
430
+
431
+ &lt;span class=&quot;ruby-keyword&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;nil&lt;/span&gt;
432
+
433
+ &lt;span class=&quot;ruby-node&quot;&gt;&amp;quot;#{actual.value}&amp;quot;&lt;/span&gt;
434
+ &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt;
435
+
436
+ &lt;span class=&quot;ruby-keyword&quot;&gt;end&lt;/span&gt;</pre>
437
+
438
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
439
+
440
+ <pre> &lt;/div&gt;
441
+
442
+ &lt;/div&gt;
443
+
444
+ &lt;/div&gt;
445
+
446
+ &lt;div id=&quot;method-i-remove_head&quot; class=&quot;method-detail &quot;&gt;
447
+
448
+ &lt;div class=&quot;method-heading&quot;&gt;
449
+ &lt;span class=&quot;method-name&quot;&gt;remove_head&lt;/span&gt;&lt;span
450
+ class=&quot;method-args&quot;&gt;()&lt;/span&gt;
451
+
452
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
453
+
454
+ &lt;/div&gt;
455
+
456
+ &lt;div class=&quot;method-description&quot;&gt;
457
+
458
+ &lt;div class=&quot;method-source-code&quot; id=&quot;remove_head-source&quot;&gt;
459
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 51&lt;/span&gt;</pre>
460
+
461
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
462
+ class=“ruby-identifier”&gt;remove_head&lt;/span&gt;</p>
463
+
464
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;
465
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@head&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;previo&lt;/span&gt;
466
+ &lt;span class=&quot;ruby-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;aux&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;value&lt;/span&gt;
467
+ &lt;span class=&quot;ruby-comment&quot;&gt;#puts @head.value&lt;/span&gt;</pre>
468
+
469
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
470
+
471
+ <pre> &lt;/div&gt;
472
+
473
+ &lt;/div&gt;
474
+
475
+ &lt;/div&gt;
476
+
477
+ &lt;div id=&quot;method-i-remove_tail&quot; class=&quot;method-detail &quot;&gt;
478
+
479
+ &lt;div class=&quot;method-heading&quot;&gt;
480
+ &lt;span class=&quot;method-name&quot;&gt;remove_tail&lt;/span&gt;&lt;span
481
+ class=&quot;method-args&quot;&gt;()&lt;/span&gt;
482
+
483
+ &lt;span class=&quot;method-click-advice&quot;&gt;click to toggle source&lt;/span&gt;
484
+
485
+ &lt;/div&gt;
486
+
487
+ &lt;div class=&quot;method-description&quot;&gt;
488
+
489
+ &lt;div class=&quot;method-source-code&quot; id=&quot;remove_tail-source&quot;&gt;
490
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment&quot;&gt;# File linkedlist.rb, line 76&lt;/span&gt;</pre>
491
+
492
+ <p>&lt;span class=“ruby-keyword”&gt;def&lt;/span&gt; &lt;span
493
+ class=“ruby-identifier”&gt;remove_tail&lt;/span&gt;</p>
494
+
495
+ <pre>&lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;
496
+ &lt;span class=&quot;ruby-keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;ruby-keyword&quot;&gt;nil&lt;/span&gt;
497
+ &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt; = &lt;span class=&quot;ruby-ivar&quot;&gt;@tail&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;siguiente&lt;/span&gt;
498
+ &lt;span class=&quot;ruby-keyword&quot;&gt;end&lt;/span&gt;
499
+ &lt;span class=&quot;ruby-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;actual&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;value&lt;/span&gt;</pre>
500
+
501
+ <p>&lt;span class=“ruby-keyword”&gt;end&lt;/span&gt;&lt;/pre&gt;</p>
502
+
503
+ <pre> &lt;/div&gt;
504
+
505
+ &lt;/div&gt;
506
+
507
+ &lt;/div&gt;
508
+
509
+ &lt;/section&gt;
510
+
511
+ &lt;/section&gt;</pre>
512
+
513
+ <p>&lt;/main&gt;</p>
514
+
515
+ <p>&lt;footer id=“validator-badges” role=“contentinfo”&gt;</p>
516
+
517
+ <pre>&lt;p&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;Validate&lt;/a&gt;
518
+ &lt;p&gt;Generated by &lt;a href=&quot;http://rdoc.rubyforge.org&quot;&gt;RDoc&lt;/a&gt; 4.1.0.
519
+ &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>
520
+
521
+ <p>&lt;/footer&gt;</p>
522
+ </main>
523
+
524
+
525
+
526
+ <footer id="validator-badges" role="contentinfo">
527
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
528
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
529
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
530
+ </footer>
531
+