prct11_abian 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,459 @@
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: MenuFood
8
+
9
+ &mdash; 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 = "MenuFood";
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 (M)</a> &raquo;
40
+
41
+
42
+ <span class="title">MenuFood</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: MenuFood
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="Diet.html" title="Diet (class)">Diet</a></span></span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next"><span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></li>
80
+
81
+ <li class="next">MenuFood</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/menuFood.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+
107
+
108
+
109
+
110
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
111
+ <ul class="summary">
112
+
113
+ <li class="public ">
114
+ <span class="summary_signature">
115
+
116
+ <a href="#food-instance_method" title="#M (instance method)">#<strong>M</strong> &#x21d2; Object </a>
117
+
118
+
119
+
120
+ </span>
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <span class="summary_desc"><div class='inline'></div></span>
134
+
135
+ </li>
136
+
137
+
138
+ </ul>
139
+
140
+
141
+
142
+
143
+
144
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></h3>
145
+ <p class="inherited"><span class='object_link'><a href="Diet.html#dip-instance_method" title="Diet#dip (method)">#dip</a></span>, <span class='object_link'><a href="Diet.html#pchdt-instance_method" title="Diet#pchdt (method)">#pchdt</a></span>, <span class='object_link'><a href="Diet.html#pfts-instance_method" title="Diet#pfts (method)">#pfts</a></span>, <span class='object_link'><a href="Diet.html#pprtn-instance_method" title="Diet#pprtn (method)">#pprtn</a></span>, <span class='object_link'><a href="Diet.html#rcps-instance_method" title="Diet#rcps (method)">#rcps</a></span>, <span class='object_link'><a href="Diet.html#ttl-instance_method" title="Diet#ttl (method)">#ttl</a></span>, <span class='object_link'><a href="Diet.html#vct-instance_method" title="Diet#vct (method)">#vct</a></span></p>
146
+
147
+
148
+
149
+ <h2>
150
+ Instance Method Summary
151
+ <small><a href="#" class="summary_toggle">collapse</a></small>
152
+ </h2>
153
+
154
+ <ul class="summary">
155
+
156
+ <li class="public ">
157
+ <span class="summary_signature">
158
+
159
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(food, ttl, dip, vct, pprtn, pfts, pchdt) &#x21d2; MenuFood </a>
160
+
161
+
162
+
163
+ </span>
164
+
165
+
166
+ <span class="note title constructor">constructor</span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <span class="summary_desc"><div class='inline'>
176
+ <p>A new instance of MenuFood.</p>
177
+ </div></span>
178
+
179
+ </li>
180
+
181
+
182
+ <li class="public ">
183
+ <span class="summary_signature">
184
+
185
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; String </a>
186
+
187
+
188
+
189
+ </span>
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+ <span class="summary_desc"><div class='inline'>
200
+ <p>String con el contenido de la lista.</p>
201
+ </div></span>
202
+
203
+ </li>
204
+
205
+
206
+ </ul>
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></h3>
219
+ <p class="inherited"><span class='object_link'><a href="Diet.html#%3C%3D%3E-instance_method" title="Diet#&lt;=&gt; (method)">#<=></a></span>, <span class='object_link'><a href="Diet.html#new_recipe-instance_method" title="Diet#new_recipe (method)">#new_recipe</a></span></p>
220
+
221
+ <div id="constructor_details" class="method_details_list">
222
+ <h2>Constructor Details</h2>
223
+
224
+ <div class="method_details first">
225
+ <h3 class="signature first" id="initialize-instance_method">
226
+
227
+ #<strong>initialize</strong>(food, ttl, dip, vct, pprtn, pfts, pchdt) &#x21d2; <tt><span class='object_link'><a href="" title="MenuFood (class)">MenuFood</a></span></tt>
228
+
229
+
230
+
231
+
232
+
233
+ </h3><div class="docstring">
234
+ <div class="discussion">
235
+
236
+ <p>Returns a new instance of MenuFood</p>
237
+
238
+
239
+ </div>
240
+ </div>
241
+ <div class="tags">
242
+ <p class="tag_title">Parameters:</p>
243
+ <ul class="param">
244
+
245
+ <li>
246
+
247
+ <span class='name'>Grupo</span>
248
+
249
+
250
+ <span class='type'>(<tt>String</tt>)</span>
251
+
252
+
253
+
254
+ &mdash;
255
+ <div class='inline'>
256
+ <p>de alimentos, [String] Título, [String] Ingesta diaria, [String] Valor
257
+ calorífico,</p>
258
+ </div>
259
+
260
+ </li>
261
+
262
+ <li>
263
+
264
+ <span class='name'>Porcentaje</span>
265
+
266
+
267
+ <span class='type'>(<tt>String</tt>)</span>
268
+
269
+
270
+
271
+ &mdash;
272
+ <div class='inline'>
273
+ <p>de proteínas, [String] Porcentaje de proteínas, [String] Porcentaje de
274
+ grasas</p>
275
+ </div>
276
+
277
+ </li>
278
+
279
+ <li>
280
+
281
+ <span class='name'>Porcentaje</span>
282
+
283
+
284
+ <span class='type'>(<tt>String</tt>)</span>
285
+
286
+
287
+
288
+ &mdash;
289
+ <div class='inline'>
290
+ <p>de hidratos de carbono</p>
291
+ </div>
292
+
293
+ </li>
294
+
295
+ </ul>
296
+
297
+
298
+ </div><table class="source_code">
299
+ <tr>
300
+ <td>
301
+ <pre class="lines">
302
+
303
+
304
+ 26
305
+ 27
306
+ 28
307
+ 29
308
+ 30
309
+ 31
310
+ 32</pre>
311
+ </td>
312
+ <td>
313
+ <pre class="code"><span class="info file"># File 'lib/prct06/menuFood.rb', line 26</span>
314
+
315
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_food'>food</span><span class='comma'>,</span> <span class='id identifier rubyid_ttl'>ttl</span><span class='comma'>,</span> <span class='id identifier rubyid_dip'>dip</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_pprtn'>pprtn</span><span class='comma'>,</span> <span class='id identifier rubyid_pfts'>pfts</span><span class='comma'>,</span> <span class='id identifier rubyid_pchdt'>pchdt</span><span class='rparen'>)</span>
316
+
317
+ <span class='ivar'>@food</span> <span class='op'>=</span> <span class='id identifier rubyid_food'>food</span>
318
+
319
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_ttl'>ttl</span><span class='comma'>,</span> <span class='id identifier rubyid_dip'>dip</span><span class='comma'>,</span> <span class='id identifier rubyid_vct'>vct</span><span class='comma'>,</span> <span class='id identifier rubyid_pprtn'>pprtn</span><span class='comma'>,</span> <span class='id identifier rubyid_pfts'>pfts</span><span class='comma'>,</span> <span class='id identifier rubyid_pchdt'>pchdt</span><span class='rparen'>)</span>
320
+
321
+ <span class='kw'>end</span></pre>
322
+ </td>
323
+ </tr>
324
+ </table>
325
+ </div>
326
+
327
+ </div>
328
+
329
+ <div id="instance_attr_details" class="attr_details">
330
+ <h2>Instance Attribute Details</h2>
331
+
332
+
333
+ <span id="food=-instance_method"></span>
334
+ <div class="method_details first">
335
+ <h3 class="signature first" id="food-instance_method">
336
+
337
+ #<strong>M</strong> &#x21d2; <tt>Object</tt>
338
+
339
+
340
+
341
+
342
+
343
+ </h3><div class="docstring">
344
+ <div class="discussion">
345
+
346
+
347
+ </div>
348
+ </div>
349
+ <div class="tags">
350
+
351
+
352
+
353
+
354
+ </div><table class="source_code">
355
+ <tr>
356
+ <td>
357
+ <pre class="lines">
358
+
359
+
360
+ 19
361
+ 20
362
+ 21</pre>
363
+ </td>
364
+ <td>
365
+ <pre class="code"><span class="info file"># File 'lib/prct06/menuFood.rb', line 19</span>
366
+
367
+ <span class='kw'>def</span> <span class='id identifier rubyid_food'>food</span>
368
+ <span class='ivar'>@food</span>
369
+ <span class='kw'>end</span></pre>
370
+ </td>
371
+ </tr>
372
+ </table>
373
+ </div>
374
+
375
+ </div>
376
+
377
+
378
+ <div id="instance_method_details" class="method_details_list">
379
+ <h2>Instance Method Details</h2>
380
+
381
+
382
+ <div class="method_details first">
383
+ <h3 class="signature first" id="to_s-instance_method">
384
+
385
+ #<strong>to_s</strong> &#x21d2; <tt>String</tt>
386
+
387
+
388
+
389
+
390
+
391
+ </h3><div class="docstring">
392
+ <div class="discussion">
393
+
394
+ <p>Returns String con el contenido de la lista</p>
395
+
396
+
397
+ </div>
398
+ </div>
399
+ <div class="tags">
400
+
401
+ <p class="tag_title">Returns:</p>
402
+ <ul class="return">
403
+
404
+ <li>
405
+
406
+
407
+ <span class='type'>(<tt>String</tt>)</span>
408
+
409
+
410
+
411
+ &mdash;
412
+ <div class='inline'>
413
+ <p>String con el contenido de la lista</p>
414
+ </div>
415
+
416
+ </li>
417
+
418
+ </ul>
419
+
420
+ </div><table class="source_code">
421
+ <tr>
422
+ <td>
423
+ <pre class="lines">
424
+
425
+
426
+ 37
427
+ 38
428
+ 39
429
+ 40
430
+ 41
431
+ 42</pre>
432
+ </td>
433
+ <td>
434
+ <pre class="code"><span class="info file"># File 'lib/prct06/menuFood.rb', line 37</span>
435
+
436
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span><span class='lparen'>(</span><span class='rparen'>)</span>
437
+
438
+ <span class='id identifier rubyid_tmp'>tmp</span> <span class='op'>=</span> <span class='kw'>super</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Alimentos: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@food</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span>
439
+ <span class='id identifier rubyid_tmp'>tmp</span>
440
+
441
+ <span class='kw'>end</span></pre>
442
+ </td>
443
+ </tr>
444
+ </table>
445
+ </div>
446
+
447
+ </div>
448
+
449
+ </div>
450
+
451
+ <div id="footer">
452
+ Generated on Tue Dec 13 16:00:37 2016 by
453
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
454
+ 0.9.5 (ruby-2.3.0).
455
+ </div>
456
+
457
+ </div>
458
+ </body>
459
+ </html>