Menu_dietetico 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.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile +4 -0
  7. data/Guardfile +82 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +41 -0
  10. data/Rakefile +6 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/doc/CODE_OF_CONDUCT_md.html +196 -0
  14. data/doc/Dieta.html +417 -0
  15. data/doc/Dieta_edades.html +234 -0
  16. data/doc/Dieta_grupos.html +233 -0
  17. data/doc/Gemfile.html +101 -0
  18. data/doc/Gemfile_lock.html +183 -0
  19. data/doc/Guardfile.html +181 -0
  20. data/doc/LICENSE_txt.html +118 -0
  21. data/doc/ListaEnlazada.html +396 -0
  22. data/doc/Object.html +117 -0
  23. data/doc/Prct06.html +110 -0
  24. data/doc/README_md.html +165 -0
  25. data/doc/Rakefile.html +102 -0
  26. data/doc/bin/setup.html +102 -0
  27. data/doc/created.rid +18 -0
  28. data/doc/css/fonts.css +167 -0
  29. data/doc/css/rdoc.css +590 -0
  30. data/doc/fonts/Lato-Light.ttf +0 -0
  31. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  32. data/doc/fonts/Lato-Regular.ttf +0 -0
  33. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  34. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  35. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  36. data/doc/images/add.png +0 -0
  37. data/doc/images/arrow_up.png +0 -0
  38. data/doc/images/brick.png +0 -0
  39. data/doc/images/brick_link.png +0 -0
  40. data/doc/images/bug.png +0 -0
  41. data/doc/images/bullet_black.png +0 -0
  42. data/doc/images/bullet_toggle_minus.png +0 -0
  43. data/doc/images/bullet_toggle_plus.png +0 -0
  44. data/doc/images/date.png +0 -0
  45. data/doc/images/delete.png +0 -0
  46. data/doc/images/find.png +0 -0
  47. data/doc/images/loadingAnimation.gif +0 -0
  48. data/doc/images/macFFBgHack.png +0 -0
  49. data/doc/images/package.png +0 -0
  50. data/doc/images/page_green.png +0 -0
  51. data/doc/images/page_white_text.png +0 -0
  52. data/doc/images/page_white_width.png +0 -0
  53. data/doc/images/plugin.png +0 -0
  54. data/doc/images/ruby.png +0 -0
  55. data/doc/images/tag_blue.png +0 -0
  56. data/doc/images/tag_green.png +0 -0
  57. data/doc/images/transparent.png +0 -0
  58. data/doc/images/wrench.png +0 -0
  59. data/doc/images/wrench_orange.png +0 -0
  60. data/doc/images/zoom.png +0 -0
  61. data/doc/index.html +116 -0
  62. data/doc/js/darkfish.js +161 -0
  63. data/doc/js/jquery.js +4 -0
  64. data/doc/js/navigation.js +142 -0
  65. data/doc/js/navigation.js.gz +0 -0
  66. data/doc/js/search.js +109 -0
  67. data/doc/js/search_index.js +1 -0
  68. data/doc/js/search_index.js.gz +0 -0
  69. data/doc/js/searcher.js +229 -0
  70. data/doc/js/searcher.js.gz +0 -0
  71. data/doc/prct06_gemspec.html +136 -0
  72. data/doc/table_of_contents.html +175 -0
  73. data/lib/prct06.rb +5 -0
  74. data/lib/prct06/Dieta.rb +137 -0
  75. data/lib/prct06/ListaEnlazada.rb +67 -0
  76. data/lib/prct06/version.rb +3 -0
  77. data/prct06.gemspec +39 -0
  78. metadata +207 -0
