alimento-0100895001 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
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 +5 -0
  5. data/Gemfile +6 -0
  6. data/Guardfile +82 -0
  7. data/README.md +50 -0
  8. data/Rakefile +6 -0
  9. data/alimento.gemspec +40 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/docs/Alimento.html +110 -0
  13. data/docs/Alimento_.html +406 -0
  14. data/docs/Gemfile.html +100 -0
  15. data/docs/Gemfile_lock.html +213 -0
  16. data/docs/Grupo_alimento.html +232 -0
  17. data/docs/Guardfile.html +177 -0
  18. data/docs/List.html +511 -0
  19. data/docs/Object.html +129 -0
  20. data/docs/README_md.html +169 -0
  21. data/docs/Rakefile.html +98 -0
  22. data/docs/alimento_gemspec.html +133 -0
  23. data/docs/bin/setup.html +98 -0
  24. data/docs/created.rid +17 -0
  25. data/docs/css/fonts.css +167 -0
  26. data/docs/css/rdoc.css +590 -0
  27. data/docs/fonts/Lato-Light.ttf +0 -0
  28. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  29. data/docs/fonts/Lato-Regular.ttf +0 -0
  30. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  31. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  32. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  33. data/docs/images/add.png +0 -0
  34. data/docs/images/arrow_up.png +0 -0
  35. data/docs/images/brick.png +0 -0
  36. data/docs/images/brick_link.png +0 -0
  37. data/docs/images/bug.png +0 -0
  38. data/docs/images/bullet_black.png +0 -0
  39. data/docs/images/bullet_toggle_minus.png +0 -0
  40. data/docs/images/bullet_toggle_plus.png +0 -0
  41. data/docs/images/date.png +0 -0
  42. data/docs/images/delete.png +0 -0
  43. data/docs/images/find.png +0 -0
  44. data/docs/images/loadingAnimation.gif +0 -0
  45. data/docs/images/macFFBgHack.png +0 -0
  46. data/docs/images/package.png +0 -0
  47. data/docs/images/page_green.png +0 -0
  48. data/docs/images/page_white_text.png +0 -0
  49. data/docs/images/page_white_width.png +0 -0
  50. data/docs/images/plugin.png +0 -0
  51. data/docs/images/ruby.png +0 -0
  52. data/docs/images/tag_blue.png +0 -0
  53. data/docs/images/tag_green.png +0 -0
  54. data/docs/images/transparent.png +0 -0
  55. data/docs/images/wrench.png +0 -0
  56. data/docs/images/wrench_orange.png +0 -0
  57. data/docs/images/zoom.png +0 -0
  58. data/docs/index.html +110 -0
  59. data/docs/js/darkfish.js +161 -0
  60. data/docs/js/jquery.js +4 -0
  61. data/docs/js/navigation.js +142 -0
  62. data/docs/js/navigation.js.gz +0 -0
  63. data/docs/js/search.js +109 -0
  64. data/docs/js/search_index.js +1 -0
  65. data/docs/js/search_index.js.gz +0 -0
  66. data/docs/js/searcher.js +229 -0
  67. data/docs/js/searcher.js.gz +0 -0
  68. data/docs/table_of_contents.html +165 -0
  69. data/lib/alimento.rb +8 -0
  70. data/lib/alimento/alimento_.rb +73 -0
  71. data/lib/alimento/list.rb +108 -0
  72. data/lib/alimento/plato.rb +169 -0
  73. data/lib/alimento/version.rb +3 -0
  74. metadata +227 -0
