Alimento-alu0100918540 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,301 @@
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: Grupo_alimentos
8
+
9
+ &mdash; Documentation by YARD 0.9.9
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 = "Grupo_alimentos";
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 (G)</a> &raquo;
40
+
41
+
42
+ <span class="title">Grupo_alimentos</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: Grupo_alimentos
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="Alimentos.html" title="Alimentos (class)">Alimentos</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="Alimentos.html" title="Alimentos (class)">Alimentos</a></span></li>
78
+
79
+ <li class="next">Grupo_alimentos</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/Alimento/alimento.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Clase Grupo_alimentos que hereda de alimentos</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <h2>
124
+ Instance Method Summary
125
+ <small><a href="#" class="summary_toggle">collapse</a></small>
126
+ </h2>
127
+
128
+ <ul class="summary">
129
+
130
+ <li class="public ">
131
+ <span class="summary_signature">
132
+
133
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(nom, pro, glu, lip, grupo) &#x21d2; Grupo_alimentos </a>
134
+
135
+
136
+
137
+ </span>
138
+
139
+
140
+ <span class="note title constructor">constructor</span>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <span class="summary_desc"><div class='inline'>
150
+ <p>Inicializa los valores.</p>
151
+ </div></span>
152
+
153
+ </li>
154
+
155
+
156
+ <li class="public ">
157
+ <span class="summary_signature">
158
+
159
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a>
160
+
161
+
162
+
163
+ </span>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <span class="summary_desc"><div class='inline'>
174
+ <p>Obtienes nombre del grupo del alimento.</p>
175
+ </div></span>
176
+
177
+ </li>
178
+
179
+
180
+ </ul>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Alimentos.html" title="Alimentos (class)">Alimentos</a></span></h3>
193
+ <p class="inherited"><span class='object_link'><a href="Alimentos.html#<=>-instance_method" title="Alimentos#&lt;=&gt; (method)">#<=></a></span>, <span class='object_link'><a href="Alimentos.html#glucidos_to_i-instance_method" title="Alimentos#glucidos_to_i (method)">#glucidos_to_i</a></span>, <span class='object_link'><a href="Alimentos.html#informacion_to_s-instance_method" title="Alimentos#informacion_to_s (method)">#informacion_to_s</a></span>, <span class='object_link'><a href="Alimentos.html#lipidos_to_i-instance_method" title="Alimentos#lipidos_to_i (method)">#lipidos_to_i</a></span>, <span class='object_link'><a href="Alimentos.html#nombre_to_s-instance_method" title="Alimentos#nombre_to_s (method)">#nombre_to_s</a></span>, <span class='object_link'><a href="Alimentos.html#proteinas_to_i-instance_method" title="Alimentos#proteinas_to_i (method)">#proteinas_to_i</a></span>, <span class='object_link'><a href="Alimentos.html#valor_energetico-instance_method" title="Alimentos#valor_energetico (method)">#valor_energetico</a></span></p>
194
+
195
+ <div id="constructor_details" class="method_details_list">
196
+ <h2>Constructor Details</h2>
197
+
198
+ <div class="method_details first">
199
+ <h3 class="signature first" id="initialize-instance_method">
200
+
201
+ #<strong>initialize</strong>(nom, pro, glu, lip, grupo) &#x21d2; <tt><span class='object_link'><a href="" title="Grupo_alimentos (class)">Grupo_alimentos</a></span></tt>
202
+
203
+
204
+
205
+
206
+
207
+ </h3><div class="docstring">
208
+ <div class="discussion">
209
+
210
+ <p>Inicializa los valores</p>
211
+
212
+
213
+ </div>
214
+ </div>
215
+ <div class="tags">
216
+
217
+
218
+ </div><table class="source_code">
219
+ <tr>
220
+ <td>
221
+ <pre class="lines">
222
+
223
+
224
+ 53
225
+ 54
226
+ 55
227
+ 56</pre>
228
+ </td>
229
+ <td>
230
+ <pre class="code"><span class="info file"># File 'lib/Alimento/alimento.rb', line 53</span>
231
+
232
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_nom'>nom</span><span class='comma'>,</span> <span class='id identifier rubyid_pro'>pro</span><span class='comma'>,</span> <span class='id identifier rubyid_glu'>glu</span><span class='comma'>,</span> <span class='id identifier rubyid_lip'>lip</span><span class='comma'>,</span> <span class='id identifier rubyid_grupo'>grupo</span><span class='rparen'>)</span>
233
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_nom'>nom</span><span class='comma'>,</span> <span class='id identifier rubyid_pro'>pro</span><span class='comma'>,</span> <span class='id identifier rubyid_glu'>glu</span><span class='comma'>,</span> <span class='id identifier rubyid_lip'>lip</span><span class='rparen'>)</span>
234
+ <span class='ivar'>@nombre_grupo</span> <span class='op'>=</span> <span class='id identifier rubyid_grupo'>grupo</span>
235
+ <span class='kw'>end</span></pre>
236
+ </td>
237
+ </tr>
238
+ </table>
239
+ </div>
240
+
241
+ </div>
242
+
243
+
244
+ <div id="instance_method_details" class="method_details_list">
245
+ <h2>Instance Method Details</h2>
246
+
247
+
248
+ <div class="method_details first">
249
+ <h3 class="signature first" id="to_s-instance_method">
250
+
251
+ #<strong>to_s</strong> &#x21d2; <tt>Object</tt>
252
+
253
+
254
+
255
+
256
+
257
+ </h3><div class="docstring">
258
+ <div class="discussion">
259
+
260
+ <p>Obtienes nombre del grupo del alimento</p>
261
+
262
+
263
+ </div>
264
+ </div>
265
+ <div class="tags">
266
+
267
+
268
+ </div><table class="source_code">
269
+ <tr>
270
+ <td>
271
+ <pre class="lines">
272
+
273
+
274
+ 59
275
+ 60
276
+ 61</pre>
277
+ </td>
278
+ <td>
279
+ <pre class="code"><span class="info file"># File 'lib/Alimento/alimento.rb', line 59</span>
280
+
281
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
282
+ <span class='ivar'>@nombre_grupo</span>
283
+ <span class='kw'>end</span></pre>
284
+ </td>
285
+ </tr>
286
+ </table>
287
+ </div>
288
+
289
+ </div>
290
+
291
+ </div>
292
+
293
+ <div id="footer">
294
+ Generated on Thu Nov 16 11:14:50 2017 by
295
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
+ 0.9.9 (ruby-1.9.3).
297
+ </div>
298
+
299
+ </div>
300
+ </body>
301
+ </html>
data/docs/_index.html ADDED
@@ -0,0 +1,125 @@
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
+ Documentation by YARD 0.9.9
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
+
15
+ <script type="text/javascript" charset="utf-8">
16
+ pathId = null;
17
+ relpath = '';
18
+ </script>
19
+
20
+
21
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
24
+
25
+
26
+ </head>
27
+ <body>
28
+ <div class="nav_wrap">
29
+ <iframe id="nav" src="class_list.html?1"></iframe>
30
+ <div id="resizer"></div>
31
+ </div>
32
+
33
+ <div id="main" tabindex="-1">
34
+ <div id="header">
35
+ <div id="menu">
36
+
37
+ </div>
38
+
39
+ <div id="search">
40
+
41
+ <a class="full_list_link" id="class_list_link"
42
+ href="class_list.html">
43
+
44
+ <svg width="24" height="24">
45
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
46
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
47
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
48
+ </svg>
49
+ </a>
50
+
51
+ </div>
52
+ <div class="clear"></div>
53
+ </div>
54
+
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
56
+ <div id="listing">
57
+ <h1 class="alphaindex">Alphabetic Index</h1>
58
+
59
+ <h2>File Listing</h2>
60
+ <ul id="files" class="index_inline_list">
61
+
62
+
63
+ <li class="r1"><a href="index.html" title="README">README</a></li>
64
+
65
+
66
+ </ul>
67
+
68
+ <div class="clear"></div>
69
+ <h2>Namespace Listing A-Z</h2>
70
+
71
+
72
+
73
+
74
+ <table>
75
+ <tr>
76
+ <td valign='top' width="33%">
77
+
78
+
79
+ <ul id="alpha_A" class="alpha">
80
+ <li class="letter">A</li>
81
+ <ul>
82
+
83
+ <li>
84
+ <span class='object_link'><a href="Alimento.html" title="Alimento (module)">Alimento</a></span>
85
+
86
+ </li>
87
+
88
+ <li>
89
+ <span class='object_link'><a href="Alimentos.html" title="Alimentos (class)">Alimentos</a></span>
90
+
91
+ </li>
92
+
93
+ </ul>
94
+ </ul>
95
+
96
+
97
+ <ul id="alpha_G" class="alpha">
98
+ <li class="letter">G</li>
99
+ <ul>
100
+
101
+ <li>
102
+ <span class='object_link'><a href="Grupo_alimentos.html" title="Grupo_alimentos (class)">Grupo_alimentos</a></span>
103
+
104
+ </li>
105
+
106
+ </ul>
107
+ </ul>
108
+
109
+ </td>
110
+ </tr>
111
+ </table>
112
+
113
+ </div>
114
+
115
+ </div>
116
+
117
+ <div id="footer">
118
+ Generated on Thu Nov 16 11:14:50 2017 by
119
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
120
+ 0.9.9 (ruby-1.9.3).
121
+ </div>
122
+
123
+ </div>
124
+ </body>
125
+ </html>
@@ -0,0 +1,51 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <meta charset="utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <title>Class List</title>
19
+ <base id="base_target" target="_parent" />
20
+ </head>
21
+ <body>
22
+ <div id="content">
23
+ <div class="fixed_header">
24
+ <h1 id="full_list_header">Class List</h1>
25
+ <div id="full_list_nav">
26
+
27
+ <span><a target="_self" href="class_list.html">
28
+ Classes
29
+ </a></span>
30
+
31
+ <span><a target="_self" href="method_list.html">
32
+ Methods
33
+ </a></span>
34
+
35
+ <span><a target="_self" href="file_list.html">
36
+ Files
37
+ </a></span>
38
+
39
+ </div>
40
+
41
+ <div id="search">Search: <input type="text" /></div>
42
+ </div>
43
+
44
+ <ul id="full_list" class="class">
45
+ <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
+ <li id='object_Alimento' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Alimento.html" title="Alimento (module)">Alimento</a></span><small class='search_info'>Top Level Namespace</small></div></li><li id='object_Alimentos' class='odd'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Alimentos.html" title="Alimentos (class)">Alimentos</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div></li><li id='object_Grupo_alimentos' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Grupo_alimentos.html" title="Grupo_alimentos (class)">Grupo_alimentos</a></span> &lt; Alimentos<small class='search_info'>Top Level Namespace</small></div></li>
47
+
48
+ </ul>
49
+ </div>
50
+ </body>
51
+ </html>