prct11_edu 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +21 -0
- data/Rakefile~ +21 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/documentation/Dieta.html +1091 -0
- data/documentation/DietaEdad.html +299 -0
- data/documentation/DietaTipo.html +237 -0
- data/documentation/Lista.html +740 -0
- data/documentation/Nodo.html +400 -0
- data/documentation/Prct06.html +117 -0
- data/documentation/Receta.html +107 -0
- data/documentation/_index.html +171 -0
- data/documentation/class_list.html +51 -0
- data/documentation/css/common.css +1 -0
- data/documentation/css/full_list.css +58 -0
- data/documentation/css/style.css +481 -0
- data/documentation/file.README.html +128 -0
- data/documentation/file_list.html +56 -0
- data/documentation/frames.html +17 -0
- data/documentation/index.html +128 -0
- data/documentation/js/app.js +243 -0
- data/documentation/js/full_list.js +216 -0
- data/documentation/js/jquery.js +4 -0
- data/documentation/method_list.html +267 -0
- data/documentation/top-level-namespace.html +114 -0
- data/lib/prct06.rb +4 -0
- data/lib/prct06/.swp +0 -0
- data/lib/prct06/dieta.rb +61 -0
- data/lib/prct06/lista.rb +61 -0
- data/lib/prct06/lista.rb~ +29 -0
- data/lib/prct06/version.rb +3 -0
- data/prct06.gemspec +36 -0
- data/prct06.gemspec~ +36 -0
- metadata +126 -0
@@ -0,0 +1,299 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: DietaEdad
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.5
|
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
|
+
pathId = "DietaEdad";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index (D)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">DietaEdad</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: DietaEdad
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li>Object</li>
|
78
|
+
|
79
|
+
<li class="next"><span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></li>
|
80
|
+
|
81
|
+
<li class="next">DietaEdad</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/prct06/dieta.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
107
|
+
<div class="discussion">
|
108
|
+
|
109
|
+
<p>Clase derivada DietaEdad</p>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="tags">
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<h2>Instance Attribute Summary</h2>
|
124
|
+
|
125
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></h3>
|
126
|
+
<p class="inherited"><span class='object_link'><a href="Dieta.html#conjplatos-instance_method" title="Dieta#conjplatos (method)">#conjplatos</a></span>, <span class='object_link'><a href="Dieta.html#descripcion-instance_method" title="Dieta#descripcion (method)">#descripcion</a></span>, <span class='object_link'><a href="Dieta.html#ingengr-instance_method" title="Dieta#ingengr (method)">#ingengr</a></span>, <span class='object_link'><a href="Dieta.html#porcdiario-instance_method" title="Dieta#porcdiario (method)">#porcdiario</a></span>, <span class='object_link'><a href="Dieta.html#porcgrasas-instance_method" title="Dieta#porcgrasas (method)">#porcgrasas</a></span>, <span class='object_link'><a href="Dieta.html#porchidratos-instance_method" title="Dieta#porchidratos (method)">#porchidratos</a></span>, <span class='object_link'><a href="Dieta.html#porciones-instance_method" title="Dieta#porciones (method)">#porciones</a></span>, <span class='object_link'><a href="Dieta.html#porcproteinas-instance_method" title="Dieta#porcproteinas (method)">#porcproteinas</a></span>, <span class='object_link'><a href="Dieta.html#titulo-instance_method" title="Dieta#titulo (method)">#titulo</a></span>, <span class='object_link'><a href="Dieta.html#vct-instance_method" title="Dieta#vct (method)">#vct</a></span></p>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<h2>
|
131
|
+
Instance Method Summary
|
132
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
133
|
+
</h2>
|
134
|
+
|
135
|
+
<ul class="summary">
|
136
|
+
|
137
|
+
<li class="public ">
|
138
|
+
<span class="summary_signature">
|
139
|
+
|
140
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(titulo, porcdiario, descripcion, porciones, ingengr, conjplatos, vct, porcproteinas, porcgrasas, porchidratos, edad) ⇒ DietaEdad </a>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
</span>
|
145
|
+
|
146
|
+
|
147
|
+
<span class="note title constructor">constructor</span>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'>
|
157
|
+
<p>A new instance of DietaEdad.</p>
|
158
|
+
</div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
<li class="public ">
|
164
|
+
<span class="summary_signature">
|
165
|
+
|
166
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ Object </a>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</span>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
181
|
+
|
182
|
+
</li>
|
183
|
+
|
184
|
+
|
185
|
+
</ul>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></h3>
|
198
|
+
<p class="inherited"><span class='object_link'><a href="Dieta.html#%3C%3D%3E-instance_method" title="Dieta#<=> (method)">#<=></a></span></p>
|
199
|
+
|
200
|
+
<div id="constructor_details" class="method_details_list">
|
201
|
+
<h2>Constructor Details</h2>
|
202
|
+
|
203
|
+
<div class="method_details first">
|
204
|
+
<h3 class="signature first" id="initialize-instance_method">
|
205
|
+
|
206
|
+
#<strong>initialize</strong>(titulo, porcdiario, descripcion, porciones, ingengr, conjplatos, vct, porcproteinas, porcgrasas, porchidratos, edad) ⇒ <tt><span class='object_link'><a href="" title="DietaEdad (class)">DietaEdad</a></span></tt>
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
</h3><div class="docstring">
|
213
|
+
<div class="discussion">
|
214
|
+
|
215
|
+
<p>Returns a new instance of DietaEdad</p>
|
216
|
+
|
217
|
+
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
<div class="tags">
|
221
|
+
|
222
|
+
|
223
|
+
</div><table class="source_code">
|
224
|
+
<tr>
|
225
|
+
<td>
|
226
|
+
<pre class="lines">
|
227
|
+
|
228
|
+
|
229
|
+
43
|
230
|
+
44
|
231
|
+
45
|
232
|
+
46</pre>
|
233
|
+
</td>
|
234
|
+
<td>
|
235
|
+
<pre class="code"><span class="info file"># File 'lib/prct06/dieta.rb', line 43</span>
|
236
|
+
|
237
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_titulo'>titulo</span><span class='comma'>,</span> <span class='id identifier rubyid_porcdiario'>porcdiario</span><span class='comma'>,</span> <span class='id identifier rubyid_descripcion'>descripcion</span><span class='comma'>,</span> <span class='id identifier rubyid_porciones'>porciones</span><span class='comma'>,</span> <span class='id identifier rubyid_ingengr'>ingengr</span><span class='comma'>,</span> <span class='id identifier rubyid_conjplatos'>conjplatos</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_porcproteinas'>porcproteinas</span><span class='comma'>,</span> <span class='id identifier rubyid_porcgrasas'>porcgrasas</span><span class='comma'>,</span> <span class='id identifier rubyid_porchidratos'>porchidratos</span><span class='comma'>,</span> <span class='id identifier rubyid_edad'>edad</span><span class='rparen'>)</span>
|
238
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_titulo'>titulo</span><span class='comma'>,</span> <span class='id identifier rubyid_porcdiario'>porcdiario</span><span class='comma'>,</span> <span class='id identifier rubyid_descripcion'>descripcion</span><span class='comma'>,</span> <span class='id identifier rubyid_porciones'>porciones</span><span class='comma'>,</span> <span class='id identifier rubyid_ingengr'>ingengr</span><span class='comma'>,</span> <span class='id identifier rubyid_conjplatos'>conjplatos</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_porcproteinas'>porcproteinas</span><span class='comma'>,</span> <span class='id identifier rubyid_porcgrasas'>porcgrasas</span><span class='comma'>,</span> <span class='id identifier rubyid_porchidratos'>porchidratos</span><span class='rparen'>)</span>
|
239
|
+
<span class='ivar'>@edad</span> <span class='op'>=</span> <span class='id identifier rubyid_edad'>edad</span>
|
240
|
+
<span class='kw'>end</span></pre>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
</table>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
</div>
|
247
|
+
|
248
|
+
|
249
|
+
<div id="instance_method_details" class="method_details_list">
|
250
|
+
<h2>Instance Method Details</h2>
|
251
|
+
|
252
|
+
|
253
|
+
<div class="method_details first">
|
254
|
+
<h3 class="signature first" id="to_s-instance_method">
|
255
|
+
|
256
|
+
#<strong>to_s</strong> ⇒ <tt>Object</tt>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
</h3><table class="source_code">
|
263
|
+
<tr>
|
264
|
+
<td>
|
265
|
+
<pre class="lines">
|
266
|
+
|
267
|
+
|
268
|
+
48
|
269
|
+
49
|
270
|
+
50
|
271
|
+
51
|
272
|
+
52</pre>
|
273
|
+
</td>
|
274
|
+
<td>
|
275
|
+
<pre class="code"><span class="info file"># File 'lib/prct06/dieta.rb', line 48</span>
|
276
|
+
|
277
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
278
|
+
<span class='id identifier rubyid_s'>s</span> <span class='op'><<</span> <span class='kw'>super</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
279
|
+
<span class='id identifier rubyid_s'>s</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Edad: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@edad</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n\n</span><span class='tstring_end'>"</span></span>
|
280
|
+
<span class='id identifier rubyid_s'>s</span>
|
281
|
+
<span class='kw'>end</span></pre>
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
</table>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
</div>
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<div id="footer">
|
292
|
+
Generated on Tue Nov 22 09:11:06 2016 by
|
293
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
294
|
+
0.9.5 (ruby-2.3.0).
|
295
|
+
</div>
|
296
|
+
|
297
|
+
</div>
|
298
|
+
</body>
|
299
|
+
</html>
|
@@ -0,0 +1,237 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: DietaTipo
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.5
|
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
|
+
pathId = "DietaTipo";
|
19
|
+
relpath = '';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="_index.html">Index (D)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">DietaTipo</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Class: DietaTipo
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li>Object</li>
|
78
|
+
|
79
|
+
<li class="next"><span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></li>
|
80
|
+
|
81
|
+
<li class="next">DietaTipo</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/prct06/dieta.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
107
|
+
<div class="discussion">
|
108
|
+
|
109
|
+
<p>Clase derivada Dietatipo</p>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="tags">
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<h2>Instance Attribute Summary</h2>
|
124
|
+
|
125
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></h3>
|
126
|
+
<p class="inherited"><span class='object_link'><a href="Dieta.html#conjplatos-instance_method" title="Dieta#conjplatos (method)">#conjplatos</a></span>, <span class='object_link'><a href="Dieta.html#descripcion-instance_method" title="Dieta#descripcion (method)">#descripcion</a></span>, <span class='object_link'><a href="Dieta.html#ingengr-instance_method" title="Dieta#ingengr (method)">#ingengr</a></span>, <span class='object_link'><a href="Dieta.html#porcdiario-instance_method" title="Dieta#porcdiario (method)">#porcdiario</a></span>, <span class='object_link'><a href="Dieta.html#porcgrasas-instance_method" title="Dieta#porcgrasas (method)">#porcgrasas</a></span>, <span class='object_link'><a href="Dieta.html#porchidratos-instance_method" title="Dieta#porchidratos (method)">#porchidratos</a></span>, <span class='object_link'><a href="Dieta.html#porciones-instance_method" title="Dieta#porciones (method)">#porciones</a></span>, <span class='object_link'><a href="Dieta.html#porcproteinas-instance_method" title="Dieta#porcproteinas (method)">#porcproteinas</a></span>, <span class='object_link'><a href="Dieta.html#titulo-instance_method" title="Dieta#titulo (method)">#titulo</a></span>, <span class='object_link'><a href="Dieta.html#vct-instance_method" title="Dieta#vct (method)">#vct</a></span></p>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<h2>
|
131
|
+
Instance Method Summary
|
132
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
133
|
+
</h2>
|
134
|
+
|
135
|
+
<ul class="summary">
|
136
|
+
|
137
|
+
<li class="public ">
|
138
|
+
<span class="summary_signature">
|
139
|
+
|
140
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(titulo, porcdiario, descripcion, porciones, ingengr, conjplatos, vct, porcproteinas, porcgrasas, porchidratos, tipo) ⇒ DietaTipo </a>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
</span>
|
145
|
+
|
146
|
+
|
147
|
+
<span class="note title constructor">constructor</span>
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<span class="summary_desc"><div class='inline'>
|
157
|
+
<p>A new instance of DietaTipo.</p>
|
158
|
+
</div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
</ul>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Dieta.html" title="Dieta (class)">Dieta</a></span></h3>
|
176
|
+
<p class="inherited"><span class='object_link'><a href="Dieta.html#%3C%3D%3E-instance_method" title="Dieta#<=> (method)">#<=></a></span>, <span class='object_link'><a href="Dieta.html#to_s-instance_method" title="Dieta#to_s (method)">#to_s</a></span></p>
|
177
|
+
|
178
|
+
<div id="constructor_details" class="method_details_list">
|
179
|
+
<h2>Constructor Details</h2>
|
180
|
+
|
181
|
+
<div class="method_details first">
|
182
|
+
<h3 class="signature first" id="initialize-instance_method">
|
183
|
+
|
184
|
+
#<strong>initialize</strong>(titulo, porcdiario, descripcion, porciones, ingengr, conjplatos, vct, porcproteinas, porcgrasas, porchidratos, tipo) ⇒ <tt><span class='object_link'><a href="" title="DietaTipo (class)">DietaTipo</a></span></tt>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
</h3><div class="docstring">
|
191
|
+
<div class="discussion">
|
192
|
+
|
193
|
+
<p>Returns a new instance of DietaTipo</p>
|
194
|
+
|
195
|
+
|
196
|
+
</div>
|
197
|
+
</div>
|
198
|
+
<div class="tags">
|
199
|
+
|
200
|
+
|
201
|
+
</div><table class="source_code">
|
202
|
+
<tr>
|
203
|
+
<td>
|
204
|
+
<pre class="lines">
|
205
|
+
|
206
|
+
|
207
|
+
56
|
208
|
+
57
|
209
|
+
58
|
210
|
+
59</pre>
|
211
|
+
</td>
|
212
|
+
<td>
|
213
|
+
<pre class="code"><span class="info file"># File 'lib/prct06/dieta.rb', line 56</span>
|
214
|
+
|
215
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_titulo'>titulo</span><span class='comma'>,</span> <span class='id identifier rubyid_porcdiario'>porcdiario</span><span class='comma'>,</span> <span class='id identifier rubyid_descripcion'>descripcion</span><span class='comma'>,</span> <span class='id identifier rubyid_porciones'>porciones</span><span class='comma'>,</span> <span class='id identifier rubyid_ingengr'>ingengr</span><span class='comma'>,</span> <span class='id identifier rubyid_conjplatos'>conjplatos</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_porcproteinas'>porcproteinas</span><span class='comma'>,</span> <span class='id identifier rubyid_porcgrasas'>porcgrasas</span><span class='comma'>,</span> <span class='id identifier rubyid_porchidratos'>porchidratos</span><span class='comma'>,</span> <span class='id identifier rubyid_tipo'>tipo</span><span class='rparen'>)</span>
|
216
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_titulo'>titulo</span><span class='comma'>,</span> <span class='id identifier rubyid_porcdiario'>porcdiario</span><span class='comma'>,</span> <span class='id identifier rubyid_descripcion'>descripcion</span><span class='comma'>,</span> <span class='id identifier rubyid_porciones'>porciones</span><span class='comma'>,</span> <span class='id identifier rubyid_ingengr'>ingengr</span><span class='comma'>,</span> <span class='id identifier rubyid_conjplatos'>conjplatos</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_porcproteinas'>porcproteinas</span><span class='comma'>,</span> <span class='id identifier rubyid_porcgrasas'>porcgrasas</span><span class='comma'>,</span> <span class='id identifier rubyid_porchidratos'>porchidratos</span><span class='rparen'>)</span>
|
217
|
+
<span class='ivar'>@tipo</span> <span class='op'>=</span> <span class='id identifier rubyid_tipo'>tipo</span>
|
218
|
+
<span class='kw'>end</span></pre>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
</table>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
</div>
|
225
|
+
|
226
|
+
|
227
|
+
</div>
|
228
|
+
|
229
|
+
<div id="footer">
|
230
|
+
Generated on Tue Nov 22 09:11:06 2016 by
|
231
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
232
|
+
0.9.5 (ruby-2.3.0).
|
233
|
+
</div>
|
234
|
+
|
235
|
+
</div>
|
236
|
+
</body>
|
237
|
+
</html>
|