gema-alu0101040882 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +8 -0
  4. data/.rake_tasks~ +7 -0
  5. data/.rspec +3 -0
  6. data/.travis.yml +5 -0
  7. data/.yardoc/checksums +9 -0
  8. data/.yardoc/complete +0 -0
  9. data/.yardoc/object_types +0 -0
  10. data/.yardoc/objects/root.dat +0 -0
  11. data/.yardoc/proxy_types +0 -0
  12. data/Gemfile +6 -0
  13. data/Gemfile.lock +111 -0
  14. data/Guardfile +82 -0
  15. data/README.md +32 -0
  16. data/Rakefile +8 -0
  17. data/bin/bundle +105 -0
  18. data/bin/console +14 -0
  19. data/bin/htmldiff +29 -0
  20. data/bin/ldiff +29 -0
  21. data/bin/rake +29 -0
  22. data/bin/rspec +29 -0
  23. data/bin/setup +8 -0
  24. data/doc/Dll.html +1502 -0
  25. data/doc/Dll/Node.html +398 -0
  26. data/doc/Etiqueta_nut.html +1717 -0
  27. data/doc/Gema.html +134 -0
  28. data/doc/Individuo.html +289 -0
  29. data/doc/Menu_dietetico.html +483 -0
  30. data/doc/Paciente.html +233 -0
  31. data/doc/Paciente_obeso.html +1386 -0
  32. data/doc/Valores_nut.html +777 -0
  33. data/doc/_index.html +208 -0
  34. data/doc/class_list.html +51 -0
  35. data/doc/css/common.css +1 -0
  36. data/doc/css/full_list.css +58 -0
  37. data/doc/css/style.css +496 -0
  38. data/doc/file.README.html +115 -0
  39. data/doc/file_list.html +56 -0
  40. data/doc/frames.html +17 -0
  41. data/doc/index.html +115 -0
  42. data/doc/js/app.js +292 -0
  43. data/doc/js/full_list.js +216 -0
  44. data/doc/js/jquery.js +4 -0
  45. data/doc/method_list.html +651 -0
  46. data/doc/top-level-namespace.html +112 -0
  47. data/gema.gemspec +43 -0
  48. data/lib/gema.rb +14 -0
  49. data/lib/gema/etiqueta_nut.rb +46 -0
  50. data/lib/gema/individuo.rb +14 -0
  51. data/lib/gema/list.rb +212 -0
  52. data/lib/gema/menu.rb +134 -0
  53. data/lib/gema/menu_dietetico.rb +37 -0
  54. data/lib/gema/paciente.rb +12 -0
  55. data/lib/gema/paciente_obeso.rb +75 -0
  56. data/lib/gema/valores_nut.rb +40 -0
  57. data/lib/gema/version.rb +4 -0
  58. metadata +197 -0
