alimentos-alu0100648782 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +9 -0
  4. data/.rake_tasks~ +7 -0
  5. data/.rspec +2 -0
  6. data/.travis.yml +5 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +7 -0
  9. data/Guardfile +82 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +50 -0
  12. data/Rakefile +6 -0
  13. data/alimentos.gemspec +45 -0
  14. data/bin/bundler +17 -0
  15. data/bin/console +14 -0
  16. data/bin/htmldiff +17 -0
  17. data/bin/ldiff +17 -0
  18. data/bin/rake +17 -0
  19. data/bin/rspec +17 -0
  20. data/bin/setup +8 -0
  21. data/docs/Alimento.html +469 -0
  22. data/docs/Alimentos.html +109 -0
  23. data/docs/CODE_OF_CONDUCT_md.html +195 -0
  24. data/docs/Gemfile.html +103 -0
  25. data/docs/Gemfile_lock.html +180 -0
  26. data/docs/Grupo.html +383 -0
  27. data/docs/Grupo_bebidas.html +102 -0
  28. data/docs/Grupo_carbohidratos.html +102 -0
  29. data/docs/Grupo_carnes.html +102 -0
  30. data/docs/Grupo_frutas.html +102 -0
  31. data/docs/Grupo_grasos.html +102 -0
  32. data/docs/Grupo_lacteos.html +102 -0
  33. data/docs/Grupo_pescados.html +102 -0
  34. data/docs/Grupo_verduras.html +102 -0
  35. data/docs/Guardfile.html +180 -0
  36. data/docs/LICENSE_txt.html +117 -0
  37. data/docs/Lista.html +457 -0
  38. data/docs/Object.html +116 -0
  39. data/docs/README_md.html +177 -0
  40. data/docs/Rakefile.html +101 -0
  41. data/docs/alimentos_gemspec.html +135 -0
  42. data/docs/bin/setup.html +101 -0
  43. data/docs/created.rid +23 -0
  44. data/docs/css/fonts.css +167 -0
  45. data/docs/css/rdoc.css +590 -0
  46. data/docs/fonts/Lato-Light.ttf +0 -0
  47. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  48. data/docs/fonts/Lato-Regular.ttf +0 -0
  49. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  50. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  51. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  52. data/docs/images/add.png +0 -0
  53. data/docs/images/arrow_up.png +0 -0
  54. data/docs/images/brick.png +0 -0
  55. data/docs/images/brick_link.png +0 -0
  56. data/docs/images/bug.png +0 -0
  57. data/docs/images/bullet_black.png +0 -0
  58. data/docs/images/bullet_toggle_minus.png +0 -0
  59. data/docs/images/bullet_toggle_plus.png +0 -0
  60. data/docs/images/date.png +0 -0
  61. data/docs/images/delete.png +0 -0
  62. data/docs/images/find.png +0 -0
  63. data/docs/images/loadingAnimation.gif +0 -0
  64. data/docs/images/macFFBgHack.png +0 -0
  65. data/docs/images/package.png +0 -0
  66. data/docs/images/page_green.png +0 -0
  67. data/docs/images/page_white_text.png +0 -0
  68. data/docs/images/page_white_width.png +0 -0
  69. data/docs/images/plugin.png +0 -0
  70. data/docs/images/ruby.png +0 -0
  71. data/docs/images/tag_blue.png +0 -0
  72. data/docs/images/tag_green.png +0 -0
  73. data/docs/images/transparent.png +0 -0
  74. data/docs/images/wrench.png +0 -0
  75. data/docs/images/wrench_orange.png +0 -0
  76. data/docs/images/zoom.png +0 -0
  77. data/docs/index.html +129 -0
  78. data/docs/js/darkfish.js +161 -0
  79. data/docs/js/jquery.js +4 -0
  80. data/docs/js/navigation.js +142 -0
  81. data/docs/js/navigation.js.gz +0 -0
  82. data/docs/js/search.js +109 -0
  83. data/docs/js/search_index.js +1 -0
  84. data/docs/js/search_index.js.gz +0 -0
  85. data/docs/js/searcher.js +228 -0
  86. data/docs/js/searcher.js.gz +0 -0
  87. data/docs/table_of_contents.html +236 -0
  88. data/lib/alimentos.rb +11 -0
  89. data/lib/alimentos/alimento.rb +40 -0
  90. data/lib/alimentos/calculadora.rb +52 -0
  91. data/lib/alimentos/comida.rb +58 -0
  92. data/lib/alimentos/grupo.rb +54 -0
  93. data/lib/alimentos/harvard_dsl.rb +160 -0
  94. data/lib/alimentos/individuo.rb +43 -0
  95. data/lib/alimentos/lista.rb +65 -0
  96. data/lib/alimentos/version.rb +3 -0
  97. metadata +237 -0
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_carbohidratos - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Grupo.html">Grupo</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Grupo_carbohidratos">
72
+ <h1 id="class-Grupo_carbohidratos" class="class">
73
+ class Grupo_carbohidratos
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ </section>
94
+ </main>
95
+
96
+
97
+ <footer id="validator-badges" role="contentinfo">
98
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
99
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
100
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
101
+ </footer>
102
+
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_carnes - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Grupo.html">Grupo</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Grupo_carnes">
72
+ <h1 id="class-Grupo_carnes" class="class">
73
+ class Grupo_carnes
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ </section>
94
+ </main>
95
+
96
+
97
+ <footer id="validator-badges" role="contentinfo">
98
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
99
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
100
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
101
+ </footer>
102
+
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_frutas - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Grupo.html">Grupo</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Grupo_frutas">
72
+ <h1 id="class-Grupo_frutas" class="class">
73
+ class Grupo_frutas
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ </section>
94
+ </main>
95
+
96
+
97
+ <footer id="validator-badges" role="contentinfo">
98
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
99
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
100
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
101
+ </footer>
102
+
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_grasos - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Grupo.html">Grupo</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Grupo_grasos">
72
+ <h1 id="class-Grupo_grasos" class="class">
73
+ class Grupo_grasos
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ </section>
94
+ </main>
95
+
96
+
97
+ <footer id="validator-badges" role="contentinfo">
98
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
99
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
100
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
101
+ </footer>
102
+
@@ -0,0 +1,102 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_lacteos - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Grupo.html">Grupo</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Grupo_lacteos">
72
+ <h1 id="class-Grupo_lacteos" class="class">
73
+ class Grupo_lacteos
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ </section>
94
+ </main>
95
+
96
+
97
+ <footer id="validator-badges" role="contentinfo">
98
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
99
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
100
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
101
+ </footer>
102
+