prct07 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +13 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +10 -0
- data/Guardfile +39 -0
- data/LICENSE.txt +22 -0
- data/README.md +44 -0
- data/Rakefile +6 -0
- data/doc/Gemfile.html +102 -0
- data/doc/Gemfile_lock.html +176 -0
- data/doc/Guardfile.html +137 -0
- data/doc/LICENSE_txt.html +116 -0
- data/doc/Prct07.html +151 -0
- data/doc/Prct07/Exam.html +193 -0
- data/doc/Prct07/Inter_user.html +319 -0
- data/doc/Prct07/Lista_doble.html +418 -0
- data/doc/Prct07/Preg.html +231 -0
- data/doc/Prct07/SimpleExpec.html +356 -0
- data/doc/Prct07/VerdFals.html +312 -0
- data/doc/README_md.html +163 -0
- data/doc/Rakefile.html +103 -0
- data/doc/created.rid +18 -0
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +116 -0
- data/doc/js/darkfish.js +140 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/prct07_gemspec.html +123 -0
- data/doc/rdoc.css +580 -0
- data/doc/table_of_contents.html +205 -0
- data/lib/prct07.rb +8 -0
- data/lib/prct07/exam.rb +80 -0
- data/lib/prct07/inter_user.rb +93 -0
- data/lib/prct07/lista_doble.rb +181 -0
- data/lib/prct07/preg.rb +17 -0
- data/lib/prct07/quiz.rb +80 -0
- data/lib/prct07/simple_expec.rb +40 -0
- data/lib/prct07/verd_fals.rb +27 -0
- data/lib/prct07/version.rb +3 -0
- data/prct07.gemspec +30 -0
- data/spec/prct07_spec.rb +400 -0
- data/spec/spec_helper.rb +20 -0
- metadata +221 -0
data/doc/Guardfile.html
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Guardfile - 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="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
+
|
76
|
+
<li><a href="./prct07_gemspec.html">prct07.gemspec</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page Guardfile">
|
85
|
+
|
86
|
+
<p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
|
87
|
+
href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
|
88
|
+
|
89
|
+
<p>guard :bundler do</p>
|
90
|
+
|
91
|
+
<pre>watch('Gemfile')
|
92
|
+
# Uncomment next line if your Gemfile contains the `gemspec' command.
|
93
|
+
# watch(/^.+\.gemspec/)</pre>
|
94
|
+
|
95
|
+
<p>end</p>
|
96
|
+
|
97
|
+
<p># Note: The cmd option is now required due to the increasing number of ways
|
98
|
+
# rspec may be run, below are examples of the most common uses. # *
|
99
|
+
bundler: 'bundle exec rspec' # * bundler binstubs:
|
100
|
+
'bin/rspec' # * spring: 'bin/rsspec' (This will use spring
|
101
|
+
if running and you have # installed the spring
|
102
|
+
binstubs per the docs) # * zeus: 'zeus rspec' (requires the server
|
103
|
+
to be started separetly) # * 'just' rspec: 'rspec' guard
|
104
|
+
:rspec, cmd: 'bundle exec rspec' do</p>
|
105
|
+
|
106
|
+
<pre class="ruby"><span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/.+_spec\.rb$}</span>)
|
107
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/lib/#{m[1]}_spec.rb"</span> }
|
108
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'spec/spec_helper.rb'</span>) { <span class="ruby-string">"spec"</span> }
|
109
|
+
|
110
|
+
<span class="ruby-comment"># Rails example</span>
|
111
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/#{m[1]}_spec.rb"</span> }
|
112
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/(.*)(\.erb|\.haml|\.slim)$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/#{m[1]}#{m[2]}_spec.rb"</span> }
|
113
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/controllers/(.+)_(controller)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> [<span class="ruby-node">"spec/routing/#{m[1]}_routing_spec.rb"</span>, <span class="ruby-node">"spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb"</span>, <span class="ruby-node">"spec/acceptance/#{m[1]}_spec.rb"</span>] }
|
114
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/support/(.+)\.rb$}</span>) { <span class="ruby-string">"spec"</span> }
|
115
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'config/routes.rb'</span>) { <span class="ruby-string">"spec/routing"</span> }
|
116
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'app/controllers/application_controller.rb'</span>) { <span class="ruby-string">"spec/controllers"</span> }
|
117
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'spec/rails_helper.rb'</span>) { <span class="ruby-string">"spec"</span> }
|
118
|
+
|
119
|
+
<span class="ruby-comment"># Capybara features specs</span>
|
120
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/views/(.+)/.*\.(erb|haml|slim)$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/features/#{m[1]}_spec.rb"</span> }
|
121
|
+
|
122
|
+
<span class="ruby-comment"># Turnip features and steps</span>
|
123
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
|
124
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/steps/(.+)_steps\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-node">"**/#{m[1]}.feature"</span>)][<span class="ruby-value">0</span>] <span class="ruby-operator">||</span> <span class="ruby-string">'spec/acceptance'</span> }
|
125
|
+
</pre>
|
126
|
+
|
127
|
+
<p>end</p>
|
128
|
+
</main>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<footer id="validator-badges" role="contentinfo">
|
133
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
134
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
|
135
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
136
|
+
</footer>
|
137
|
+
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>LICENSE - 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="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
+
|
76
|
+
<li><a href="./prct07_gemspec.html">prct07.gemspec</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page LICENSE.txt">
|
85
|
+
|
86
|
+
<p>Copyright © 2014 alu0100622492</p>
|
87
|
+
|
88
|
+
<p>MIT License</p>
|
89
|
+
|
90
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
91
|
+
copy of this software and associated documentation files (the “Software”),
|
92
|
+
to deal in the Software without restriction, including without limitation
|
93
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
94
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
95
|
+
Software is furnished to do so, subject to the following conditions:</p>
|
96
|
+
|
97
|
+
<p>The above copyright notice and this permission notice shall be included in
|
98
|
+
all copies or substantial portions of the Software.</p>
|
99
|
+
|
100
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
101
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
102
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
103
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
104
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
105
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
106
|
+
DEALINGS IN THE SOFTWARE.</p>
|
107
|
+
</main>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<footer id="validator-badges" role="contentinfo">
|
112
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
113
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
|
114
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
115
|
+
</footer>
|
116
|
+
|
data/doc/Prct07.html
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module Prct07 - 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="module">
|
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
|
+
<div class="nav-section">
|
58
|
+
<h3>Table of Contents</h3>
|
59
|
+
|
60
|
+
<ul class="link-list" role="directory">
|
61
|
+
<li><a href="#module-Prct07-label-class+Examn">class Examn</a>
|
62
|
+
<li><a href="#module-Prct07-label-Class+Inter_user">Class Inter_user</a>
|
63
|
+
<li><a href="#module-Prct07-label-Class+Lista_doble">Class Lista_doble</a>
|
64
|
+
<li><a href="#module-Prct07-label-Class+Preg">Class Preg</a>
|
65
|
+
<li><a href="#module-Prct07-label-Class+VerdFals">Class VerdFals</a>
|
66
|
+
</ul>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
|
70
|
+
<div id="class-metadata">
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
</div>
|
77
|
+
</nav>
|
78
|
+
|
79
|
+
<main role="main" aria-labelledby="module-Prct07">
|
80
|
+
<h1 id="module-Prct07" class="module">
|
81
|
+
module Prct07
|
82
|
+
</h1>
|
83
|
+
|
84
|
+
<section class="description">
|
85
|
+
|
86
|
+
<h3 id="module-Prct07-label-class+Examn">class Examn<span><a href="#module-Prct07-label-class+Examn">¶</a> <a href="#documentation">↑</a></span></h3>
|
87
|
+
|
88
|
+
<p>*def initialize</p>
|
89
|
+
|
90
|
+
<h3 id="module-Prct07-label-Class+Inter_user">Class <a href="Prct07/Inter_user.html">Inter_user</a><span><a href="#module-Prct07-label-Class+Inter_user">¶</a> <a href="#documentation">↑</a></span></h3>
|
91
|
+
|
92
|
+
<p>*def initialize,def mostrar, def puntacion</p>
|
93
|
+
|
94
|
+
<h3 id="module-Prct07-label-Class+Lista_doble">Class <a href="Prct07/Lista_doble.html">Lista_doble</a><span><a href="#module-Prct07-label-Class+Lista_doble">¶</a> <a href="#documentation">↑</a></span></h3>
|
95
|
+
|
96
|
+
<p>*def initialize, def each, def reverse_lista def pop_principio, def
|
97
|
+
push_principio</p>
|
98
|
+
|
99
|
+
<h3 id="module-Prct07-label-Class+Preg">Class <a href="Prct07/Preg.html">Preg</a><span><a href="#module-Prct07-label-Class+Preg">¶</a> <a href="#documentation">↑</a></span></h3>
|
100
|
+
|
101
|
+
<p>*def initialize, def <=></p>
|
102
|
+
|
103
|
+
<h3 id="module-Prct07-label-Class+VerdFals">Class <a href="Prct07/VerdFals.html">VerdFals</a><span><a href="#module-Prct07-label-Class+VerdFals">¶</a> <a href="#documentation">↑</a></span></h3>
|
104
|
+
<ul><li>
|
105
|
+
<p>def initialize, def <=, def >=, def to_s</p>
|
106
|
+
</li></ul>
|
107
|
+
|
108
|
+
</section>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<section class="constants-list">
|
120
|
+
<header>
|
121
|
+
<h3>Constants</h3>
|
122
|
+
</header>
|
123
|
+
<dl>
|
124
|
+
|
125
|
+
<dt id="Nodo">Nodo
|
126
|
+
|
127
|
+
<dd>
|
128
|
+
|
129
|
+
|
130
|
+
<dt id="VERSION">VERSION
|
131
|
+
|
132
|
+
<dd>
|
133
|
+
|
134
|
+
|
135
|
+
</dl>
|
136
|
+
</section>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
</section>
|
143
|
+
</main>
|
144
|
+
|
145
|
+
|
146
|
+
<footer id="validator-badges" role="contentinfo">
|
147
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
148
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
|
149
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
150
|
+
</footer>
|
151
|
+
|
@@ -0,0 +1,193 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Prct07::Exam - 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">Object
|
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
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-labelledby="class-Prct07::Exam">
|
85
|
+
<h1 id="class-Prct07::Exam" class="class">
|
86
|
+
class Prct07::Exam
|
87
|
+
</h1>
|
88
|
+
|
89
|
+
<section class="description">
|
90
|
+
|
91
|
+
</section>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<section class="attribute-method-details" class="method-section">
|
105
|
+
<header>
|
106
|
+
<h3>Attributes</h3>
|
107
|
+
</header>
|
108
|
+
|
109
|
+
|
110
|
+
<div id="attribute-i-lista_enlazada" class="method-detail">
|
111
|
+
<div class="method-heading attribute-method-heading">
|
112
|
+
<span class="method-name">lista_enlazada</span><span
|
113
|
+
class="attribute-access-type">[RW]</span>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div class="method-description">
|
117
|
+
|
118
|
+
<p>La clase examen tiene una lista hecha en el spec y las respuetas correctas
|
119
|
+
que guarda el user</p>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<div id="attribute-i-seleccion_presentados" class="method-detail">
|
125
|
+
<div class="method-heading attribute-method-heading">
|
126
|
+
<span class="method-name">seleccion_presentados</span><span
|
127
|
+
class="attribute-access-type">[RW]</span>
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<div class="method-description">
|
131
|
+
|
132
|
+
<p>La clase examen tiene una lista hecha en el spec y las respuetas correctas
|
133
|
+
que guarda el user</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
</section>
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
143
|
+
<header>
|
144
|
+
<h3>Public Class Methods</h3>
|
145
|
+
</header>
|
146
|
+
|
147
|
+
|
148
|
+
<div id="method-c-new" class="method-detail ">
|
149
|
+
|
150
|
+
<div class="method-heading">
|
151
|
+
<span class="method-name">new</span><span
|
152
|
+
class="method-args">(lista)</span>
|
153
|
+
|
154
|
+
<span class="method-click-advice">click to toggle source</span>
|
155
|
+
|
156
|
+
</div>
|
157
|
+
|
158
|
+
|
159
|
+
<div class="method-description">
|
160
|
+
|
161
|
+
<p>Nodo = Struct.new(:valor, :antes,:siguiente )</p>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<div class="method-source-code" id="new-source">
|
167
|
+
<pre><span class="ruby-comment"># File lib/prct07/exam.rb, line 11</span>
|
168
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">lista</span>)
|
169
|
+
<span class="ruby-ivar">@lista_enlazada</span>=<span class="ruby-identifier">lista</span>
|
170
|
+
<span class="ruby-ivar">@seleccion_presentados</span>=[]
|
171
|
+
<span class="ruby-keyword">end</span></pre>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
</div>
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</section>
|
183
|
+
|
184
|
+
</section>
|
185
|
+
</main>
|
186
|
+
|
187
|
+
|
188
|
+
<footer id="validator-badges" role="contentinfo">
|
189
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
190
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
|
191
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
192
|
+
</footer>
|
193
|
+
|