alimento_0100763478 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +12 -0
  4. data/.rspec_status +40 -0
  5. data/.travis.yml +6 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +6 -0
  8. data/Guardfile +82 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +19 -0
  11. data/Rakefile +6 -0
  12. data/alimento.gemspec +44 -0
  13. data/bin/console +14 -0
  14. data/bin/setup +8 -0
  15. data/docs/AGrupos.html +368 -0
  16. data/docs/Alimento.html +115 -0
  17. data/docs/Alimentos.html +683 -0
  18. data/docs/Lista.html +635 -0
  19. data/docs/Node.html +398 -0
  20. data/docs/_index.html +143 -0
  21. data/docs/class_list.html +51 -0
  22. data/docs/css/common.css +1 -0
  23. data/docs/css/full_list.css +58 -0
  24. data/docs/css/style.css +492 -0
  25. data/docs/doc/AGrupos.html +368 -0
  26. data/docs/doc/Aliementos.html +105 -0
  27. data/docs/doc/Alimento.html +115 -0
  28. data/docs/doc/Alimentos.html +683 -0
  29. data/docs/doc/Lista.html +635 -0
  30. data/docs/doc/Node.html +398 -0
  31. data/docs/doc/_index.html +148 -0
  32. data/docs/doc/class_list.html +51 -0
  33. data/docs/doc/css/common.css +1 -0
  34. data/docs/doc/css/full_list.css +58 -0
  35. data/docs/doc/css/style.css +492 -0
  36. data/docs/doc/file.README.html +99 -0
  37. data/docs/doc/file_list.html +56 -0
  38. data/docs/doc/frames.html +17 -0
  39. data/docs/doc/index.html +99 -0
  40. data/docs/doc/js/app.js +248 -0
  41. data/docs/doc/js/full_list.js +216 -0
  42. data/docs/doc/js/jquery.js +4 -0
  43. data/docs/doc/method_list.html +219 -0
  44. data/docs/doc/top-level-namespace.html +112 -0
  45. data/docs/file.README.html +99 -0
  46. data/docs/file_list.html +56 -0
  47. data/docs/frames.html +17 -0
  48. data/docs/index.html +99 -0
  49. data/docs/js/app.js +248 -0
  50. data/docs/js/full_list.js +216 -0
  51. data/docs/js/jquery.js +4 -0
  52. data/docs/method_list.html +219 -0
  53. data/docs/top-level-namespace.html +112 -0
  54. data/lib/alimento.rb +10 -0
  55. data/lib/alimento/alimento.rb +93 -0
  56. data/lib/alimento/funcional.rb +32 -0
  57. data/lib/alimento/lista.rb +47 -0
  58. data/lib/alimento/plato.rb +108 -0
  59. data/lib/alimento/version.rb +3 -0
  60. metadata +231 -0
