question-simpleChoice 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 (65) hide show
  1. checksums.yaml +7 -0
  2. data/#question-simpleChoice.gemspec# +27 -0
  3. data/.coveralls.yml +1 -0
  4. data/.gitignore +15 -0
  5. data/.rspec +2 -0
  6. data/.travis.yml +3 -0
  7. data/.yardoc/checksums +13 -0
  8. data/.yardoc/object_types +0 -0
  9. data/.yardoc/objects/root.dat +0 -0
  10. data/.yardoc/proxy_types +0 -0
  11. data/Gemfile +7 -0
  12. data/Guardfile +7 -0
  13. data/LICENSE.txt +22 -0
  14. data/README.md +32 -0
  15. data/Rakefile +15 -0
  16. data/doc/Examen.html +766 -0
  17. data/doc/Interfaz.html +440 -0
  18. data/doc/Lista.html +929 -0
  19. data/doc/Lista/Node.html +397 -0
  20. data/doc/Node.html +516 -0
  21. data/doc/Question.html +117 -0
  22. data/doc/Question/SimpleChoice.html +132 -0
  23. data/doc/Question/TrueOrFalse.html +134 -0
  24. data/doc/QuestionFather.html +565 -0
  25. data/doc/SimpleChoice.html +505 -0
  26. data/doc/TrueOrFalse.html +279 -0
  27. data/doc/_index.html +207 -0
  28. data/doc/class_list.html +58 -0
  29. data/doc/css/common.css +1 -0
  30. data/doc/css/full_list.css +57 -0
  31. data/doc/css/style.css +339 -0
  32. data/doc/file.README.html +110 -0
  33. data/doc/file_list.html +60 -0
  34. data/doc/frames.html +26 -0
  35. data/doc/index.html +110 -0
  36. data/doc/js/app.js +219 -0
  37. data/doc/js/full_list.js +181 -0
  38. data/doc/js/jquery.js +4 -0
  39. data/doc/method_list.html +309 -0
  40. data/doc/top-level-namespace.html +114 -0
  41. data/lib/exam/examen.rb +85 -0
  42. data/lib/interfaz/interfaz.rb +49 -0
  43. data/lib/interfaz/interfazV2.rb +38 -0
  44. data/lib/node/node.rb +9 -0
  45. data/lib/nodelist/list.rb +119 -0
  46. data/lib/question/questionFather.rb +2 -0
  47. data/lib/question/questionFather/base.rb +16 -0
  48. data/lib/question/questionFather/version.rb +5 -0
  49. data/lib/question/simpleChoice.rb +2 -0
  50. data/lib/question/simpleChoice/base.rb +17 -0
  51. data/lib/question/simpleChoice/version.rb +5 -0
  52. data/lib/question/trueOrFalse.rb +2 -0
  53. data/lib/question/trueOrFalse/base.rb +10 -0
  54. data/lib/question/trueOrFalse/version.rb +5 -0
  55. data/lib/quiz/quiz.rb +58 -0
  56. data/prueba.html +1 -0
  57. data/prueba.rb +48 -0
  58. data/question-simpleChoice.gemspec +27 -0
  59. data/spec/list_spec.rb +51 -0
  60. data/spec/quiz_spec.rb +31 -0
  61. data/spec/simpleChoice_spec.rb +106 -0
  62. data/spec/spec_examen.rb +21 -0
  63. data/spec/spec_helper.rb +93 -0
  64. data/test.html +310 -0
  65. metadata +183 -0
