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,241 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>index.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/index.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;RDoc Documentation&lt;/title&gt;</p>
125
+
126
+ <p>&lt;link href=“./fonts.css” rel=“stylesheet”&gt; &lt;link href=“./rdoc.css”
127
+ rel=“stylesheet”&gt;</p>
128
+
129
+ <p>&lt;script type=“text/javascript”&gt;</p>
130
+
131
+ <pre>var rdoc_rel_prefix = &quot;./&quot;;</pre>
132
+
133
+ <p>&lt;/script&gt;</p>
134
+
135
+ <p>&lt;script src=“./js/jquery.js”&gt;&lt;/script&gt; &lt;script
136
+ src=“./js/navigation.js”&gt;&lt;/script&gt; &lt;script
137
+ src=“./js/search_index.js”&gt;&lt;/script&gt; &lt;script
138
+ src=“./js/search.js”&gt;&lt;/script&gt; &lt;script
139
+ src=“./js/searcher.js”&gt;&lt;/script&gt; &lt;script
140
+ src=“./js/darkfish.js”&gt;&lt;/script&gt;</p>
141
+
142
+ <p>&lt;body id=“top” role=“document” class=“file”&gt; &lt;nav
143
+ role=“navigation”&gt;</p>
144
+
145
+ <pre>&lt;div id=&quot;project-navigation&quot;&gt;
146
+ &lt;div id=&quot;home-section&quot; role=&quot;region&quot; title=&quot;Quick navigation&quot; class=&quot;nav-section&quot;&gt;
147
+ &lt;h2&gt;
148
+ &lt;a href=&quot;./index.html&quot; rel=&quot;home&quot;&gt;Home&lt;/a&gt;
149
+ &lt;/h2&gt;
150
+
151
+ &lt;div id=&quot;table-of-contents-navigation&quot;&gt;
152
+ &lt;a href=&quot;./table_of_contents.html#pages&quot;&gt;Pages&lt;/a&gt;
153
+ &lt;a href=&quot;./table_of_contents.html#classes&quot;&gt;Classes&lt;/a&gt;
154
+ &lt;a href=&quot;./table_of_contents.html#methods&quot;&gt;Methods&lt;/a&gt;
155
+ &lt;/div&gt;</pre>
156
+
157
+ <p>&lt;/div&gt;</p>
158
+
159
+ <pre> &lt;div id=&quot;search-section&quot; role=&quot;search&quot; class=&quot;project-section initially-hidden&quot;&gt;
160
+ &lt;form action=&quot;#&quot; method=&quot;get&quot; accept-charset=&quot;utf-8&quot;&gt;
161
+ &lt;div id=&quot;search-field-wrapper&quot;&gt;
162
+ &lt;input id=&quot;search-field&quot; role=&quot;combobox&quot; aria-label=&quot;Search&quot;
163
+ aria-autocomplete=&quot;list&quot; aria-controls=&quot;search-results&quot;
164
+ type=&quot;text&quot; name=&quot;search&quot; placeholder=&quot;Search&quot; spellcheck=&quot;false&quot;
165
+ title=&quot;Type to search, Up and Down to navigate, Enter to load&quot;&gt;
166
+ &lt;/div&gt;
167
+
168
+ &lt;ul id=&quot;search-results&quot; aria-label=&quot;Search Results&quot;
169
+ aria-busy=&quot;false&quot; aria-expanded=&quot;false&quot;
170
+ aria-atomic=&quot;false&quot; class=&quot;initially-hidden&quot;&gt;&lt;/ul&gt;
171
+ &lt;/form&gt;</pre>
172
+
173
+ <p>&lt;/div&gt;</p>
174
+
175
+ <pre>&lt;/div&gt;
176
+
177
+ &lt;div id=&quot;project-metadata&quot;&gt;
178
+ &lt;div id=&quot;fileindex-section&quot; class=&quot;nav-section&quot;&gt;
179
+ &lt;h3&gt;Pages&lt;/h3&gt;
180
+
181
+ &lt;ul class=&quot;link-list&quot;&gt;
182
+
183
+ &lt;li&gt;&lt;a href=&quot;./SeleccionSimple_rb~.html&quot;&gt;SeleccionSimple.rb~&lt;/a&gt;
184
+
185
+ &lt;li&gt;&lt;a href=&quot;./examen_rb~.html&quot;&gt;examen.rb~&lt;/a&gt;
186
+
187
+ &lt;li&gt;&lt;a href=&quot;./linkedlist_rb~.html&quot;&gt;linkedlist.rb~&lt;/a&gt;
188
+
189
+ &lt;/ul&gt;</pre>
190
+
191
+ <p>&lt;/div&gt;</p>
192
+
193
+ <pre> &lt;div id=&quot;classindex-section&quot; class=&quot;nav-section&quot;&gt;
194
+ &lt;h3&gt;Class and Module Index&lt;/h3&gt;
195
+
196
+ &lt;ul class=&quot;link-list&quot;&gt;
197
+
198
+ &lt;li&gt;&lt;a href=&quot;./Exam1.html&quot;&gt;Exam1&lt;/a&gt;
199
+
200
+ &lt;li&gt;&lt;a href=&quot;./Examen.html&quot;&gt;Examen&lt;/a&gt;
201
+
202
+ &lt;li&gt;&lt;a href=&quot;./Interfaz.html&quot;&gt;Interfaz&lt;/a&gt;
203
+
204
+ &lt;li&gt;&lt;a href=&quot;./List.html&quot;&gt;List&lt;/a&gt;
205
+
206
+ &lt;li&gt;&lt;a href=&quot;./Nodo.html&quot;&gt;Nodo&lt;/a&gt;
207
+
208
+ &lt;li&gt;&lt;a href=&quot;./Object.html&quot;&gt;Object&lt;/a&gt;
209
+
210
+ &lt;li&gt;&lt;a href=&quot;./SeleccionSimple.html&quot;&gt;SeleccionSimple&lt;/a&gt;
211
+
212
+ &lt;li&gt;&lt;a href=&quot;./Verdadero_Falso.html&quot;&gt;Verdadero_Falso&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”&gt; &lt;p&gt;This is the API documentation for RDoc
223
+ Documentation. &lt;/main&gt;</p>
224
+
225
+ <p>&lt;footer id=“validator-badges” role=“contentinfo”&gt;</p>
226
+
227
+ <pre>&lt;p&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;Validate&lt;/a&gt;
228
+ &lt;p&gt;Generated by &lt;a href=&quot;http://rdoc.rubyforge.org&quot;&gt;RDoc&lt;/a&gt; 4.1.0.
229
+ &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>
230
+
231
+ <p>&lt;/footer&gt;</p>
232
+ </main>
233
+
234
+
235
+
236
+ <footer id="validator-badges" role="contentinfo">
237
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
238
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
239
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
240
+ </footer>
241
+
@@ -0,0 +1,286 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>darkfish.js - 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/js/darkfish.js">
119
+
120
+ <pre>Darkfish Page Functions
121
+ $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
122
+
123
+ Author: Michael Granger &lt;mgranger@laika.com&gt;
124
+
125
+ Provide console simulation for firebug-less environments</pre>
126
+
127
+ <p>if (!(“console” in window) || !(“firebug” in console)) {</p>
128
+
129
+ <pre>var names = [&quot;log&quot;, &quot;debug&quot;, &quot;info&quot;, &quot;warn&quot;, &quot;error&quot;, &quot;assert&quot;, &quot;dir&quot;, &quot;dirxml&quot;,
130
+ &quot;group&quot;, &quot;groupEnd&quot;, &quot;time&quot;, &quot;timeEnd&quot;, &quot;count&quot;, &quot;trace&quot;, &quot;profile&quot;, &quot;profileEnd&quot;];
131
+
132
+ window.console = {};
133
+ for (var i = 0; i &lt; names.length; ++i)
134
+ window.console[names[i]] = function() {};</pre>
135
+
136
+ <p>};</p>
137
+
138
+ <p>/**</p>
139
+
140
+ <pre> Unwrap the first element that matches the given @expr@ from the targets and return them.
141
+ /</pre>
142
+
143
+ <p>$.fn.unwrap = function( expr ) {</p>
144
+
145
+ <pre>return this.each( function() {
146
+ $(this).parents( expr ).eq( 0 ).after( this ).remove();
147
+ });</pre>
148
+
149
+ <p>};</p>
150
+
151
+ <p>function showSource( e ) {</p>
152
+
153
+ <pre>var target = e.target;
154
+ var codeSections = $(target).
155
+ parents(&#39;.method-detail&#39;).
156
+ find(&#39;.method-source-code&#39;);
157
+
158
+ $(target).
159
+ parents(&#39;.method-detail&#39;).
160
+ find(&#39;.method-source-code&#39;).
161
+ slideToggle();</pre>
162
+
163
+ <p>};</p>
164
+
165
+ <p>function hookSourceViews() {</p>
166
+
167
+ <pre>$(&#39;.method-heading&#39;).click( showSource );</pre>
168
+
169
+ <p>};</p>
170
+
171
+ <p>function toggleDebuggingSection() {</p>
172
+
173
+ <pre>$(&#39;.debugging-section&#39;).slideToggle();</pre>
174
+
175
+ <p>};</p>
176
+
177
+ <p>function hookDebuggingToggle() {</p>
178
+
179
+ <pre>$(&#39;#debugging-toggle img&#39;).click( toggleDebuggingSection );</pre>
180
+
181
+ <p>};</p>
182
+
183
+ <p>function hookSearch() {</p>
184
+
185
+ <pre>var input = $(&#39;#search-field&#39;).eq(0);
186
+ var result = $(&#39;#search-results&#39;).eq(0);
187
+ $(result).show();
188
+
189
+ var search_section = $(&#39;#search-section&#39;).get(0);
190
+ $(search_section).show();
191
+
192
+ var search = new Search(search_data, input, result);
193
+
194
+ search.renderItem = function(result) {
195
+ var li = document.createElement(&#39;li&#39;);
196
+ var html = &#39;&#39;;
197
+
198
+ // TODO add relative path to &lt;script&gt; per-page
199
+ html += &#39;&lt;p class=&quot;search-match&quot;&gt;&lt;a href=&quot;&#39; + rdoc_rel_prefix + result.path + &#39;&quot;&gt;&#39; + this.hlt(result.title);
200
+ if (result.params)
201
+ html += &#39;&lt;span class=&quot;params&quot;&gt;&#39; + result.params + &#39;&lt;/span&gt;&#39;;
202
+ html += &#39;&lt;/a&gt;&#39;;
203
+
204
+ if (result.namespace)
205
+ html += &#39;&lt;p class=&quot;search-namespace&quot;&gt;&#39; + this.hlt(result.namespace);
206
+
207
+ if (result.snippet)
208
+ html += &#39;&lt;div class=&quot;search-snippet&quot;&gt;&#39; + result.snippet + &#39;&lt;/div&gt;&#39;;
209
+
210
+ li.innerHTML = html;
211
+
212
+ return li;
213
+ }
214
+
215
+ search.select = function(result) {
216
+ var result_element = result.get(0);
217
+ window.location.href = result_element.firstChild.firstChild.href;
218
+ }
219
+
220
+ search.scrollIntoView = search.scrollInWindow;</pre>
221
+
222
+ <p>};</p>
223
+
224
+ <p>function highlightTarget( anchor ) {</p>
225
+
226
+ <pre>console.debug( &quot;Highlighting target &#39;%s&#39;.&quot;, anchor );
227
+
228
+ $(&quot;a[name]&quot;).each( function() {
229
+ if ( $(this).attr(&quot;name&quot;) == anchor ) {
230
+ if ( !$(this).parent().parent().hasClass(&#39;target-section&#39;) ) {
231
+ console.debug( &quot;Wrapping the target-section&quot; );
232
+ $(&#39;div.method-detail&#39;).unwrap( &#39;div.target-section&#39; );
233
+ $(this).parent().wrap( &#39;&lt;div class=&quot;target-section&quot;&gt;&lt;/div&gt;&#39; );
234
+ } else {
235
+ console.debug( &quot;Already wrapped.&quot; );
236
+ }
237
+ }
238
+ });</pre>
239
+
240
+ <p>};</p>
241
+
242
+ <p>function highlightLocationTarget() {</p>
243
+
244
+ <pre>console.debug( &quot;Location hash: %s&quot;, window.location.hash );
245
+ if ( ! window.location.hash || window.location.hash.length == 0 ) return;
246
+
247
+ var anchor = window.location.hash.substring(1);
248
+ console.debug( &quot;Found anchor: %s; matching %s&quot;, anchor, &quot;a[name=&quot; + anchor + &quot;]&quot; );
249
+
250
+ highlightTarget( anchor );</pre>
251
+
252
+ <p>};</p>
253
+
254
+ <p>function highlightClickTarget( event ) {</p>
255
+
256
+ <pre>console.debug( &quot;Highlighting click target for event %o&quot;, event.target );
257
+ try {
258
+ var anchor = $(event.target).attr( &#39;href&#39; ).substring(1);
259
+ console.debug( &quot;Found target anchor: %s&quot;, anchor );
260
+ highlightTarget( anchor );
261
+ } catch ( err ) {
262
+ console.error( &quot;Exception while highlighting: %o&quot;, err );
263
+ };</pre>
264
+
265
+ <p>};</p>
266
+
267
+ <p>$(document).ready( function() {</p>
268
+
269
+ <pre>hookSourceViews();
270
+ hookDebuggingToggle();
271
+ hookSearch();
272
+ highlightLocationTarget();
273
+
274
+ $(&#39;ul.link-list a&#39;).bind( &quot;click&quot;, highlightClickTarget );</pre>
275
+
276
+ <p>});</p>
277
+ </main>
278
+
279
+
280
+
281
+ <footer id="validator-badges" role="contentinfo">
282
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
283
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
284
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
285
+ </footer>
286
+