@@ -0,0 +1,777 @@
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: Valores_nut
8
+
9
+ &mdash; Documentation by YARD 0.9.16
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 = "Valores_nut";
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 (V)</a> &raquo;
40
+
41
+
42
+ <span class="title">Valores_nut</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: Valores_nut
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">Valores_nut</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/gema/valores_nut.rb</dd>
103
+ </dl>
104
+
105
+ </div>
106
+
107
+ <h2>Overview</h2><div class="docstring">
108
+ <div class="discussion">
109
+
110
+ <p>Valoracion nutricional de un individuo</p>
111
+
112
+
113
+ </div>
114
+ </div>
115
+ <div class="tags">
116
+
117
+
118
+ </div>
119
+
120
+
121
+
122
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
123
+ <ul class="summary">
124
+
125
+ <li class="public ">
126
+ <span class="summary_signature">
127
+
128
+ <a href="#edad-instance_method" title="#edad (instance method)">#<strong>edad</strong> &#x21d2; Object </a>
129
+
130
+
131
+
132
+ </span>
133
+
134
+
135
+
136
+
137
+ <span class="note title readonly">readonly</span>
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'>
148
+ <p>Returns the value of attribute edad.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#genero-instance_method" title="#genero (instance method)">#<strong>genero</strong> &#x21d2; Object </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+
165
+
166
+ <span class="note title readonly">readonly</span>
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <span class="summary_desc"><div class='inline'>
177
+ <p>Returns the value of attribute genero.</p>
178
+ </div></span>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="public ">
184
+ <span class="summary_signature">
185
+
186
+ <a href="#nombre-instance_method" title="#nombre (instance method)">#<strong>nombre</strong> &#x21d2; Object </a>
187
+
188
+
189
+
190
+ </span>
191
+
192
+
193
+
194
+
195
+ <span class="note title readonly">readonly</span>
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ <span class="summary_desc"><div class='inline'>
206
+ <p>Returns the value of attribute nombre.</p>
207
+ </div></span>
208
+
209
+ </li>
210
+
211
+
212
+ </ul>
213
+
214
+
215
+
216
+
217
+
218
+ <h2>
219
+ Instance Method Summary
220
+ <small><a href="#" class="summary_toggle">collapse</a></small>
221
+ </h2>
222
+
223
+ <ul class="summary">
224
+
225
+ <li class="public ">
226
+ <span class="summary_signature">
227
+
228
+ <a href="#<=>-instance_method" title="#&lt;=&gt; (instance method)">#<strong>&lt;=&gt;</strong>(other) &#x21d2; Object </a>
229
+
230
+
231
+
232
+ </span>
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+ <span class="summary_desc"><div class='inline'>
243
+ <p>Metodo utilizado para comparaciones de valoraciones nutricionales.</p>
244
+ </div></span>
245
+
246
+ </li>
247
+
248
+
249
+ <li class="public ">
250
+ <span class="summary_signature">
251
+
252
+ <a href="#grasa-instance_method" title="#grasa (instance method)">#<strong>grasa</strong>(sexo, peso, talla) &#x21d2; Object </a>
253
+
254
+
255
+
256
+ </span>
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+ <span class="summary_desc"><div class='inline'>
267
+ <p>Calcula la grasa de un individuo.</p>
268
+ </div></span>
269
+
270
+ </li>
271
+
272
+
273
+ <li class="public ">
274
+ <span class="summary_signature">
275
+
276
+ <a href="#imc-instance_method" title="#imc (instance method)">#<strong>imc</strong>(peso, talla) &#x21d2; Object </a>
277
+
278
+
279
+
280
+ </span>
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+ <span class="summary_desc"><div class='inline'>
291
+ <p>Calcula el Imc de un individuo.</p>
292
+ </div></span>
293
+
294
+ </li>
295
+
296
+
297
+ <li class="public ">
298
+ <span class="summary_signature">
299
+
300
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(nombre, edad, genero) &#x21d2; Valores_nut </a>
301
+
302
+
303
+
304
+ </span>
305
+
306
+
307
+ <span class="note title constructor">constructor</span>
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'>
317
+ <p>A new instance of Valores_nut.</p>
318
+ </div></span>
319
+
320
+ </li>
321
+
322
+
323
+ <li class="public ">
324
+ <span class="summary_signature">
325
+
326
+ <a href="#rcc-instance_method" title="#rcc (instance method)">#<strong>rcc</strong>(c_cintura, c_cadera) &#x21d2; Object </a>
327
+
328
+
329
+
330
+ </span>
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+ <span class="summary_desc"><div class='inline'>
341
+ <p>Calcula el rcc de un individuo.</p>
342
+ </div></span>
343
+
344
+ </li>
345
+
346
+
347
+ <li class="public ">
348
+ <span class="summary_signature">
349
+
350
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a>
351
+
352
+
353
+
354
+ </span>
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ <span class="summary_desc"><div class='inline'>
365
+ <p>Convierte la valoracion nutricional a una cadena.</p>
366
+ </div></span>
367
+
368
+ </li>
369
+
370
+
371
+ </ul>
372
+
373
+
374
+
375
+ <div id="constructor_details" class="method_details_list">
376
+ <h2>Constructor Details</h2>
377
+
378
+ <div class="method_details first">
379
+ <h3 class="signature first" id="initialize-instance_method">
380
+
381
+ #<strong>initialize</strong>(nombre, edad, genero) &#x21d2; <tt><span class='object_link'><a href="" title="Valores_nut (class)">Valores_nut</a></span></tt>
382
+
383
+
384
+
385
+
386
+
387
+ </h3><div class="docstring">
388
+ <div class="discussion">
389
+
390
+ <p>Returns a new instance of Valores_nut</p>
391
+
392
+
393
+ </div>
394
+ </div>
395
+ <div class="tags">
396
+
397
+
398
+ </div><table class="source_code">
399
+ <tr>
400
+ <td>
401
+ <pre class="lines">
402
+
403
+
404
+ 10
405
+ 11
406
+ 12</pre>
407
+ </td>
408
+ <td>
409
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 10</span>
410
+
411
+ <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_edad'>edad</span><span class='comma'>,</span><span class='id identifier rubyid_genero'>genero</span><span class='rparen'>)</span>
412
+ <span class='ivar'>@nombre</span><span class='comma'>,</span> <span class='ivar'>@edad</span><span class='comma'>,</span> <span class='ivar'>@genero</span> <span class='op'>=</span> <span class='id identifier rubyid_nombre'>nombre</span><span class='comma'>,</span> <span class='id identifier rubyid_edad'>edad</span><span class='comma'>,</span> <span class='id identifier rubyid_genero'>genero</span>
413
+ <span class='kw'>end</span></pre>
414
+ </td>
415
+ </tr>
416
+ </table>
417
+ </div>
418
+
419
+ </div>
420
+
421
+ <div id="instance_attr_details" class="attr_details">
422
+ <h2>Instance Attribute Details</h2>
423
+
424
+
425
+ <span id=""></span>
426
+ <div class="method_details first">
427
+ <h3 class="signature first" id="edad-instance_method">
428
+
429
+ #<strong>edad</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
430
+
431
+
432
+
433
+
434
+
435
+ </h3><div class="docstring">
436
+ <div class="discussion">
437
+
438
+ <p>Returns the value of attribute edad</p>
439
+
440
+
441
+ </div>
442
+ </div>
443
+ <div class="tags">
444
+
445
+
446
+ </div><table class="source_code">
447
+ <tr>
448
+ <td>
449
+ <pre class="lines">
450
+
451
+
452
+ 7
453
+ 8
454
+ 9</pre>
455
+ </td>
456
+ <td>
457
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 7</span>
458
+
459
+ <span class='kw'>def</span> <span class='id identifier rubyid_edad'>edad</span>
460
+ <span class='ivar'>@edad</span>
461
+ <span class='kw'>end</span></pre>
462
+ </td>
463
+ </tr>
464
+ </table>
465
+ </div>
466
+
467
+
468
+ <span id=""></span>
469
+ <div class="method_details ">
470
+ <h3 class="signature " id="genero-instance_method">
471
+
472
+ #<strong>genero</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
473
+
474
+
475
+
476
+
477
+
478
+ </h3><div class="docstring">
479
+ <div class="discussion">
480
+
481
+ <p>Returns the value of attribute genero</p>
482
+
483
+
484
+ </div>
485
+ </div>
486
+ <div class="tags">
487
+
488
+
489
+ </div><table class="source_code">
490
+ <tr>
491
+ <td>
492
+ <pre class="lines">
493
+
494
+
495
+ 7
496
+ 8
497
+ 9</pre>
498
+ </td>
499
+ <td>
500
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 7</span>
501
+
502
+ <span class='kw'>def</span> <span class='id identifier rubyid_genero'>genero</span>
503
+ <span class='ivar'>@genero</span>
504
+ <span class='kw'>end</span></pre>
505
+ </td>
506
+ </tr>
507
+ </table>
508
+ </div>
509
+
510
+
511
+ <span id=""></span>
512
+ <div class="method_details ">
513
+ <h3 class="signature " id="nombre-instance_method">
514
+
515
+ #<strong>nombre</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
516
+
517
+
518
+
519
+
520
+
521
+ </h3><div class="docstring">
522
+ <div class="discussion">
523
+
524
+ <p>Returns the value of attribute nombre</p>
525
+
526
+
527
+ </div>
528
+ </div>
529
+ <div class="tags">
530
+
531
+
532
+ </div><table class="source_code">
533
+ <tr>
534
+ <td>
535
+ <pre class="lines">
536
+
537
+
538
+ 7
539
+ 8
540
+ 9</pre>
541
+ </td>
542
+ <td>
543
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 7</span>
544
+
545
+ <span class='kw'>def</span> <span class='id identifier rubyid_nombre'>nombre</span>
546
+ <span class='ivar'>@nombre</span>
547
+ <span class='kw'>end</span></pre>
548
+ </td>
549
+ </tr>
550
+ </table>
551
+ </div>
552
+
553
+ </div>
554
+
555
+
556
+ <div id="instance_method_details" class="method_details_list">
557
+ <h2>Instance Method Details</h2>
558
+
559
+
560
+ <div class="method_details first">
561
+ <h3 class="signature first" id="<=>-instance_method">
562
+
563
+ #<strong>&lt;=&gt;</strong>(other) &#x21d2; <tt>Object</tt>
564
+
565
+
566
+
567
+
568
+
569
+ </h3><div class="docstring">
570
+ <div class="discussion">
571
+
572
+ <p>Metodo utilizado para comparaciones de valoraciones nutricionales</p>
573
+
574
+
575
+ </div>
576
+ </div>
577
+ <div class="tags">
578
+
579
+
580
+ </div><table class="source_code">
581
+ <tr>
582
+ <td>
583
+ <pre class="lines">
584
+
585
+
586
+ 35
587
+ 36
588
+ 37</pre>
589
+ </td>
590
+ <td>
591
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 35</span>
592
+
593
+ <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>
594
+ <span class='ivar'>@nombre</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>
595
+ <span class='kw'>end</span></pre>
596
+ </td>
597
+ </tr>
598
+ </table>
599
+ </div>
600
+
601
+ <div class="method_details ">
602
+ <h3 class="signature " id="grasa-instance_method">
603
+
604
+ #<strong>grasa</strong>(sexo, peso, talla) &#x21d2; <tt>Object</tt>
605
+
606
+
607
+
608
+
609
+
610
+ </h3><div class="docstring">
611
+ <div class="discussion">
612
+
613
+ <p>Calcula la grasa de un individuo</p>
614
+
615
+
616
+ </div>
617
+ </div>
618
+ <div class="tags">
619
+
620
+
621
+ </div><table class="source_code">
622
+ <tr>
623
+ <td>
624
+ <pre class="lines">
625
+
626
+
627
+ 20
628
+ 21
629
+ 22</pre>
630
+ </td>
631
+ <td>
632
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 20</span>
633
+
634
+ <span class='kw'>def</span> <span class='id identifier rubyid_grasa'>grasa</span><span class='lparen'>(</span><span class='id identifier rubyid_sexo'>sexo</span><span class='comma'>,</span><span class='id identifier rubyid_peso'>peso</span><span class='comma'>,</span><span class='id identifier rubyid_talla'>talla</span><span class='rparen'>)</span>
635
+ <span class='ivar'>@grasa</span> <span class='op'>=</span> <span class='float'>1.2</span><span class='op'>*</span><span class='id identifier rubyid_imc'>imc</span><span class='lparen'>(</span><span class='id identifier rubyid_peso'>peso</span><span class='comma'>,</span><span class='id identifier rubyid_talla'>talla</span><span class='rparen'>)</span><span class='op'>+</span><span class='float'>0.23</span><span class='op'>*</span><span class='ivar'>@edad</span><span class='op'>-</span><span class='float'>10.8</span><span class='op'>*</span><span class='id identifier rubyid_sexo'>sexo</span><span class='op'>-</span><span class='float'>5.4</span>
636
+ <span class='kw'>end</span></pre>
637
+ </td>
638
+ </tr>
639
+ </table>
640
+ </div>
641
+
642
+ <div class="method_details ">
643
+ <h3 class="signature " id="imc-instance_method">
644
+
645
+ #<strong>imc</strong>(peso, talla) &#x21d2; <tt>Object</tt>
646
+
647
+
648
+
649
+
650
+
651
+ </h3><div class="docstring">
652
+ <div class="discussion">
653
+
654
+ <p>Calcula el Imc de un individuo</p>
655
+
656
+
657
+ </div>
658
+ </div>
659
+ <div class="tags">
660
+
661
+
662
+ </div><table class="source_code">
663
+ <tr>
664
+ <td>
665
+ <pre class="lines">
666
+
667
+
668
+ 15
669
+ 16
670
+ 17</pre>
671
+ </td>
672
+ <td>
673
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 15</span>
674
+
675
+ <span class='kw'>def</span> <span class='id identifier rubyid_imc'>imc</span><span class='lparen'>(</span><span class='id identifier rubyid_peso'>peso</span><span class='comma'>,</span><span class='id identifier rubyid_talla'>talla</span><span class='rparen'>)</span>
676
+ <span class='ivar'>@imc</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_peso'>peso</span><span class='op'>/</span><span class='lparen'>(</span><span class='id identifier rubyid_talla'>talla</span><span class='op'>*</span><span class='id identifier rubyid_talla'>talla</span><span class='rparen'>)</span><span class='rparen'>)</span>
677
+ <span class='kw'>end</span></pre>
678
+ </td>
679
+ </tr>
680
+ </table>
681
+ </div>
682
+
683
+ <div class="method_details ">
684
+ <h3 class="signature " id="rcc-instance_method">
685
+
686
+ #<strong>rcc</strong>(c_cintura, c_cadera) &#x21d2; <tt>Object</tt>
687
+
688
+
689
+
690
+
691
+
692
+ </h3><div class="docstring">
693
+ <div class="discussion">
694
+
695
+ <p>Calcula el rcc de un individuo</p>
696
+
697
+
698
+ </div>
699
+ </div>
700
+ <div class="tags">
701
+
702
+
703
+ </div><table class="source_code">
704
+ <tr>
705
+ <td>
706
+ <pre class="lines">
707
+
708
+
709
+ 25
710
+ 26
711
+ 27</pre>
712
+ </td>
713
+ <td>
714
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 25</span>
715
+
716
+ <span class='kw'>def</span> <span class='id identifier rubyid_rcc'>rcc</span><span class='lparen'>(</span><span class='id identifier rubyid_c_cintura'>c_cintura</span><span class='comma'>,</span><span class='id identifier rubyid_c_cadera'>c_cadera</span><span class='rparen'>)</span>
717
+ <span class='ivar'>@rcc</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_c_cintura'>c_cintura</span><span class='op'>/</span><span class='id identifier rubyid_c_cadera'>c_cadera</span><span class='rparen'>)</span>
718
+ <span class='kw'>end</span></pre>
719
+ </td>
720
+ </tr>
721
+ </table>
722
+ </div>
723
+
724
+ <div class="method_details ">
725
+ <h3 class="signature " id="to_s-instance_method">
726
+
727
+ #<strong>to_s</strong> &#x21d2; <tt>Object</tt>
728
+
729
+
730
+
731
+
732
+
733
+ </h3><div class="docstring">
734
+ <div class="discussion">
735
+
736
+ <p>Convierte la valoracion nutricional a una cadena</p>
737
+
738
+
739
+ </div>
740
+ </div>
741
+ <div class="tags">
742
+
743
+
744
+ </div><table class="source_code">
745
+ <tr>
746
+ <td>
747
+ <pre class="lines">
748
+
749
+
750
+ 30
751
+ 31
752
+ 32</pre>
753
+ </td>
754
+ <td>
755
+ <pre class="code"><span class="info file"># File 'lib/gema/valores_nut.rb', line 30</span>
756
+
757
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
758
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Nombre:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@nombre</span><span class='embexpr_end'>}</span><span class='tstring_content'>\nEdad:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@edad</span><span class='embexpr_end'>}</span><span class='tstring_content'>\nGenero:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@genero</span><span class='embexpr_end'>}</span><span class='tstring_content'>\nImc:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@imc</span><span class='embexpr_end'>}</span><span class='tstring_content'>\n%Grasa:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@grasa</span><span class='embexpr_end'>}</span><span class='tstring_content'>\nRcc:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@rcc</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
759
+ <span class='kw'>end</span></pre>
760
+ </td>
761
+ </tr>
762
+ </table>
763
+ </div>
764
+
765
+ </div>
766
+
767
+ </div>
768
+
769
+ <div id="footer">
770
+ Generated on Wed Dec 19 11:49:27 2018 by
771
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
772
+ 0.9.16 (ruby-2.5.1).
773
+ </div>
774
+
775
+ </div>
776
+ </body>
777
+ </html>