@@ -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="./alimento_gemspec.html">alimento.gemspec</a>
73
+
74
+ <li><a href="./bin/setup.html">setup</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="alimento_gemspec.html">alimento.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,213 @@
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="./alimento_gemspec.html">alimento.gemspec</a>
73
+
74
+ <li><a href="./bin/setup.html">setup</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
+ alimento (0.1.0)</pre>
89
+
90
+ <p>GEM</p>
91
+
92
+ <pre>remote: https://rubygems.org/
93
+ specs:
94
+ coderay (1.1.2)
95
+ coveralls (0.7.1)
96
+ multi_json (~&gt; 1.3)
97
+ rest-client
98
+ simplecov (&gt;= 0.7)
99
+ term-ansicolor
100
+ thor
101
+ diff-lcs (1.3)
102
+ docile (1.1.5)
103
+ domain_name (0.5.20170404)
104
+ unf (&gt;= 0.0.5, &lt; 1.0.0)
105
+ ffi (1.9.18)
106
+ formatador (0.2.5)
107
+ guard (2.14.1)
108
+ formatador (&gt;= 0.2.4)
109
+ listen (&gt;= 2.7, &lt; 4.0)
110
+ lumberjack (~&gt; 1.0)
111
+ nenv (~&gt; 0.1)
112
+ notiffany (~&gt; 0.0)
113
+ pry (&gt;= 0.9.12)
114
+ shellany (~&gt; 0.0)
115
+ thor (&gt;= 0.18.1)
116
+ guard-bundler (2.1.0)
117
+ bundler (~&gt; 1.0)
118
+ guard (~&gt; 2.2)
119
+ guard-compat (~&gt; 1.1)
120
+ guard-compat (1.2.1)
121
+ guard-rdoc (1.0.3)
122
+ guard
123
+ guard-rspec (4.7.3)
124
+ guard (~&gt; 2.1)
125
+ guard-compat (~&gt; 1.1)
126
+ rspec (&gt;= 2.99.0, &lt; 4.0)
127
+ http-cookie (1.0.3)
128
+ domain_name (~&gt; 0.5)
129
+ json (2.1.0)
130
+ listen (3.1.5)
131
+ rb-fsevent (~&gt; 0.9, &gt;= 0.9.4)
132
+ rb-inotify (~&gt; 0.9, &gt;= 0.9.7)
133
+ ruby_dep (~&gt; 1.2)
134
+ lumberjack (1.0.12)
135
+ method_source (0.9.0)
136
+ mime-types (3.1)
137
+ mime-types-data (~&gt; 3.2015)
138
+ mime-types-data (3.2016.0521)
139
+ multi_json (1.12.2)
140
+ nenv (0.3.0)
141
+ netrc (0.11.0)
142
+ notiffany (0.1.1)
143
+ nenv (~&gt; 0.1)
144
+ shellany (~&gt; 0.0)
145
+ pry (0.11.2)
146
+ coderay (~&gt; 1.1.0)
147
+ method_source (~&gt; 0.9.0)
148
+ rake (10.5.0)
149
+ rb-fsevent (0.10.2)
150
+ rb-inotify (0.9.10)
151
+ ffi (&gt;= 0.5.0, &lt; 2)
152
+ rest-client (2.0.2)
153
+ http-cookie (&gt;= 1.0.2, &lt; 2.0)
154
+ mime-types (&gt;= 1.16, &lt; 4.0)
155
+ netrc (~&gt; 0.8)
156
+ rspec (3.7.0)
157
+ rspec-core (~&gt; 3.7.0)
158
+ rspec-expectations (~&gt; 3.7.0)
159
+ rspec-mocks (~&gt; 3.7.0)
160
+ rspec-core (3.7.0)
161
+ rspec-support (~&gt; 3.7.0)
162
+ rspec-expectations (3.7.0)
163
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
164
+ rspec-support (~&gt; 3.7.0)
165
+ rspec-mocks (3.7.0)
166
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
167
+ rspec-support (~&gt; 3.7.0)
168
+ rspec-support (3.7.0)
169
+ ruby_dep (1.5.0)
170
+ shellany (0.0.1)
171
+ simplecov (0.15.1)
172
+ docile (~&gt; 1.1.0)
173
+ json (&gt;= 1.8, &lt; 3)
174
+ simplecov-html (~&gt; 0.10.0)
175
+ simplecov-html (0.10.2)
176
+ term-ansicolor (1.6.0)
177
+ tins (~&gt; 1.0)
178
+ thor (0.20.0)
179
+ tins (1.15.1)
180
+ unf (0.1.4)
181
+ unf_ext
182
+ unf_ext (0.0.7.4)</pre>
183
+
184
+ <p>PLATFORMS</p>
185
+
186
+ <pre class="ruby"><span class="ruby-identifier">ruby</span>
187
+ </pre>
188
+
189
+ <p>DEPENDENCIES</p>
190
+
191
+ <pre>alimento!
192
+ bundler (~&gt; 1.15)
193
+ coveralls
194
+ guard
195
+ guard-bundler
196
+ guard-rdoc
197
+ guard-rspec
198
+ rake (~&gt; 10.0)
199
+ rspec (~&gt; 3.0)</pre>
200
+
201
+ <p>BUNDLED WITH</p>
202
+
203
+ <pre>1.15.4</pre>
204
+ </main>
205
+
206
+
207
+
208
+ <footer id="validator-badges" role="contentinfo">
209
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
210
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
211
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
212
+ </footer>
213
+
@@ -0,0 +1,232 @@
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>Herencia de la clase <a href="Alimento.html">Alimento</a></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">(name, proteins, glucids, fats, group)</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>Se asigna el nombre, las proteinas, los glucidos, las grasas y el grupo del
149
+ alimento</p>
150
+
151
+
152
+ <div class="method-calls-super">
153
+ Calls superclass method
154
+ <a href="Alimento_.html#method-c-new">Alimento_.new</a>
155
+ </div>
156
+
157
+
158
+
159
+ <div class="method-source-code" id="new-source">
160
+ <pre><span class="ruby-comment"># File lib/alimento/alimento_.rb, line 64</span>
161
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">proteins</span>, <span class="ruby-identifier">glucids</span>, <span class="ruby-identifier">fats</span>, <span class="ruby-identifier">group</span>)
162
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">proteins</span>, <span class="ruby-identifier">glucids</span>, <span class="ruby-identifier">fats</span>)
163
+ <span class="ruby-ivar">@group</span> = <span class="ruby-identifier">group</span>
164
+ <span class="ruby-keyword">end</span></pre>
165
+ </div>
166
+
167
+ </div>
168
+
169
+
170
+
171
+
172
+ </div>
173
+
174
+
175
+ </section>
176
+
177
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
178
+ <header>
179
+ <h3>Public Instance Methods</h3>
180
+ </header>
181
+
182
+
183
+ <div id="method-i-to_s" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">to_s</span><span
187
+ class="method-args">()</span>
188
+
189
+ <span class="method-click-advice">click to toggle source</span>
190
+
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+ <p>Formatea la salida a texto</p>
197
+
198
+
199
+ <div class="method-calls-super">
200
+ Calls superclass method
201
+ <a href="Alimento_.html#method-i-to_s">Alimento_#to_s</a>
202
+ </div>
203
+
204
+
205
+
206
+ <div class="method-source-code" id="to_s-source">
207
+ <pre><span class="ruby-comment"># File lib/alimento/alimento_.rb, line 69</span>
208
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
209
+ <span class="ruby-identifier">string</span> = <span class="ruby-keyword">super</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-node">&quot;\tgrupo alimenticio:#{@group}&quot;</span>
210
+ <span class="ruby-keyword">end</span></pre>
211
+ </div>
212
+
213
+ </div>
214
+
215
+
216
+
217
+
218
+ </div>
219
+
220
+
221
+ </section>
222
+
223
+ </section>
224
+ </main>
225
+
226
+
227
+ <footer id="validator-badges" role="contentinfo">
228
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
229
+ <p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.1.0.
230
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
231
+ </footer>
232
+