food_alu0100904406 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 (74) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +12 -0
  4. data/.travis.yml +6 -0
  5. data/Gemfile +6 -0
  6. data/Guardfile +82 -0
  7. data/README.md +40 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/docs/Alimento_.html +407 -0
  12. data/docs/Food.html +110 -0
  13. data/docs/Gemfile.html +100 -0
  14. data/docs/Gemfile_lock.html +177 -0
  15. data/docs/Grupo_alimento.html +235 -0
  16. data/docs/Guardfile.html +177 -0
  17. data/docs/Lista.html +365 -0
  18. data/docs/Object.html +118 -0
  19. data/docs/README_md.html +151 -0
  20. data/docs/Rakefile.html +98 -0
  21. data/docs/bin/setup.html +98 -0
  22. data/docs/created.rid +16 -0
  23. data/docs/css/fonts.css +167 -0
  24. data/docs/css/rdoc.css +590 -0
  25. data/docs/fonts/Lato-Light.ttf +0 -0
  26. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  27. data/docs/fonts/Lato-Regular.ttf +0 -0
  28. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  29. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  30. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  31. data/docs/food_gemspec.html +130 -0
  32. data/docs/images/add.png +0 -0
  33. data/docs/images/arrow_up.png +0 -0
  34. data/docs/images/brick.png +0 -0
  35. data/docs/images/brick_link.png +0 -0
  36. data/docs/images/bug.png +0 -0
  37. data/docs/images/bullet_black.png +0 -0
  38. data/docs/images/bullet_toggle_minus.png +0 -0
  39. data/docs/images/bullet_toggle_plus.png +0 -0
  40. data/docs/images/date.png +0 -0
  41. data/docs/images/delete.png +0 -0
  42. data/docs/images/find.png +0 -0
  43. data/docs/images/loadingAnimation.gif +0 -0
  44. data/docs/images/macFFBgHack.png +0 -0
  45. data/docs/images/package.png +0 -0
  46. data/docs/images/page_green.png +0 -0
  47. data/docs/images/page_white_text.png +0 -0
  48. data/docs/images/page_white_width.png +0 -0
  49. data/docs/images/plugin.png +0 -0
  50. data/docs/images/ruby.png +0 -0
  51. data/docs/images/tag_blue.png +0 -0
  52. data/docs/images/tag_green.png +0 -0
  53. data/docs/images/transparent.png +0 -0
  54. data/docs/images/wrench.png +0 -0
  55. data/docs/images/wrench_orange.png +0 -0
  56. data/docs/images/zoom.png +0 -0
  57. data/docs/index.html +110 -0
  58. data/docs/js/darkfish.js +161 -0
  59. data/docs/js/jquery.js +4 -0
  60. data/docs/js/navigation.js +142 -0
  61. data/docs/js/navigation.js.gz +0 -0
  62. data/docs/js/search.js +109 -0
  63. data/docs/js/search_index.js +1 -0
  64. data/docs/js/search_index.js.gz +0 -0
  65. data/docs/js/searcher.js +229 -0
  66. data/docs/js/searcher.js.gz +0 -0
  67. data/docs/table_of_contents.html +150 -0
  68. data/food.gemspec +39 -0
  69. data/lib/food/food_.rb +73 -0
  70. data/lib/food/list.rb +104 -0
  71. data/lib/food/plato.rb +146 -0
  72. data/lib/food/version.rb +3 -0
  73. data/lib/food.rb +8 -0
  74. metadata +213 -0