@@ -0,0 +1,233 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Dieta_grupos - 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="Dieta.html">Dieta</a>
63
+
64
+ </div>
65
+
66
+
67
+
68
+ <!-- Method Quickref -->
69
+ <div id="method-list-section" class="nav-section">
70
+ <h3>Methods</h3>
71
+
72
+ <ul class="link-list" role="directory">
73
+
74
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
75
+
76
+ <li class="calls-super" ><a href="#method-i-to_s">#to_s</a>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <main role="main" aria-labelledby="class-Dieta_grupos">
85
+ <h1 id="class-Dieta_grupos" class="class">
86
+ class Dieta_grupos
87
+ </h1>
88
+
89
+ <section class="description">
90
+
91
+ <p>Clase hija de <a href="Dieta.html">Dieta</a> que añade al menú el campo de
92
+ grupo de alimentos.</p>
93
+
94
+ </section>
95
+
96
+
97
+
98
+
99
+ <section id="5Buntitled-5D" class="documentation-section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <section class="attribute-method-details" class="method-section">
108
+ <header>
109
+ <h3>Attributes</h3>
110
+ </header>
111
+
112
+
113
+ <div id="attribute-i-grupo" class="method-detail">
114
+ <div class="method-heading attribute-method-heading">
115
+ <span class="method-name">grupo</span><span
116
+ class="attribute-access-type">[R]</span>
117
+ </div>
118
+
119
+ <div class="method-description">
120
+
121
+
122
+
123
+ </div>
124
+ </div>
125
+
126
+ </section>
127
+
128
+
129
+
130
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
131
+ <header>
132
+ <h3>Public Class Methods</h3>
133
+ </header>
134
+
135
+
136
+ <div id="method-c-new" class="method-detail ">
137
+
138
+ <div class="method-heading">
139
+ <span class="method-name">new</span><span
140
+ class="method-args">(titulo, porcentaje_ingesta, nplatos, vct, proteinas, grasas, hidratos, *des_platos, grupo)</span>
141
+
142
+ <span class="method-click-advice">click to toggle source</span>
143
+
144
+ </div>
145
+
146
+
147
+ <div class="method-description">
148
+
149
+
150
+
151
+
152
+ <div class="method-calls-super">
153
+ Calls superclass method
154
+ <a href="Dieta.html#method-c-new">Dieta.new</a>
155
+ </div>
156
+
157
+
158
+
159
+ <div class="method-source-code" id="new-source">
160
+ <pre><span class="ruby-comment"># File lib/prct06/Dieta.rb, line 55</span>
161
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> (<span class="ruby-identifier">titulo</span>, <span class="ruby-identifier">porcentaje_ingesta</span>, <span class="ruby-identifier">nplatos</span>, <span class="ruby-identifier">vct</span>, <span class="ruby-identifier">proteinas</span>, <span class="ruby-identifier">grasas</span>, <span class="ruby-identifier">hidratos</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">des_platos</span>, <span class="ruby-identifier">grupo</span>)
162
+ <span class="ruby-ivar">@grupo</span> = <span class="ruby-identifier">grupo</span>
163
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">titulo</span>, <span class="ruby-identifier">porcentaje_ingesta</span>, <span class="ruby-identifier">nplatos</span>, <span class="ruby-identifier">vct</span>, <span class="ruby-identifier">proteinas</span>, <span class="ruby-identifier">grasas</span>, <span class="ruby-identifier">hidratos</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">des_platos</span>)
164
+ <span class="ruby-keyword">end</span></pre>
165
+ </div>
166
+
167
+ </div>
168
+
169
+
170
+
171
+
172
+ </div>
173
+
174
+
175
+ </section>
176
+
177
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
178
+ <header>
179
+ <h3>Public Instance Methods</h3>
180
+ </header>
181
+
182
+
183
+ <div id="method-i-to_s" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">to_s</span><span
187
+ class="method-args">()</span>
188
+
189
+ <span class="method-click-advice">click to toggle source</span>
190
+
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+
197
+
198
+
199
+ <div class="method-calls-super">
200
+ Calls superclass method
201
+ <a href="Dieta.html#method-i-to_s">Dieta#to_s</a>
202
+ </div>
203
+
204
+
205
+
206
+ <div class="method-source-code" id="to_s-source">
207
+ <pre><span class="ruby-comment"># File lib/prct06/Dieta.rb, line 59</span>
208
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
209
+ <span class="ruby-identifier">output</span> = <span class="ruby-keyword">super</span>
210
+ <span class="ruby-identifier">output</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\nGrupo: #{@grupo}&quot;</span>
211
+ <span class="ruby-keyword">end</span></pre>
212
+ </div>
213
+
214
+ </div>
215
+
216
+
217
+
218
+
219
+ </div>
220
+
221
+
222
+ </section>
223
+
224
+ </section>
225
+ </main>
226
+
227
+
228
+ <footer id="validator-badges" role="contentinfo">
229
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
230
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
231
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
232
+ </footer>
233
+
data/doc/Gemfile.html ADDED
@@ -0,0 +1,101 @@
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="./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="./bin/setup.html">setup</a>
77
+
78
+ <li><a href="./prct06_gemspec.html">prct06.gemspec</a>
79
+
80
+ </ul>
81
+ </div>
82
+
83
+ </div>
84
+ </nav>
85
+
86
+ <main role="main" aria-label="Page Gemfile">
87
+
88
+ <p>source &#39;<a href="https://rubygems.org">rubygems.org</a>&#39;</p>
89
+
90
+ <p># Specify your gem&#39;s dependencies in <a
91
+ href="prct06_gemspec.html">prct06.gemspec</a> gemspec</p>
92
+ </main>
93
+
94
+
95
+
96
+ <footer id="validator-badges" role="contentinfo">
97
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
98
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
99
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
100
+ </footer>
101
+
@@ -0,0 +1,183 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Gemfile.lock - 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="./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="./bin/setup.html">setup</a>
77
+
78
+ <li><a href="./prct06_gemspec.html">prct06.gemspec</a>
79
+
80
+ </ul>
81
+ </div>
82
+
83
+ </div>
84
+ </nav>
85
+
86
+ <main role="main" aria-label="Page Gemfile.lock">
87
+
88
+ <p>PATH</p>
89
+
90
+ <pre>remote: .
91
+ specs:
92
+ Practica8 (0.1.0)</pre>
93
+
94
+ <p>GEM</p>
95
+
96
+ <pre>remote: https://rubygems.org/
97
+ specs:
98
+ coderay (1.1.1)
99
+ diff-lcs (1.2.5)
100
+ ffi (1.9.14)
101
+ formatador (0.2.5)
102
+ guard (2.14.0)
103
+ formatador (&gt;= 0.2.4)
104
+ listen (&gt;= 2.7, &lt; 4.0)
105
+ lumberjack (~&gt; 1.0)
106
+ nenv (~&gt; 0.1)
107
+ notiffany (~&gt; 0.0)
108
+ pry (&gt;= 0.9.12)
109
+ shellany (~&gt; 0.0)
110
+ thor (&gt;= 0.18.1)
111
+ guard-bundler (2.1.0)
112
+ bundler (~&gt; 1.0)
113
+ guard (~&gt; 2.2)
114
+ guard-compat (~&gt; 1.1)
115
+ guard-compat (1.2.1)
116
+ guard-rspec (4.7.3)
117
+ guard (~&gt; 2.1)
118
+ guard-compat (~&gt; 1.1)
119
+ rspec (&gt;= 2.99.0, &lt; 4.0)
120
+ listen (3.1.5)
121
+ rb-fsevent (~&gt; 0.9, &gt;= 0.9.4)
122
+ rb-inotify (~&gt; 0.9, &gt;= 0.9.7)
123
+ ruby_dep (~&gt; 1.2)
124
+ lumberjack (1.0.10)
125
+ method_source (0.8.2)
126
+ nenv (0.3.0)
127
+ notiffany (0.1.1)
128
+ nenv (~&gt; 0.1)
129
+ shellany (~&gt; 0.0)
130
+ pry (0.10.4)
131
+ coderay (~&gt; 1.1.0)
132
+ method_source (~&gt; 0.8.1)
133
+ slop (~&gt; 3.4)
134
+ rake (10.5.0)
135
+ rb-fsevent (0.9.8)
136
+ rb-inotify (0.9.7)
137
+ ffi (&gt;= 0.5.0)
138
+ rspec (3.5.0)
139
+ rspec-core (~&gt; 3.5.0)
140
+ rspec-expectations (~&gt; 3.5.0)
141
+ rspec-mocks (~&gt; 3.5.0)
142
+ rspec-core (3.5.4)
143
+ rspec-support (~&gt; 3.5.0)
144
+ rspec-expectations (3.5.0)
145
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
146
+ rspec-support (~&gt; 3.5.0)
147
+ rspec-mocks (3.5.0)
148
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
149
+ rspec-support (~&gt; 3.5.0)
150
+ rspec-support (3.5.0)
151
+ ruby_dep (1.5.0)
152
+ shellany (0.0.1)
153
+ slop (3.6.0)
154
+ thor (0.19.1)</pre>
155
+
156
+ <p>PLATFORMS</p>
157
+
158
+ <pre class="ruby"><span class="ruby-identifier">ruby</span>
159
+ </pre>
160
+
161
+ <p>DEPENDENCIES</p>
162
+
163
+ <pre>Practica8!
164
+ bundler (~&gt; 1.13)
165
+ guard
166
+ guard-bundler
167
+ guard-rspec
168
+ rake (~&gt; 10.0)
169
+ rspec (~&gt; 3.0)</pre>
170
+
171
+ <p>BUNDLED WITH</p>
172
+
173
+ <pre>1.13.6</pre>
174
+ </main>
175
+
176
+
177
+
178
+ <footer id="validator-badges" role="contentinfo">
179
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
180
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
181
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
182
+ </footer>
183
+