pract06 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 (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +5 -0
  4. data/Documentacion_rdoc/Datos.html +96 -0
  5. data/Documentacion_rdoc/Dieta.html +647 -0
  6. data/Documentacion_rdoc/Edad.html +311 -0
  7. data/Documentacion_rdoc/Gemfile.html +93 -0
  8. data/Documentacion_rdoc/Gemfile_lock.html +175 -0
  9. data/Documentacion_rdoc/Lse.html +679 -0
  10. data/Documentacion_rdoc/Menu_alimentos.html +312 -0
  11. data/Documentacion_rdoc/Object.html +182 -0
  12. data/Documentacion_rdoc/Pract06.html +110 -0
  13. data/Documentacion_rdoc/Pract08.html +110 -0
  14. data/Documentacion_rdoc/Pract09.html +110 -0
  15. data/Documentacion_rdoc/README_md.html +123 -0
  16. data/Documentacion_rdoc/Rakefile.html +94 -0
  17. data/Documentacion_rdoc/created.rid +13 -0
  18. data/Documentacion_rdoc/css/fonts.css +167 -0
  19. data/Documentacion_rdoc/css/rdoc.css +590 -0
  20. data/Documentacion_rdoc/fonts/Lato-Light.ttf +0 -0
  21. data/Documentacion_rdoc/fonts/Lato-LightItalic.ttf +0 -0
  22. data/Documentacion_rdoc/fonts/Lato-Regular.ttf +0 -0
  23. data/Documentacion_rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  24. data/Documentacion_rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  25. data/Documentacion_rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  26. data/Documentacion_rdoc/images/add.png +0 -0
  27. data/Documentacion_rdoc/images/arrow_up.png +0 -0
  28. data/Documentacion_rdoc/images/brick.png +0 -0
  29. data/Documentacion_rdoc/images/brick_link.png +0 -0
  30. data/Documentacion_rdoc/images/bug.png +0 -0
  31. data/Documentacion_rdoc/images/bullet_black.png +0 -0
  32. data/Documentacion_rdoc/images/bullet_toggle_minus.png +0 -0
  33. data/Documentacion_rdoc/images/bullet_toggle_plus.png +0 -0
  34. data/Documentacion_rdoc/images/date.png +0 -0
  35. data/Documentacion_rdoc/images/delete.png +0 -0
  36. data/Documentacion_rdoc/images/find.png +0 -0
  37. data/Documentacion_rdoc/images/loadingAnimation.gif +0 -0
  38. data/Documentacion_rdoc/images/macFFBgHack.png +0 -0
  39. data/Documentacion_rdoc/images/package.png +0 -0
  40. data/Documentacion_rdoc/images/page_green.png +0 -0
  41. data/Documentacion_rdoc/images/page_white_text.png +0 -0
  42. data/Documentacion_rdoc/images/page_white_width.png +0 -0
  43. data/Documentacion_rdoc/images/plugin.png +0 -0
  44. data/Documentacion_rdoc/images/ruby.png +0 -0
  45. data/Documentacion_rdoc/images/tag_blue.png +0 -0
  46. data/Documentacion_rdoc/images/tag_green.png +0 -0
  47. data/Documentacion_rdoc/images/transparent.png +0 -0
  48. data/Documentacion_rdoc/images/wrench.png +0 -0
  49. data/Documentacion_rdoc/images/wrench_orange.png +0 -0
  50. data/Documentacion_rdoc/images/zoom.png +0 -0
  51. data/Documentacion_rdoc/index.html +135 -0
  52. data/Documentacion_rdoc/js/darkfish.js +161 -0
  53. data/Documentacion_rdoc/js/jquery.js +4 -0
  54. data/Documentacion_rdoc/js/navigation.js +142 -0
  55. data/Documentacion_rdoc/js/navigation.js.gz +0 -0
  56. data/Documentacion_rdoc/js/search.js +109 -0
  57. data/Documentacion_rdoc/js/search_index.js +1 -0
  58. data/Documentacion_rdoc/js/search_index.js.gz +0 -0
  59. data/Documentacion_rdoc/js/searcher.js +229 -0
  60. data/Documentacion_rdoc/js/searcher.js.gz +0 -0
  61. data/Documentacion_rdoc/pract06_gemspec.html +127 -0
  62. data/Documentacion_rdoc/table_of_contents.html +248 -0
  63. data/Gemfile +4 -0
  64. data/Guardfile +82 -0
  65. data/README.md +19 -0
  66. data/Rakefile +6 -0
  67. data/bin/console +14 -0
  68. data/bin/setup +8 -0
  69. data/lib/pract06.rb +16 -0
  70. data/lib/pract06/Dieta.rb +122 -0
  71. data/lib/pract06/menu.rb +164 -0
  72. data/lib/pract06/menu_dieta.rb +162 -0
  73. data/lib/pract06/version.rb +15 -0
  74. data/pract06.gemspec +39 -0
  75. metadata +201 -0
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Pract06 - 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="module">
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
+
59
+
60
+
61
+
62
+ </div>
63
+ </nav>
64
+
65
+ <main role="main" aria-labelledby="module-Pract06">
66
+ <h1 id="module-Pract06" class="module">
67
+ module Pract06
68
+ </h1>
69
+
70
+ <section class="description">
71
+
72
+ </section>
73
+
74
+
75
+
76
+
77
+ <section id="5Buntitled-5D" class="documentation-section">
78
+
79
+
80
+
81
+
82
+
83
+ <section class="constants-list">
84
+ <header>
85
+ <h3>Constants</h3>
86
+ </header>
87
+ <dl>
88
+
89
+ <dt id="VERSION">VERSION
90
+
91
+ <dd>
92
+
93
+
94
+ </dl>
95
+ </section>
96
+
97
+
98
+
99
+
100
+
101
+ </section>
102
+ </main>
103
+
104
+
105
+ <footer id="validator-badges" role="contentinfo">
106
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
107
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
108
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
109
+ </footer>
110
+
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Pract08 - 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="module">
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
+
59
+
60
+
61
+
62
+ </div>
63
+ </nav>
64
+
65
+ <main role="main" aria-labelledby="module-Pract08">
66
+ <h1 id="module-Pract08" class="module">
67
+ module Pract08
68
+ </h1>
69
+
70
+ <section class="description">
71
+
72
+ </section>
73
+
74
+
75
+
76
+
77
+ <section id="5Buntitled-5D" class="documentation-section">
78
+
79
+
80
+
81
+
82
+
83
+ <section class="constants-list">
84
+ <header>
85
+ <h3>Constants</h3>
86
+ </header>
87
+ <dl>
88
+
89
+ <dt id="VERSION">VERSION
90
+
91
+ <dd>
92
+
93
+
94
+ </dl>
95
+ </section>
96
+
97
+
98
+
99
+
100
+
101
+ </section>
102
+ </main>
103
+
104
+
105
+ <footer id="validator-badges" role="contentinfo">
106
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
107
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
108
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
109
+ </footer>
110
+
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Pract09 - 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="module">
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
+
59
+
60
+
61
+
62
+ </div>
63
+ </nav>
64
+
65
+ <main role="main" aria-labelledby="module-Pract09">
66
+ <h1 id="module-Pract09" class="module">
67
+ module Pract09
68
+ </h1>
69
+
70
+ <section class="description">
71
+
72
+ </section>
73
+
74
+
75
+
76
+
77
+ <section id="5Buntitled-5D" class="documentation-section">
78
+
79
+
80
+
81
+
82
+
83
+ <section class="constants-list">
84
+ <header>
85
+ <h3>Constants</h3>
86
+ </header>
87
+ <dl>
88
+
89
+ <dt id="VERSION">VERSION
90
+
91
+ <dd>
92
+
93
+
94
+ </dl>
95
+ </section>
96
+
97
+
98
+
99
+
100
+
101
+ </section>
102
+ </main>
103
+
104
+
105
+ <footer id="validator-badges" role="contentinfo">
106
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
107
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
108
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
109
+ </footer>
110
+
@@ -0,0 +1,123 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - 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
+ <div class="nav-section">
56
+ <h3>Table of Contents</h3>
57
+
58
+ <ul class="link-list" role="directory">
59
+ <li><a href="#label-Pract09">Pract09</a>
60
+ <li><a href="#label-Uso">Uso</a>
61
+ <li><a href="#label-En+la+rama+master+esta+todo+el+desarrollo.">En la rama master esta todo el desarrollo.</a>
62
+ <li><a href="#label-Se+trata+de+la+practica+9.">Se trata de la practica 9.</a>
63
+ <li><a href="#label-Se+han+desarrollado+una+serie+de+pruebas+para+comprobar">Se han desarrollado una serie de pruebas para comprobar</a>
64
+ <li><a href="#label-el+correcto+funcionamiento+de+las+clases+con+los+mixin+Enumerable+y+Comparable+incluidos.">el correcto funcionamiento de las clases con los mixin Enumerable y Comparable incluidos.</a>
65
+ <li><a href="#label-reutilizando+el+codigo+de+las+practicas+anteriores.">reutilizando el codigo de las practicas anteriores.</a>
66
+ </ul>
67
+ </div>
68
+
69
+
70
+ <div id="project-metadata">
71
+ <div id="fileindex-section" class="nav-section">
72
+ <h3>Pages</h3>
73
+
74
+ <ul class="link-list">
75
+
76
+ <li><a href="./Gemfile.html">Gemfile</a>
77
+
78
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
79
+
80
+ <li><a href="./README_md.html">README</a>
81
+
82
+ <li><a href="./Rakefile.html">Rakefile</a>
83
+
84
+ <li><a href="./pract06_gemspec.html">pract06.gemspec</a>
85
+
86
+ </ul>
87
+ </div>
88
+
89
+ </div>
90
+ </nav>
91
+
92
+ <main role="main" aria-label="Page README.md">
93
+
94
+ <h1 id="label-Pract09"><a href="Pract09.html">Pract09</a><span><a href="#label-Pract09">&para;</a> <a href="#top">&uarr;</a></span></h1>
95
+
96
+ <p><em>Autora:</em></p>
97
+
98
+ <p>## <em>Mayra Garcia</em></p>
99
+
100
+ <h2 id="label-Uso">Uso<span><a href="#label-Uso">&para;</a> <a href="#top">&uarr;</a></span></h2>
101
+
102
+ <p>Estando en el directorio principal pract09, se puede hacer uso de las
103
+ pruebas a través del comando: <code>ruby rspec </code></p>
104
+
105
+ <h2 id="label-En+la+rama+master+esta+todo+el+desarrollo.">En la rama master esta todo el desarrollo.<span><a href="#label-En+la+rama+master+esta+todo+el+desarrollo.">&para;</a> <a href="#top">&uarr;</a></span></h2>
106
+
107
+ <h3 id="label-Se+trata+de+la+practica+9.">Se trata de la practica 9.<span><a href="#label-Se+trata+de+la+practica+9.">&para;</a> <a href="#top">&uarr;</a></span></h3>
108
+
109
+ <h3 id="label-Se+han+desarrollado+una+serie+de+pruebas+para+comprobar">Se han desarrollado una serie de pruebas para comprobar<span><a href="#label-Se+han+desarrollado+una+serie+de+pruebas+para+comprobar">&para;</a> <a href="#top">&uarr;</a></span></h3>
110
+
111
+ <h3 id="label-el+correcto+funcionamiento+de+las+clases+con+los+mixin+Enumerable+y+Comparable+incluidos.">el correcto funcionamiento de las clases con los mixin Enumerable y Comparable incluidos.<span><a href="#label-el+correcto+funcionamiento+de+las+clases+con+los+mixin+Enumerable+y+Comparable+incluidos.">&para;</a> <a href="#top">&uarr;</a></span></h3>
112
+
113
+ <h3 id="label-reutilizando+el+codigo+de+las+practicas+anteriores.">reutilizando el codigo de las practicas anteriores.<span><a href="#label-reutilizando+el+codigo+de+las+practicas+anteriores.">&para;</a> <a href="#top">&uarr;</a></span></h3>
114
+ </main>
115
+
116
+
117
+
118
+ <footer id="validator-badges" role="contentinfo">
119
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
120
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
121
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
122
+ </footer>
123
+