data/docs/Food.html ADDED
@@ -0,0 +1,110 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Food - 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-Food">
66
+ <h1 id="module-Food" class="module">
67
+ module Food
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.1.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
+
data/docs/Gemfile.html ADDED
@@ -0,0 +1,100 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Gemfile - 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
+
56
+ <div id="project-metadata">
57
+ <div id="fileindex-section" class="nav-section">
58
+ <h3>Pages</h3>
59
+
60
+ <ul class="link-list">
61
+
62
+ <li><a href="./Gemfile.html">Gemfile</a>
63
+
64
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
65
+
66
+ <li><a href="./Guardfile.html">Guardfile</a>
67
+
68
+ <li><a href="./README_md.html">README</a>
69
+
70
+ <li><a href="./Rakefile.html">Rakefile</a>
71
+
72
+ <li><a href="./bin/setup.html">setup</a>
73
+
74
+ <li><a href="./food_gemspec.html">food.gemspec</a>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-label="Page Gemfile">
83
+
84
+ <p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
85
+
86
+ <p>git_source(:github) {|repo_name| “<a
87
+ href="https://github.com/#{repo_name">github.com/#{repo_name</a>}” }</p>
88
+
89
+ <p># Specify your gem&#39;s dependencies in <a
90
+ href="food_gemspec.html">food.gemspec</a> gemspec</p>
91
+ </main>
92
+
93
+
94
+
95
+ <footer id="validator-badges" role="contentinfo">
96
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
97
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
98
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
99
+ </footer>
100
+
@@ -0,0 +1,177 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Gemfile.lock - 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
+
56
+ <div id="project-metadata">
57
+ <div id="fileindex-section" class="nav-section">
58
+ <h3>Pages</h3>
59
+
60
+ <ul class="link-list">
61
+
62
+ <li><a href="./Gemfile.html">Gemfile</a>
63
+
64
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
65
+
66
+ <li><a href="./Guardfile.html">Guardfile</a>
67
+
68
+ <li><a href="./README_md.html">README</a>
69
+
70
+ <li><a href="./Rakefile.html">Rakefile</a>
71
+
72
+ <li><a href="./bin/setup.html">setup</a>
73
+
74
+ <li><a href="./food_gemspec.html">food.gemspec</a>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-label="Page Gemfile.lock">
83
+
84
+ <p>PATH</p>
85
+
86
+ <pre>remote: .
87
+ specs:
88
+ food (0.1.0)</pre>
89
+
90
+ <p>GEM</p>
91
+
92
+ <pre>remote: https://rubygems.org/
93
+ specs:
94
+ coderay (1.1.2)
95
+ diff-lcs (1.3)
96
+ ffi (1.9.18)
97
+ formatador (0.2.5)
98
+ guard (2.14.1)
99
+ formatador (&gt;= 0.2.4)
100
+ listen (&gt;= 2.7, &lt; 4.0)
101
+ lumberjack (~&gt; 1.0)
102
+ nenv (~&gt; 0.1)
103
+ notiffany (~&gt; 0.0)
104
+ pry (&gt;= 0.9.12)
105
+ shellany (~&gt; 0.0)
106
+ thor (&gt;= 0.18.1)
107
+ guard-bundler (2.1.0)
108
+ bundler (~&gt; 1.0)
109
+ guard (~&gt; 2.2)
110
+ guard-compat (~&gt; 1.1)
111
+ guard-compat (1.2.1)
112
+ guard-rspec (4.7.3)
113
+ guard (~&gt; 2.1)
114
+ guard-compat (~&gt; 1.1)
115
+ rspec (&gt;= 2.99.0, &lt; 4.0)
116
+ listen (3.1.5)
117
+ rb-fsevent (~&gt; 0.9, &gt;= 0.9.4)
118
+ rb-inotify (~&gt; 0.9, &gt;= 0.9.7)
119
+ ruby_dep (~&gt; 1.2)
120
+ lumberjack (1.0.12)
121
+ method_source (0.9.0)
122
+ nenv (0.3.0)
123
+ notiffany (0.1.1)
124
+ nenv (~&gt; 0.1)
125
+ shellany (~&gt; 0.0)
126
+ pry (0.11.2)
127
+ coderay (~&gt; 1.1.0)
128
+ method_source (~&gt; 0.9.0)
129
+ rake (10.5.0)
130
+ rb-fsevent (0.10.2)
131
+ rb-inotify (0.9.10)
132
+ ffi (&gt;= 0.5.0, &lt; 2)
133
+ rspec (3.7.0)
134
+ rspec-core (~&gt; 3.7.0)
135
+ rspec-expectations (~&gt; 3.7.0)
136
+ rspec-mocks (~&gt; 3.7.0)
137
+ rspec-core (3.7.0)
138
+ rspec-support (~&gt; 3.7.0)
139
+ rspec-expectations (3.7.0)
140
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
141
+ rspec-support (~&gt; 3.7.0)
142
+ rspec-mocks (3.7.0)
143
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
144
+ rspec-support (~&gt; 3.7.0)
145
+ rspec-support (3.7.0)
146
+ ruby_dep (1.5.0)
147
+ shellany (0.0.1)
148
+ thor (0.20.0)</pre>
149
+
150
+ <p>PLATFORMS</p>
151
+
152
+ <pre class="ruby"><span class="ruby-identifier">ruby</span>
153
+ </pre>
154
+
155
+ <p>DEPENDENCIES</p>
156
+
157
+ <pre>bundler (~&gt; 1.15)
158
+ food!
159
+ guard
160
+ guard-bundler
161
+ guard-rspec
162
+ rake (~&gt; 10.0)
163
+ rspec (~&gt; 3.0)</pre>
164
+
165
+ <p>BUNDLED WITH</p>
166
+
167
+ <pre>1.15.4</pre>
168
+ </main>
169
+
170
+
171
+
172
+ <footer id="validator-badges" role="contentinfo">
173
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
174
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
175
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
176
+ </footer>
177
+
@@ -0,0 +1,235 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Grupo_alimento - 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="class">
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
+ <div id="parent-class-section" class="nav-section">
59
+ <h3>Parent</h3>
60
+
61
+
62
+ <p class="link"><a href="Alimento_.html">Alimento_</a>
63
+
64
+ </div>
65
+
66
+
67
+
68
+ <!-- Method Quickref -->
69
+ <div id="method-list-section" class="nav-section">
70
+ <h3>Methods</h3>
71
+
72
+ <ul class="link-list" role="directory">
73
+
74
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
75
+
76
+ <li class="calls-super" ><a href="#method-i-to_s">#to_s</a>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <main role="main" aria-labelledby="class-Grupo_alimento">
85
+ <h1 id="class-Grupo_alimento" class="class">
86
+ class Grupo_alimento
87
+ </h1>
88
+
89
+ <section class="description">
90
+
91
+ <p>Esta clase permite representar un alimento especificando además su grupo.</p>
92
+
93
+ </section>
94
+
95
+
96
+
97
+
98
+ <section id="5Buntitled-5D" class="documentation-section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ <section class="attribute-method-details" class="method-section">
107
+ <header>
108
+ <h3>Attributes</h3>
109
+ </header>
110
+
111
+
112
+ <div id="attribute-i-grupo" class="method-detail">
113
+ <div class="method-heading attribute-method-heading">
114
+ <span class="method-name">grupo</span><span
115
+ class="attribute-access-type">[R]</span>
116
+ </div>
117
+
118
+ <div class="method-description">
119
+
120
+
121
+
122
+ </div>
123
+ </div>
124
+
125
+ </section>
126
+
127
+
128
+
129
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
130
+ <header>
131
+ <h3>Public Class Methods</h3>
132
+ </header>
133
+
134
+
135
+ <div id="method-c-new" class="method-detail ">
136
+
137
+ <div class="method-heading">
138
+ <span class="method-name">new</span><span
139
+ class="method-args">(nombre, proteinas, glucidos, grasas, grupo)</span>
140
+
141
+ <span class="method-click-advice">click to toggle source</span>
142
+
143
+ </div>
144
+
145
+
146
+ <div class="method-description">
147
+
148
+ <p>Constructor al que se le pasa el nombre del alimmento, cantidad de
149
+ proteinas, cantidad de lipidos y cantidad de glucidos y el grupo al que
150
+ pertenece</p>
151
+
152
+
153
+ <div class="method-calls-super">
154
+ Calls superclass method
155
+ <a href="Alimento_.html#method-c-new">Alimento_.new</a>
156
+ </div>
157
+
158
+
159
+
160
+ <div class="method-source-code" id="new-source">
161
+ <pre><span class="ruby-comment"># File lib/food/food_.rb, line 62</span>
162
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">nombre</span>, <span class="ruby-identifier">proteinas</span>, <span class="ruby-identifier">glucidos</span>, <span class="ruby-identifier">grasas</span>, <span class="ruby-identifier">grupo</span>)
163
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">nombre</span>, <span class="ruby-identifier">proteinas</span>, <span class="ruby-identifier">glucidos</span>, <span class="ruby-identifier">grasas</span>)
164
+ <span class="ruby-ivar">@grupo</span> = <span class="ruby-identifier">grupo</span>
165
+ <span class="ruby-keyword">end</span></pre>
166
+ </div>
167
+
168
+ </div>
169
+
170
+
171
+
172
+
173
+ </div>
174
+
175
+
176
+ </section>
177
+
178
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
179
+ <header>
180
+ <h3>Public Instance Methods</h3>
181
+ </header>
182
+
183
+
184
+ <div id="method-i-to_s" class="method-detail ">
185
+
186
+ <div class="method-heading">
187
+ <span class="method-name">to_s</span><span
188
+ class="method-args">()</span>
189
+
190
+ <span class="method-click-advice">click to toggle source</span>
191
+
192
+ </div>
193
+
194
+
195
+ <div class="method-description">
196
+
197
+ <p>Metodo <a href="Grupo_alimento.html#method-i-to_s">#to_s</a>:</p>
198
+
199
+ <pre>=&gt;formato= Nombre del alimento nºproteinas nºglucido nºlipidos grupo al que pertence</pre>
200
+
201
+
202
+ <div class="method-calls-super">
203
+ Calls superclass method
204
+ <a href="Alimento_.html#method-i-to_s">Alimento_#to_s</a>
205
+ </div>
206
+
207
+
208
+
209
+ <div class="method-source-code" id="to_s-source">
210
+ <pre><span class="ruby-comment"># File lib/food/food_.rb, line 69</span>
211
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
212
+ <span class="ruby-keyword">super</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-string">&quot;\t&quot;</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@grupo</span>
213
+ <span class="ruby-keyword">end</span></pre>
214
+ </div>
215
+
216
+ </div>
217
+
218
+
219
+
220
+
221
+ </div>
222
+
223
+
224
+ </section>
225
+
226
+ </section>
227
+ </main>
228
+
229
+
230
+ <footer id="validator-badges" role="contentinfo">
231
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
232
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
233
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
234
+ </footer>
235
+