@@ -0,0 +1,115 @@
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
+ Module: Alimento
8
+
9
+ &mdash; Documentation by YARD 0.9.9
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 = "Alimento";
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?1"></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 (A)</a> &raquo;
40
+
41
+
42
+ <span class="title">Alimento</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
+ <div id="content"><h1>Module: Alimento
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/alimento/version.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+
87
+ <h2>Constant Summary</h2>
88
+ <dl class="constants">
89
+
90
+ <dt id="VERSION-constant" class="">VERSION =
91
+
92
+ </dt>
93
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
94
+
95
+ </dl>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ </div>
106
+
107
+ <div id="footer">
108
+ Generated on Wed Nov 15 09:52:58 2017 by
109
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
+ 0.9.9 (ruby-2.3.0).
111
+ </div>
112
+
113
+ </div>
114
+ </body>
115
+ </html>
@@ -0,0 +1,683 @@
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: Alimentos
8
+
9
+ &mdash; Documentation by YARD 0.9.9
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 = "Alimentos";
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?1"></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 (A)</a> &raquo;
40
+
41
+
42
+ <span class="title">Alimentos</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
+ <div id="content"><h1>Class: Alimentos
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Alimentos</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd>Comparable</dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/alimento.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+ <div id="subclasses">
108
+ <h2>Direct Known Subclasses</h2>
109
+ <p class="children"><span class='object_link'><a href="AGrupos.html" title="AGrupos (class)">AGrupos</a></span></p>
110
+ </div>
111
+
112
+
113
+
114
+
115
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
116
+ <ul class="summary">
117
+
118
+ <li class="public ">
119
+ <span class="summary_signature">
120
+
121
+ <a href="#glucidos-instance_method" title="#glucidos (instance method)">#<strong>glucidos</strong> &#x21d2; Object </a>
122
+
123
+
124
+
125
+ </span>
126
+
127
+
128
+
129
+
130
+ <span class="note title readonly">readonly</span>
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+ <span class="summary_desc"><div class='inline'>
141
+ <p>Returns the value of attribute glucidos.</p>
142
+ </div></span>
143
+
144
+ </li>
145
+
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#lipidos-instance_method" title="#lipidos (instance method)">#<strong>lipidos</strong> &#x21d2; Object </a>
151
+
152
+
153
+
154
+ </span>
155
+
156
+
157
+
158
+
159
+ <span class="note title readonly">readonly</span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ <span class="summary_desc"><div class='inline'>
170
+ <p>Returns the value of attribute lipidos.</p>
171
+ </div></span>
172
+
173
+ </li>
174
+
175
+
176
+ <li class="public ">
177
+ <span class="summary_signature">
178
+
179
+ <a href="#nombre-instance_method" title="#nombre (instance method)">#<strong>nombre</strong> &#x21d2; Object </a>
180
+
181
+
182
+
183
+ </span>
184
+
185
+
186
+
187
+
188
+ <span class="note title readonly">readonly</span>
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+ <span class="summary_desc"><div class='inline'>
199
+ <p>Returns the value of attribute nombre.</p>
200
+ </div></span>
201
+
202
+ </li>
203
+
204
+
205
+ <li class="public ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#proteinas-instance_method" title="#proteinas (instance method)">#<strong>proteinas</strong> &#x21d2; Object </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+ <span class="note title readonly">readonly</span>
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <span class="summary_desc"><div class='inline'>
228
+ <p>Returns the value of attribute proteinas.</p>
229
+ </div></span>
230
+
231
+ </li>
232
+
233
+
234
+ </ul>
235
+
236
+
237
+
238
+
239
+
240
+ <h2>
241
+ Instance Method Summary
242
+ <small><a href="#" class="summary_toggle">collapse</a></small>
243
+ </h2>
244
+
245
+ <ul class="summary">
246
+
247
+ <li class="public ">
248
+ <span class="summary_signature">
249
+
250
+ <a href="#<=>-instance_method" title="#&lt;=&gt; (instance method)">#<strong>&lt;=&gt;</strong>(other) &#x21d2; Object </a>
251
+
252
+
253
+
254
+ </span>
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ <span class="summary_desc"><div class='inline'></div></span>
265
+
266
+ </li>
267
+
268
+
269
+ <li class="public ">
270
+ <span class="summary_signature">
271
+
272
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(nombre, proteinas, glucidos, lipidos) &#x21d2; Alimentos </a>
273
+
274
+
275
+
276
+ </span>
277
+
278
+
279
+ <span class="note title constructor">constructor</span>
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+ <span class="summary_desc"><div class='inline'>
289
+ <p>A new instance of Alimentos.</p>
290
+ </div></span>
291
+
292
+ </li>
293
+
294
+
295
+ <li class="public ">
296
+ <span class="summary_signature">
297
+
298
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a>
299
+
300
+
301
+
302
+ </span>
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+ <span class="summary_desc"><div class='inline'></div></span>
313
+
314
+ </li>
315
+
316
+
317
+ <li class="public ">
318
+ <span class="summary_signature">
319
+
320
+ <a href="#ve-instance_method" title="#ve (instance method)">#<strong>ve</strong> &#x21d2; Object </a>
321
+
322
+
323
+
324
+ </span>
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ <span class="summary_desc"><div class='inline'></div></span>
335
+
336
+ </li>
337
+
338
+
339
+ </ul>
340
+
341
+
342
+
343
+ <div id="constructor_details" class="method_details_list">
344
+ <h2>Constructor Details</h2>
345
+
346
+ <div class="method_details first">
347
+ <h3 class="signature first" id="initialize-instance_method">
348
+
349
+ #<strong>initialize</strong>(nombre, proteinas, glucidos, lipidos) &#x21d2; <tt><span class='object_link'><a href="" title="Alimentos (class)">Alimentos</a></span></tt>
350
+
351
+
352
+
353
+
354
+
355
+ </h3><div class="docstring">
356
+ <div class="discussion">
357
+
358
+ <p>Returns a new instance of Alimentos</p>
359
+
360
+
361
+ </div>
362
+ </div>
363
+ <div class="tags">
364
+
365
+
366
+ </div><table class="source_code">
367
+ <tr>
368
+ <td>
369
+ <pre class="lines">
370
+
371
+
372
+ 10
373
+ 11
374
+ 12
375
+ 13
376
+ 14</pre>
377
+ </td>
378
+ <td>
379
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 10</span>
380
+
381
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_nombre'>nombre</span><span class='comma'>,</span><span class='id identifier rubyid_proteinas'>proteinas</span><span class='comma'>,</span><span class='id identifier rubyid_glucidos'>glucidos</span><span class='comma'>,</span><span class='id identifier rubyid_lipidos'>lipidos</span><span class='rparen'>)</span>
382
+
383
+ <span class='ivar'>@nombre</span><span class='comma'>,</span><span class='ivar'>@proteinas</span><span class='comma'>,</span><span class='ivar'>@glucidos</span><span class='comma'>,</span><span class='ivar'>@lipidos</span><span class='op'>=</span> <span class='id identifier rubyid_nombre'>nombre</span><span class='comma'>,</span><span class='id identifier rubyid_proteinas'>proteinas</span><span class='comma'>,</span><span class='id identifier rubyid_glucidos'>glucidos</span><span class='comma'>,</span><span class='id identifier rubyid_lipidos'>lipidos</span>
384
+
385
+ <span class='kw'>end</span></pre>
386
+ </td>
387
+ </tr>
388
+ </table>
389
+ </div>
390
+
391
+ </div>
392
+
393
+ <div id="instance_attr_details" class="attr_details">
394
+ <h2>Instance Attribute Details</h2>
395
+
396
+
397
+ <span id=""></span>
398
+ <div class="method_details first">
399
+ <h3 class="signature first" id="glucidos-instance_method">
400
+
401
+ #<strong>glucidos</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
402
+
403
+
404
+
405
+
406
+
407
+ </h3><div class="docstring">
408
+ <div class="discussion">
409
+
410
+ <p>Returns the value of attribute glucidos</p>
411
+
412
+
413
+ </div>
414
+ </div>
415
+ <div class="tags">
416
+
417
+
418
+ </div><table class="source_code">
419
+ <tr>
420
+ <td>
421
+ <pre class="lines">
422
+
423
+
424
+ 8
425
+ 9
426
+ 10</pre>
427
+ </td>
428
+ <td>
429
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 8</span>
430
+
431
+ <span class='kw'>def</span> <span class='id identifier rubyid_glucidos'>glucidos</span>
432
+ <span class='ivar'>@glucidos</span>
433
+ <span class='kw'>end</span></pre>
434
+ </td>
435
+ </tr>
436
+ </table>
437
+ </div>
438
+
439
+
440
+ <span id=""></span>
441
+ <div class="method_details ">
442
+ <h3 class="signature " id="lipidos-instance_method">
443
+
444
+ #<strong>lipidos</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
445
+
446
+
447
+
448
+
449
+
450
+ </h3><div class="docstring">
451
+ <div class="discussion">
452
+
453
+ <p>Returns the value of attribute lipidos</p>
454
+
455
+
456
+ </div>
457
+ </div>
458
+ <div class="tags">
459
+
460
+
461
+ </div><table class="source_code">
462
+ <tr>
463
+ <td>
464
+ <pre class="lines">
465
+
466
+
467
+ 8
468
+ 9
469
+ 10</pre>
470
+ </td>
471
+ <td>
472
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 8</span>
473
+
474
+ <span class='kw'>def</span> <span class='id identifier rubyid_lipidos'>lipidos</span>
475
+ <span class='ivar'>@lipidos</span>
476
+ <span class='kw'>end</span></pre>
477
+ </td>
478
+ </tr>
479
+ </table>
480
+ </div>
481
+
482
+
483
+ <span id=""></span>
484
+ <div class="method_details ">
485
+ <h3 class="signature " id="nombre-instance_method">
486
+
487
+ #<strong>nombre</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
488
+
489
+
490
+
491
+
492
+
493
+ </h3><div class="docstring">
494
+ <div class="discussion">
495
+
496
+ <p>Returns the value of attribute nombre</p>
497
+
498
+
499
+ </div>
500
+ </div>
501
+ <div class="tags">
502
+
503
+
504
+ </div><table class="source_code">
505
+ <tr>
506
+ <td>
507
+ <pre class="lines">
508
+
509
+
510
+ 8
511
+ 9
512
+ 10</pre>
513
+ </td>
514
+ <td>
515
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 8</span>
516
+
517
+ <span class='kw'>def</span> <span class='id identifier rubyid_nombre'>nombre</span>
518
+ <span class='ivar'>@nombre</span>
519
+ <span class='kw'>end</span></pre>
520
+ </td>
521
+ </tr>
522
+ </table>
523
+ </div>
524
+
525
+
526
+ <span id=""></span>
527
+ <div class="method_details ">
528
+ <h3 class="signature " id="proteinas-instance_method">
529
+
530
+ #<strong>proteinas</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
531
+
532
+
533
+
534
+
535
+
536
+ </h3><div class="docstring">
537
+ <div class="discussion">
538
+
539
+ <p>Returns the value of attribute proteinas</p>
540
+
541
+
542
+ </div>
543
+ </div>
544
+ <div class="tags">
545
+
546
+
547
+ </div><table class="source_code">
548
+ <tr>
549
+ <td>
550
+ <pre class="lines">
551
+
552
+
553
+ 8
554
+ 9
555
+ 10</pre>
556
+ </td>
557
+ <td>
558
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 8</span>
559
+
560
+ <span class='kw'>def</span> <span class='id identifier rubyid_proteinas'>proteinas</span>
561
+ <span class='ivar'>@proteinas</span>
562
+ <span class='kw'>end</span></pre>
563
+ </td>
564
+ </tr>
565
+ </table>
566
+ </div>
567
+
568
+ </div>
569
+
570
+
571
+ <div id="instance_method_details" class="method_details_list">
572
+ <h2>Instance Method Details</h2>
573
+
574
+
575
+ <div class="method_details first">
576
+ <h3 class="signature first" id="<=>-instance_method">
577
+
578
+ #<strong>&lt;=&gt;</strong>(other) &#x21d2; <tt>Object</tt>
579
+
580
+
581
+
582
+
583
+
584
+ </h3><table class="source_code">
585
+ <tr>
586
+ <td>
587
+ <pre class="lines">
588
+
589
+
590
+ 16
591
+ 17
592
+ 18
593
+ 19</pre>
594
+ </td>
595
+ <td>
596
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 16</span>
597
+
598
+ <span class='kw'>def</span> <span class='op'>&lt;=&gt;</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
599
+ <span class='id identifier rubyid_nombre'>nombre</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&lt;=&gt;</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_nombre'>nombre</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span>
600
+ <span class='id identifier rubyid_ve'>ve</span> <span class='op'>&lt;=&gt;</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_ve'>ve</span>
601
+ <span class='kw'>end</span></pre>
602
+ </td>
603
+ </tr>
604
+ </table>
605
+ </div>
606
+
607
+ <div class="method_details ">
608
+ <h3 class="signature " id="to_s-instance_method">
609
+
610
+ #<strong>to_s</strong> &#x21d2; <tt>Object</tt>
611
+
612
+
613
+
614
+
615
+
616
+ </h3><table class="source_code">
617
+ <tr>
618
+ <td>
619
+ <pre class="lines">
620
+
621
+
622
+ 25
623
+ 26
624
+ 27
625
+ 28
626
+ 29</pre>
627
+ </td>
628
+ <td>
629
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 25</span>
630
+
631
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
632
+
633
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Alimento: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@nombre</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n------------------------------\nProteínas:\s</span><span class='embexpr_beg'>#{</span><span class='ivar'>@proteinas</span><span class='embexpr_end'>}</span><span class='tstring_content'>g\nGlúcidos:\s</span><span class='embexpr_beg'>#{</span><span class='ivar'>@glucidos</span><span class='embexpr_end'>}</span><span class='tstring_content'>g\nLípidos:\s</span><span class='embexpr_beg'>#{</span><span class='ivar'>@lipidos</span><span class='embexpr_end'>}</span><span class='tstring_content'>g</span><span class='tstring_end'>&quot;</span></span>
634
+
635
+ <span class='kw'>end</span></pre>
636
+ </td>
637
+ </tr>
638
+ </table>
639
+ </div>
640
+
641
+ <div class="method_details ">
642
+ <h3 class="signature " id="ve-instance_method">
643
+
644
+ #<strong>ve</strong> &#x21d2; <tt>Object</tt>
645
+
646
+
647
+
648
+
649
+
650
+ </h3><table class="source_code">
651
+ <tr>
652
+ <td>
653
+ <pre class="lines">
654
+
655
+
656
+ 21
657
+ 22
658
+ 23</pre>
659
+ </td>
660
+ <td>
661
+ <pre class="code"><span class="info file"># File 'lib/alimento.rb', line 21</span>
662
+
663
+ <span class='kw'>def</span> <span class='id identifier rubyid_ve'>ve</span>
664
+ <span class='ivar'>@proteinas</span><span class='op'>*</span><span class='int'>4</span><span class='op'>+</span><span class='ivar'>@glucidos</span><span class='op'>*</span><span class='int'>4</span><span class='op'>+</span><span class='ivar'>@lipidos</span><span class='op'>*</span><span class='int'>9</span>
665
+ <span class='kw'>end</span></pre>
666
+ </td>
667
+ </tr>
668
+ </table>
669
+ </div>
670
+
671
+ </div>
672
+
673
+ </div>
674
+
675
+ <div id="footer">
676
+ Generated on Wed Nov 15 09:52:59 2017 by
677
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
678
+ 0.9.9 (ruby-2.3.0).
679
+ </div>
680
+
681
+ </div>
682
+ </body>
683
+ </html>