alu0100905885 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.travis.yml +12 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/doc/Alimentos.html +513 -0
- data/doc/CODE_OF_CONDUCT_md.html +192 -0
- data/doc/Gemfile.html +98 -0
- data/doc/LICENSE_txt.html +114 -0
- data/doc/Listas.html +512 -0
- data/doc/Object.html +126 -0
- data/doc/Plato_.html +409 -0
- data/doc/Platos.html +389 -0
- data/doc/Prct6.html +108 -0
- data/doc/Prct6/Error.html +101 -0
- data/doc/README_md.html +169 -0
- data/doc/Rakefile.html +98 -0
- data/doc/bin/setup.html +98 -0
- data/doc/created.rid +16 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -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 +114 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +5 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/prct6_gemspec.html +129 -0
- data/doc/table_of_contents.html +238 -0
- data/lib/prct6.rb +11 -0
- data/lib/prct6/listas.rb +68 -0
- data/lib/prct6/menu_dsl.rb +33 -0
- data/lib/prct6/plato_dsl.rb +29 -0
- data/lib/prct6/platos.rb +154 -0
- data/lib/prct6/prct6.rb +62 -0
- data/lib/prct6/version.rb +3 -0
- data/pkg/alu0100905885-0.1.0.gem +0 -0
- data/pkg/prct6-0.1.0.gem +0 -0
- data/prct6.gemspec +34 -0
- metadata +208 -0
@@ -0,0 +1,192 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>CODE_OF_CONDUCT - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
<div class="nav-section">
|
56
|
+
<h3>Table of Contents</h3>
|
57
|
+
|
58
|
+
<ul class="link-list" role="directory">
|
59
|
+
<li><a href="#label-Contributor+Covenant+Code+of+Conduct">Contributor Covenant Code of Conduct</a>
|
60
|
+
<li><a href="#label-Our+Pledge">Our Pledge</a>
|
61
|
+
<li><a href="#label-Our+Standards">Our Standards</a>
|
62
|
+
<li><a href="#label-Our+Responsibilities">Our Responsibilities</a>
|
63
|
+
<li><a href="#label-Scope">Scope</a>
|
64
|
+
<li><a href="#label-Enforcement">Enforcement</a>
|
65
|
+
<li><a href="#label-Attribution">Attribution</a>
|
66
|
+
</ul>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
|
70
|
+
<div id="project-metadata">
|
71
|
+
<div id="fileindex-section" class="nav-section">
|
72
|
+
<h3>Pages</h3>
|
73
|
+
|
74
|
+
<ul class="link-list">
|
75
|
+
|
76
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
77
|
+
|
78
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
81
|
+
|
82
|
+
<li><a href="./README_md.html">README</a>
|
83
|
+
|
84
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
85
|
+
|
86
|
+
<li><a href="./bin/setup.html">setup</a>
|
87
|
+
|
88
|
+
<li><a href="./prct6_gemspec.html">prct6.gemspec</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
<main role="main" aria-label="Page CODE_OF_CONDUCT.md">
|
97
|
+
|
98
|
+
<h1 id="label-Contributor+Covenant+Code+of+Conduct">Contributor Covenant Code of Conduct<span><a href="#label-Contributor+Covenant+Code+of+Conduct">¶</a> <a href="#top">↑</a></span></h1>
|
99
|
+
|
100
|
+
<h2 id="label-Our+Pledge">Our Pledge<span><a href="#label-Our+Pledge">¶</a> <a href="#top">↑</a></span></h2>
|
101
|
+
|
102
|
+
<p>In the interest of fostering an open and welcoming environment, we as
|
103
|
+
contributors and maintainers pledge to making participation in our project
|
104
|
+
and our community a harassment-free experience for everyone, regardless of
|
105
|
+
age, body size, disability, ethnicity, gender identity and expression,
|
106
|
+
level of experience, nationality, personal appearance, race, religion, or
|
107
|
+
sexual identity and orientation.</p>
|
108
|
+
|
109
|
+
<h2 id="label-Our+Standards">Our Standards<span><a href="#label-Our+Standards">¶</a> <a href="#top">↑</a></span></h2>
|
110
|
+
|
111
|
+
<p>Examples of behavior that contributes to creating a positive environment
|
112
|
+
include:</p>
|
113
|
+
<ul><li>
|
114
|
+
<p>Using welcoming and inclusive language</p>
|
115
|
+
</li><li>
|
116
|
+
<p>Being respectful of differing viewpoints and experiences</p>
|
117
|
+
</li><li>
|
118
|
+
<p>Gracefully accepting constructive criticism</p>
|
119
|
+
</li><li>
|
120
|
+
<p>Focusing on what is best for the community</p>
|
121
|
+
</li><li>
|
122
|
+
<p>Showing empathy towards other community members</p>
|
123
|
+
</li></ul>
|
124
|
+
|
125
|
+
<p>Examples of unacceptable behavior by participants include:</p>
|
126
|
+
<ul><li>
|
127
|
+
<p>The use of sexualized language or imagery and unwelcome sexual attention or
|
128
|
+
advances</p>
|
129
|
+
</li><li>
|
130
|
+
<p>Trolling, insulting/derogatory comments, and personal or political attacks</p>
|
131
|
+
</li><li>
|
132
|
+
<p>Public or private harassment</p>
|
133
|
+
</li><li>
|
134
|
+
<p>Publishing others' private information, such as a physical or
|
135
|
+
electronic address, without explicit permission</p>
|
136
|
+
</li><li>
|
137
|
+
<p>Other conduct which could reasonably be considered inappropriate in a
|
138
|
+
professional setting</p>
|
139
|
+
</li></ul>
|
140
|
+
|
141
|
+
<h2 id="label-Our+Responsibilities">Our Responsibilities<span><a href="#label-Our+Responsibilities">¶</a> <a href="#top">↑</a></span></h2>
|
142
|
+
|
143
|
+
<p>Project maintainers are responsible for clarifying the standards of
|
144
|
+
acceptable behavior and are expected to take appropriate and fair
|
145
|
+
corrective action in response to any instances of unacceptable behavior.</p>
|
146
|
+
|
147
|
+
<p>Project maintainers have the right and responsibility to remove, edit, or
|
148
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
149
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
150
|
+
permanently any contributor for other behaviors that they deem
|
151
|
+
inappropriate, threatening, offensive, or harmful.</p>
|
152
|
+
|
153
|
+
<h2 id="label-Scope">Scope<span><a href="#label-Scope">¶</a> <a href="#top">↑</a></span></h2>
|
154
|
+
|
155
|
+
<p>This Code of Conduct applies both within project spaces and in public
|
156
|
+
spaces when an individual is representing the project or its community.
|
157
|
+
Examples of representing a project or community include using an official
|
158
|
+
project e-mail address, posting via an official social media account, or
|
159
|
+
acting as an appointed representative at an online or offline event.
|
160
|
+
Representation of a project may be further defined and clarified by project
|
161
|
+
maintainers.</p>
|
162
|
+
|
163
|
+
<h2 id="label-Enforcement">Enforcement<span><a href="#label-Enforcement">¶</a> <a href="#top">↑</a></span></h2>
|
164
|
+
|
165
|
+
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
166
|
+
reported by contacting the project team at alu0100905885@ull.edu.es. All
|
167
|
+
complaints will be reviewed and investigated and will result in a response
|
168
|
+
that is deemed necessary and appropriate to the circumstances. The project
|
169
|
+
team is obligated to maintain confidentiality with regard to the reporter
|
170
|
+
of an incident. Further details of specific enforcement policies may be
|
171
|
+
posted separately.</p>
|
172
|
+
|
173
|
+
<p>Project maintainers who do not follow or enforce the Code of Conduct in
|
174
|
+
good faith may face temporary or permanent repercussions as determined by
|
175
|
+
other members of the project's leadership.</p>
|
176
|
+
|
177
|
+
<h2 id="label-Attribution">Attribution<span><a href="#label-Attribution">¶</a> <a href="#top">↑</a></span></h2>
|
178
|
+
|
179
|
+
<p>This Code of Conduct is adapted from the <a
|
180
|
+
href="http://contributor-covenant.org">Contributor Covenant</a>, version
|
181
|
+
1.4, available at <a
|
182
|
+
href="http://contributor-covenant.org/version/1/4/">contributor-covenant.org/version/1/4</a></p>
|
183
|
+
</main>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
<footer id="validator-badges" role="contentinfo">
|
188
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
189
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
190
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
191
|
+
</footer>
|
192
|
+
|
data/doc/Gemfile.html
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
67
|
+
|
68
|
+
<li><a href="./README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="./bin/setup.html">setup</a>
|
73
|
+
|
74
|
+
<li><a href="./prct6_gemspec.html">prct6.gemspec</a>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
</nav>
|
81
|
+
|
82
|
+
<main role="main" aria-label="Page Gemfile">
|
83
|
+
|
84
|
+
<p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
|
85
|
+
|
86
|
+
<p># Specify your gem's dependencies in <a
|
87
|
+
href="prct6_gemspec.html">prct6.gemspec</a> gem 'nokogiri' gem
|
88
|
+
'rack', '~> 2.0.1' gem 'rspec' gemspec</p>
|
89
|
+
</main>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<footer id="validator-badges" role="contentinfo">
|
94
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
95
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
96
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
97
|
+
</footer>
|
98
|
+
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>LICENSE - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
67
|
+
|
68
|
+
<li><a href="./README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="./bin/setup.html">setup</a>
|
73
|
+
|
74
|
+
<li><a href="./prct6_gemspec.html">prct6.gemspec</a>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
</nav>
|
81
|
+
|
82
|
+
<main role="main" aria-label="Page LICENSE.txt">
|
83
|
+
|
84
|
+
<p>The MIT License (MIT)</p>
|
85
|
+
|
86
|
+
<p>Copyright © 2019 Alejandro Medina</p>
|
87
|
+
|
88
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
89
|
+
copy of this software and associated documentation files (the “Software”),
|
90
|
+
to deal in the Software without restriction, including without limitation
|
91
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
92
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
93
|
+
Software is furnished to do so, subject to the following conditions:</p>
|
94
|
+
|
95
|
+
<p>The above copyright notice and this permission notice shall be included in
|
96
|
+
all copies or substantial portions of the Software.</p>
|
97
|
+
|
98
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
99
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
100
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
101
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
102
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
103
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
104
|
+
DEALINGS IN THE SOFTWARE.</p>
|
105
|
+
</main>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<footer id="validator-badges" role="contentinfo">
|
110
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
111
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
112
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
113
|
+
</footer>
|
114
|
+
|
data/doc/Listas.html
ADDED
@@ -0,0 +1,512 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Listas - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/jquery.js"></script>
|
15
|
+
<script src="./js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="class">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="./index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="class-metadata">
|
57
|
+
|
58
|
+
<div id="parent-class-section" class="nav-section">
|
59
|
+
<h3>Parent</h3>
|
60
|
+
|
61
|
+
|
62
|
+
<p class="link"><a href="Object.html">Object</a>
|
63
|
+
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<div id="includes-section" class="nav-section">
|
67
|
+
<h3>Included Modules</h3>
|
68
|
+
|
69
|
+
<ul class="link-list">
|
70
|
+
|
71
|
+
|
72
|
+
<li><span class="include">Enumerable</span>
|
73
|
+
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
|
79
|
+
<!-- Method Quickref -->
|
80
|
+
<div id="method-list-section" class="nav-section">
|
81
|
+
<h3>Methods</h3>
|
82
|
+
|
83
|
+
<ul class="link-list" role="directory">
|
84
|
+
|
85
|
+
<li ><a href="#method-c-new">::new</a>
|
86
|
+
|
87
|
+
<li ><a href="#method-i-each">#each</a>
|
88
|
+
|
89
|
+
<li ><a href="#method-i-extraer_final">#extraer_final</a>
|
90
|
+
|
91
|
+
<li ><a href="#method-i-extraer_inicio">#extraer_inicio</a>
|
92
|
+
|
93
|
+
<li ><a href="#method-i-insertar_cabeza">#insertar_cabeza</a>
|
94
|
+
|
95
|
+
<li ><a href="#method-i-insertar_cola">#insertar_cola</a>
|
96
|
+
|
97
|
+
<li ><a href="#method-i-insertar_varios">#insertar_varios</a>
|
98
|
+
|
99
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
100
|
+
|
101
|
+
</ul>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
</nav>
|
106
|
+
|
107
|
+
<main role="main" aria-labelledby="class-Listas">
|
108
|
+
<h1 id="class-Listas" class="class">
|
109
|
+
class Listas
|
110
|
+
</h1>
|
111
|
+
|
112
|
+
<section class="description">
|
113
|
+
|
114
|
+
<p>Inicializació de la clase lista</p>
|
115
|
+
|
116
|
+
</section>
|
117
|
+
|
118
|
+
|
119
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<section class="attribute-method-details" class="method-section">
|
128
|
+
<header>
|
129
|
+
<h3>Attributes</h3>
|
130
|
+
</header>
|
131
|
+
|
132
|
+
|
133
|
+
<div id="attribute-i-cabeza" class="method-detail">
|
134
|
+
<div class="method-heading attribute-method-heading">
|
135
|
+
<span class="method-name">cabeza</span><span
|
136
|
+
class="attribute-access-type">[RW]</span>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div class="method-description">
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<div id="attribute-i-cola" class="method-detail">
|
147
|
+
<div class="method-heading attribute-method-heading">
|
148
|
+
<span class="method-name">cola</span><span
|
149
|
+
class="attribute-access-type">[RW]</span>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div class="method-description">
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div id="attribute-i-nodo_actual" class="method-detail">
|
160
|
+
<div class="method-heading attribute-method-heading">
|
161
|
+
<span class="method-name">nodo_actual</span><span
|
162
|
+
class="attribute-access-type">[RW]</span>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="method-description">
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</div>
|
170
|
+
</div>
|
171
|
+
|
172
|
+
</section>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
177
|
+
<header>
|
178
|
+
<h3>Public Class Methods</h3>
|
179
|
+
</header>
|
180
|
+
|
181
|
+
|
182
|
+
<div id="method-c-new" class="method-detail ">
|
183
|
+
|
184
|
+
<div class="method-heading">
|
185
|
+
<span class="method-name">new</span><span
|
186
|
+
class="method-args">(cabeza,cola)</span>
|
187
|
+
|
188
|
+
<span class="method-click-advice">click to toggle source</span>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
|
193
|
+
<div class="method-description">
|
194
|
+
|
195
|
+
<p>Método initialize Inicializa los atributos de la clase</p>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
<div class="method-source-code" id="new-source">
|
201
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 13</span>
|
202
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">cabeza</span>,<span class="ruby-identifier">cola</span>)
|
203
|
+
<span class="ruby-ivar">@cabeza</span> = <span class="ruby-identifier">cabeza</span>
|
204
|
+
<span class="ruby-ivar">@cola</span> = <span class="ruby-identifier">cola</span>
|
205
|
+
<span class="ruby-keyword">end</span></pre>
|
206
|
+
</div>
|
207
|
+
|
208
|
+
</div>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
|
216
|
+
</section>
|
217
|
+
|
218
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
219
|
+
<header>
|
220
|
+
<h3>Public Instance Methods</h3>
|
221
|
+
</header>
|
222
|
+
|
223
|
+
|
224
|
+
<div id="method-i-each" class="method-detail ">
|
225
|
+
|
226
|
+
<div class="method-heading">
|
227
|
+
<span class="method-name">each</span><span
|
228
|
+
class="method-args">() { |value| ... }</span>
|
229
|
+
|
230
|
+
<span class="method-click-advice">click to toggle source</span>
|
231
|
+
|
232
|
+
</div>
|
233
|
+
|
234
|
+
|
235
|
+
<div class="method-description">
|
236
|
+
|
237
|
+
<p>Método each Recorre la lista haciendo yield del valor</p>
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
<div class="method-source-code" id="each-source">
|
243
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 84</span>
|
244
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">each</span>
|
245
|
+
<span class="ruby-keyword">while</span> <span class="ruby-ivar">@cabeza</span> <span class="ruby-operator">!=</span> <span class="ruby-ivar">@cola</span>
|
246
|
+
<span class="ruby-keyword">yield</span> <span class="ruby-ivar">@cabeza</span>.<span class="ruby-identifier">value</span>
|
247
|
+
<span class="ruby-ivar">@cabeza</span>=<span class="ruby-ivar">@cabeza</span>.<span class="ruby-identifier">prev</span>
|
248
|
+
<span class="ruby-keyword">end</span>
|
249
|
+
|
250
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@cabeza</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@cola</span>
|
251
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@cabeza</span> <span class="ruby-operator">==</span> <span class="ruby-keyword">nil</span>
|
252
|
+
<span class="ruby-keyword">nil</span>
|
253
|
+
<span class="ruby-keyword">else</span>
|
254
|
+
<span class="ruby-keyword">yield</span> <span class="ruby-ivar">@cola</span>.<span class="ruby-identifier">value</span>
|
255
|
+
<span class="ruby-keyword">end</span>
|
256
|
+
<span class="ruby-keyword">end</span>
|
257
|
+
<span class="ruby-keyword">end</span></pre>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
</div>
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
</div>
|
266
|
+
|
267
|
+
|
268
|
+
<div id="method-i-extraer_final" class="method-detail ">
|
269
|
+
|
270
|
+
<div class="method-heading">
|
271
|
+
<span class="method-name">extraer_final</span><span
|
272
|
+
class="method-args">()</span>
|
273
|
+
|
274
|
+
<span class="method-click-advice">click to toggle source</span>
|
275
|
+
|
276
|
+
</div>
|
277
|
+
|
278
|
+
|
279
|
+
<div class="method-description">
|
280
|
+
|
281
|
+
<p>Método <a href="Listas.html#method-i-extraer_final">#extraer_final</a>
|
282
|
+
Extrae un valor por la cola</p>
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
<div class="method-source-code" id="extraer_final-source">
|
288
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 74</span>
|
289
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">extraer_final</span>()
|
290
|
+
<span class="ruby-ivar">@cabeza</span> = <span class="ruby-ivar">@cabeza</span>.<span class="ruby-identifier">prev</span>
|
291
|
+
<span class="ruby-keyword">end</span></pre>
|
292
|
+
</div>
|
293
|
+
|
294
|
+
</div>
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
|
302
|
+
<div id="method-i-extraer_inicio" class="method-detail ">
|
303
|
+
|
304
|
+
<div class="method-heading">
|
305
|
+
<span class="method-name">extraer_inicio</span><span
|
306
|
+
class="method-args">()</span>
|
307
|
+
|
308
|
+
<span class="method-click-advice">click to toggle source</span>
|
309
|
+
|
310
|
+
</div>
|
311
|
+
|
312
|
+
|
313
|
+
<div class="method-description">
|
314
|
+
|
315
|
+
<p>Método <a href="Listas.html#method-i-extraer_inicio">#extraer_inicio</a>
|
316
|
+
Extrae un valor por la cabeza</p>
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
<div class="method-source-code" id="extraer_inicio-source">
|
322
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 68</span>
|
323
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">extraer_inicio</span>()
|
324
|
+
<span class="ruby-ivar">@cola</span>=<span class="ruby-ivar">@cola</span>.<span class="ruby-identifier">next</span>
|
325
|
+
<span class="ruby-keyword">end</span></pre>
|
326
|
+
</div>
|
327
|
+
|
328
|
+
</div>
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
</div>
|
334
|
+
|
335
|
+
|
336
|
+
<div id="method-i-insertar_cabeza" class="method-detail ">
|
337
|
+
|
338
|
+
<div class="method-heading">
|
339
|
+
<span class="method-name">insertar_cabeza</span><span
|
340
|
+
class="method-args">(x)</span>
|
341
|
+
|
342
|
+
<span class="method-click-advice">click to toggle source</span>
|
343
|
+
|
344
|
+
</div>
|
345
|
+
|
346
|
+
|
347
|
+
<div class="method-description">
|
348
|
+
|
349
|
+
<p>Método <a href="Listas.html#method-i-insertar_cabeza">#insertar_cabeza</a>
|
350
|
+
Inserta un valor en la lista por la cabeza</p>
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
<div class="method-source-code" id="insertar_cabeza-source">
|
356
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 20</span>
|
357
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insertar_cabeza</span>(<span class="ruby-identifier">x</span>)
|
358
|
+
<span class="ruby-identifier">node</span> = <span class="ruby-constant">Nodo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>,<span class="ruby-keyword">nil</span>,<span class="ruby-keyword">nil</span>)
|
359
|
+
|
360
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@cabeza</span><span class="ruby-operator">==</span><span class="ruby-keyword">nil</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@cola</span><span class="ruby-operator">==</span><span class="ruby-keyword">nil</span>
|
361
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">prev</span> = <span class="ruby-ivar">@cola</span>
|
362
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">next</span> = <span class="ruby-ivar">@cabeza</span>
|
363
|
+
<span class="ruby-ivar">@nodo_actual</span> = <span class="ruby-identifier">node</span>
|
364
|
+
<span class="ruby-ivar">@cabeza</span> = <span class="ruby-identifier">node</span>
|
365
|
+
<span class="ruby-ivar">@cola</span> = <span class="ruby-identifier">node</span>
|
366
|
+
<span class="ruby-keyword">else</span>
|
367
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">prev</span> = <span class="ruby-ivar">@cabeza</span>
|
368
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">next</span> = <span class="ruby-keyword">nil</span>
|
369
|
+
<span class="ruby-ivar">@nodo_actual</span> = <span class="ruby-identifier">node</span>
|
370
|
+
<span class="ruby-ivar">@cabeza</span>.<span class="ruby-identifier">next</span> = <span class="ruby-identifier">node</span>
|
371
|
+
<span class="ruby-ivar">@cabeza</span> = <span class="ruby-identifier">node</span>
|
372
|
+
<span class="ruby-keyword">end</span>
|
373
|
+
<span class="ruby-keyword">end</span></pre>
|
374
|
+
</div>
|
375
|
+
|
376
|
+
</div>
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
</div>
|
382
|
+
|
383
|
+
|
384
|
+
<div id="method-i-insertar_cola" class="method-detail ">
|
385
|
+
|
386
|
+
<div class="method-heading">
|
387
|
+
<span class="method-name">insertar_cola</span><span
|
388
|
+
class="method-args">(x)</span>
|
389
|
+
|
390
|
+
<span class="method-click-advice">click to toggle source</span>
|
391
|
+
|
392
|
+
</div>
|
393
|
+
|
394
|
+
|
395
|
+
<div class="method-description">
|
396
|
+
|
397
|
+
<p>Método <a href="Listas.html#method-i-insertar_cola">#insertar_cola</a>
|
398
|
+
Inserta un valor en la lista por la cola</p>
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
<div class="method-source-code" id="insertar_cola-source">
|
404
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 40</span>
|
405
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insertar_cola</span>(<span class="ruby-identifier">x</span>)
|
406
|
+
<span class="ruby-identifier">node</span> = <span class="ruby-constant">Nodo</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>,<span class="ruby-keyword">nil</span>,<span class="ruby-keyword">nil</span>)
|
407
|
+
|
408
|
+
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@cabeza</span><span class="ruby-operator">==</span><span class="ruby-keyword">nil</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@cola</span><span class="ruby-operator">==</span><span class="ruby-keyword">nil</span>
|
409
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">prev</span> = <span class="ruby-ivar">@cabeza</span>
|
410
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">next</span> = <span class="ruby-ivar">@cola</span>
|
411
|
+
<span class="ruby-ivar">@nodo_actual</span> = <span class="ruby-identifier">node</span>
|
412
|
+
<span class="ruby-ivar">@cola</span> = <span class="ruby-identifier">node</span>
|
413
|
+
<span class="ruby-ivar">@cabeza</span> = <span class="ruby-identifier">node</span>
|
414
|
+
<span class="ruby-keyword">else</span>
|
415
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">prev</span> = <span class="ruby-ivar">@cola</span>
|
416
|
+
<span class="ruby-identifier">node</span>.<span class="ruby-identifier">next</span> = <span class="ruby-keyword">nil</span>
|
417
|
+
<span class="ruby-ivar">@nodo_actual</span> = <span class="ruby-identifier">node</span>
|
418
|
+
<span class="ruby-ivar">@cola</span>.<span class="ruby-identifier">next</span> = <span class="ruby-identifier">node</span>
|
419
|
+
<span class="ruby-ivar">@cola</span> = <span class="ruby-identifier">node</span>
|
420
|
+
<span class="ruby-keyword">end</span>
|
421
|
+
<span class="ruby-keyword">end</span></pre>
|
422
|
+
</div>
|
423
|
+
|
424
|
+
</div>
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
</div>
|
430
|
+
|
431
|
+
|
432
|
+
<div id="method-i-insertar_varios" class="method-detail ">
|
433
|
+
|
434
|
+
<div class="method-heading">
|
435
|
+
<span class="method-name">insertar_varios</span><span
|
436
|
+
class="method-args">(nodos)</span>
|
437
|
+
|
438
|
+
<span class="method-click-advice">click to toggle source</span>
|
439
|
+
|
440
|
+
</div>
|
441
|
+
|
442
|
+
|
443
|
+
<div class="method-description">
|
444
|
+
|
445
|
+
<p>Método <a href="Listas.html#method-i-insertar_varios">#insertar_varios</a>
|
446
|
+
Inserta multiples valores por la cabeza</p>
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
<div class="method-source-code" id="insertar_varios-source">
|
452
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 60</span>
|
453
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insertar_varios</span>(<span class="ruby-identifier">nodos</span>)
|
454
|
+
<span class="ruby-identifier">nodos</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">nd</span><span class="ruby-operator">|</span>
|
455
|
+
<span class="ruby-identifier">insertar_cabeza</span>(<span class="ruby-identifier">nd</span>)
|
456
|
+
<span class="ruby-keyword">end</span>
|
457
|
+
<span class="ruby-keyword">end</span></pre>
|
458
|
+
</div>
|
459
|
+
|
460
|
+
</div>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
</div>
|
466
|
+
|
467
|
+
|
468
|
+
<div id="method-i-to_s" class="method-detail ">
|
469
|
+
|
470
|
+
<div class="method-heading">
|
471
|
+
<span class="method-name">to_s</span><span
|
472
|
+
class="method-args">()</span>
|
473
|
+
|
474
|
+
<span class="method-click-advice">click to toggle source</span>
|
475
|
+
|
476
|
+
</div>
|
477
|
+
|
478
|
+
|
479
|
+
<div class="method-description">
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
<div class="method-source-code" id="to_s-source">
|
487
|
+
<pre><span class="ruby-comment"># File lib/prct6/listas.rb, line 78</span>
|
488
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_s</span>
|
489
|
+
<span class="ruby-ivar">@cabeza</span>.<span class="ruby-identifier">to_s</span>
|
490
|
+
<span class="ruby-keyword">end</span></pre>
|
491
|
+
</div>
|
492
|
+
|
493
|
+
</div>
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
</div>
|
499
|
+
|
500
|
+
|
501
|
+
</section>
|
502
|
+
|
503
|
+
</section>
|
504
|
+
</main>
|
505
|
+
|
506
|
+
|
507
|
+
<footer id="validator-badges" role="contentinfo">
|
508
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
509
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.0.1.
|
510
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
511
|
+
</footer>
|
512
|
+
|