@@ -0,0 +1,279 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: TrueOrFalse
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!TrueOrFalse.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (T)</a> &raquo;
35
+
36
+
37
+ <span class="title">TrueOrFalse</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: TrueOrFalse
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="QuestionFather.html" title="QuestionFather (class)">QuestionFather</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="QuestionFather.html" title="QuestionFather (class)">QuestionFather</a></span></li>
82
+
83
+ <li class="next">TrueOrFalse</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/question/trueOrFalse/base.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>Instance Attribute Summary</h2>
111
+
112
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="QuestionFather.html" title="QuestionFather (class)">QuestionFather</a></span></h3>
113
+ <p class="inherited"><span class='object_link'><a href="QuestionFather.html#dif-instance_method" title="QuestionFather#dif (method)">#dif</a></span>, <span class='object_link'><a href="QuestionFather.html#distractor-instance_method" title="QuestionFather#distractor (method)">#distractor</a></span>, <span class='object_link'><a href="QuestionFather.html#right-instance_method" title="QuestionFather#right (method)">#right</a></span>, <span class='object_link'><a href="QuestionFather.html#text-instance_method" title="QuestionFather#text (method)">#text</a></span></p>
114
+
115
+
116
+
117
+ <h2>
118
+ Instance Method Summary
119
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
120
+ </h2>
121
+
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (TrueOrFalse) <strong>initialize</strong>(args) </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+ <span class="note title constructor">constructor</span>
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+ <span class="summary_desc"><div class='inline'>
144
+ <p>A new instance of TrueOrFalse.</p>
145
+ </div></span>
146
+
147
+ </li>
148
+
149
+
150
+ <li class="public ">
151
+ <span class="summary_signature">
152
+
153
+ <a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
154
+
155
+
156
+
157
+ </span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <span class="summary_desc"><div class='inline'></div></span>
168
+
169
+ </li>
170
+
171
+
172
+ </ul>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="QuestionFather.html" title="QuestionFather (class)">QuestionFather</a></span></h3>
185
+ <p class="inherited"><span class='object_link'><a href="QuestionFather.html#%3C%3D%3E-instance_method" title="QuestionFather#&lt;=&gt; (method)">#<=></a></span></p>
186
+
187
+ <div id="constructor_details" class="method_details_list">
188
+ <h2>Constructor Details</h2>
189
+
190
+ <div class="method_details first">
191
+ <h3 class="signature first" id="initialize-instance_method">
192
+
193
+ - (<tt><span class='object_link'><a href="" title="TrueOrFalse (class)">TrueOrFalse</a></span></tt>) <strong>initialize</strong>(args)
194
+
195
+
196
+
197
+
198
+
199
+ </h3><div class="docstring">
200
+ <div class="discussion">
201
+
202
+ <p>Returns a new instance of TrueOrFalse</p>
203
+
204
+
205
+ </div>
206
+ </div>
207
+ <div class="tags">
208
+
209
+
210
+ </div><table class="source_code">
211
+ <tr>
212
+ <td>
213
+ <pre class="lines">
214
+
215
+
216
+ 4
217
+ 5
218
+ 6</pre>
219
+ </td>
220
+ <td>
221
+ <pre class="code"><span class="info file"># File 'lib/question/trueOrFalse/base.rb', line 4</span>
222
+
223
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
224
+ <span class='kw'>super</span>
225
+ <span class='kw'>end</span></pre>
226
+ </td>
227
+ </tr>
228
+ </table>
229
+ </div>
230
+
231
+ </div>
232
+
233
+
234
+ <div id="instance_method_details" class="method_details_list">
235
+ <h2>Instance Method Details</h2>
236
+
237
+
238
+ <div class="method_details first">
239
+ <h3 class="signature first" id="to_s-instance_method">
240
+
241
+ - (<tt>Object</tt>) <strong>to_s</strong>
242
+
243
+
244
+
245
+
246
+
247
+ </h3><table class="source_code">
248
+ <tr>
249
+ <td>
250
+ <pre class="lines">
251
+
252
+
253
+ 7
254
+ 8
255
+ 9</pre>
256
+ </td>
257
+ <td>
258
+ <pre class="code"><span class="info file"># File 'lib/question/trueOrFalse/base.rb', line 7</span>
259
+
260
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
261
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Responde \&quot;true\&quot; or \&quot;false\&quot; la siguiente pregunta </span><span class='embexpr_beg'>#{</span><span class='ivar'>@text</span><span class='embexpr_end'>}</span><span class='tstring_content'> \n-True \n-False \n</span><span class='tstring_end'>&quot;</span></span>
262
+ <span class='kw'>end</span></pre>
263
+ </td>
264
+ </tr>
265
+ </table>
266
+ </div>
267
+
268
+ </div>
269
+
270
+ </div>
271
+
272
+ <div id="footer">
273
+ Generated on Thu Nov 27 14:39:06 2014 by
274
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
275
+ 0.8.7.6 (ruby-2.0.0).
276
+ </div>
277
+
278
+ </body>
279
+ </html>
@@ -0,0 +1,207 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Documentation by YARD 0.8.7.6
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
+
15
+ <script type="text/javascript" charset="utf-8">
16
+ hasFrames = window.top.frames.main ? true : false;
17
+ relpath = '';
18
+ framesUrl = "frames.html#!_index.html";
19
+ </script>
20
+
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <div id="header">
30
+ <div id="menu">
31
+
32
+
33
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
34
+ </div>
35
+
36
+ <div id="search">
37
+
38
+ <a class="full_list_link" id="class_list_link"
39
+ href="class_list.html">
40
+ Class List
41
+ </a>
42
+
43
+ <a class="full_list_link" id="method_list_link"
44
+ href="method_list.html">
45
+ Method List
46
+ </a>
47
+
48
+ <a class="full_list_link" id="file_list_link"
49
+ href="file_list.html">
50
+ File List
51
+ </a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
60
+ <div id="listing">
61
+ <h1 class="alphaindex">Alphabetic Index</h1>
62
+
63
+ <h2>File Listing</h2>
64
+ <ul id="files" class="index_inline_list">
65
+
66
+
67
+ <li class="r1"><a href="index.html" title="README">README</a></li>
68
+
69
+
70
+ </ul>
71
+
72
+ <div class="clear"></div>
73
+ <h2>Namespace Listing A-Z</h2>
74
+
75
+
76
+
77
+
78
+ <table>
79
+ <tr>
80
+ <td valign='top' width="33%">
81
+
82
+
83
+ <ul id="alpha_E" class="alpha">
84
+ <li class="letter">E</li>
85
+ <ul>
86
+
87
+ <li>
88
+ <span class='object_link'><a href="Examen.html" title="Examen (class)">Examen</a></span>
89
+
90
+ </li>
91
+
92
+ </ul>
93
+ </ul>
94
+
95
+
96
+ <ul id="alpha_I" class="alpha">
97
+ <li class="letter">I</li>
98
+ <ul>
99
+
100
+ <li>
101
+ <span class='object_link'><a href="Interfaz.html" title="Interfaz (class)">Interfaz</a></span>
102
+
103
+ </li>
104
+
105
+ </ul>
106
+ </ul>
107
+
108
+
109
+ <ul id="alpha_L" class="alpha">
110
+ <li class="letter">L</li>
111
+ <ul>
112
+
113
+ <li>
114
+ <span class='object_link'><a href="Lista.html" title="Lista (class)">Lista</a></span>
115
+
116
+ </li>
117
+
118
+ </ul>
119
+ </ul>
120
+
121
+
122
+ <ul id="alpha_N" class="alpha">
123
+ <li class="letter">N</li>
124
+ <ul>
125
+
126
+ <li>
127
+ <span class='object_link'><a href="Node.html" title="Node (class)">Node</a></span>
128
+
129
+ </li>
130
+
131
+ </ul>
132
+ </ul>
133
+
134
+
135
+ <ul id="alpha_Q" class="alpha">
136
+ <li class="letter">Q</li>
137
+ <ul>
138
+
139
+ <li>
140
+ <span class='object_link'><a href="Question.html" title="Question (module)">Question</a></span>
141
+
142
+ </li>
143
+
144
+ <li>
145
+ <span class='object_link'><a href="QuestionFather.html" title="QuestionFather (class)">QuestionFather</a></span>
146
+
147
+ </li>
148
+
149
+ </ul>
150
+ </ul>
151
+
152
+
153
+ <ul id="alpha_S" class="alpha">
154
+ <li class="letter">S</li>
155
+ <ul>
156
+
157
+ <li>
158
+ <span class='object_link'><a href="SimpleChoice.html" title="SimpleChoice (class)">SimpleChoice</a></span>
159
+
160
+ </li>
161
+
162
+ <li>
163
+ <span class='object_link'><a href="Question/SimpleChoice.html" title="Question::SimpleChoice (class)">SimpleChoice</a></span>
164
+
165
+ <small>(Question)</small>
166
+
167
+ </li>
168
+
169
+ </ul>
170
+ </ul>
171
+
172
+
173
+ <ul id="alpha_T" class="alpha">
174
+ <li class="letter">T</li>
175
+ <ul>
176
+
177
+ <li>
178
+ <span class='object_link'><a href="Question/TrueOrFalse.html" title="Question::TrueOrFalse (class)">TrueOrFalse</a></span>
179
+
180
+ <small>(Question)</small>
181
+
182
+ </li>
183
+
184
+ <li>
185
+ <span class='object_link'><a href="TrueOrFalse.html" title="TrueOrFalse (class)">TrueOrFalse</a></span>
186
+
187
+ </li>
188
+
189
+ </ul>
190
+ </ul>
191
+
192
+ </td>
193
+ </tr>
194
+ </table>
195
+
196
+ </div>
197
+
198
+ </div>
199
+
200
+ <div id="footer">
201
+ Generated on Thu Nov 27 14:39:06 2014 by
202
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
203
+ 0.8.7.6 (ruby-2.0.0).
204
+ </div>
205
+
206
+ </body>
207
+ </html>