Gema_alu0100891485 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.
@@ -0,0 +1,119 @@
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
+ Module: Dieta
8
+
9
+ &mdash; Documentation by YARD 0.9.5
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 = "Dieta";
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"></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 (D)</a> &raquo;
40
+
41
+
42
+ <span class="title">Dieta</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
+ <iframe id="search_frame" src="class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Module: Dieta
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dl>
82
+ <dt>Defined in:</dt>
83
+ <dd>lib/dieta.rb<span class="defines">,<br />
84
+ lib/dieta/version.rb</span>
85
+ </dd>
86
+ </dl>
87
+
88
+ </div>
89
+
90
+
91
+ <h2>Constant Summary</h2>
92
+ <dl class="constants">
93
+
94
+ <dt id="VERSION-constant" class="">VERSION =
95
+
96
+ </dt>
97
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
98
+
99
+ </dl>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ </div>
110
+
111
+ <div id="footer">
112
+ Generated on Wed Nov 23 10:39:31 2016 by
113
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
114
+ 0.9.5 (ruby-2.3.1).
115
+ </div>
116
+
117
+ </div>
118
+ </body>
119
+ </html>
@@ -0,0 +1,400 @@
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: GrupoAlimentos
8
+
9
+ &mdash; Documentation by YARD 0.9.5
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 = "GrupoAlimentos";
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"></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">GrupoAlimentos</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
+ <iframe id="search_frame" src="class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: GrupoAlimentos
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName"><span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next"><span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></li>
80
+
81
+ <li class="next">GrupoAlimentos</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/dieta/grupo_alimentos.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Define una clase hija de Diet que añade el grupo de alimentos</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+
119
+
120
+
121
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#grupo-instance_method" title="#grupo (instance method)">#<strong>grupo</strong> &#x21d2; Object </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+ <span class="summary_desc"><div class='inline'>
145
+ <p>Returns the value of attribute grupo.</p>
146
+ </div></span>
147
+
148
+ </li>
149
+
150
+
151
+ </ul>
152
+
153
+
154
+
155
+
156
+
157
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></h3>
158
+ <p class="inherited"><span class='object_link'><a href="Diet.html#cabecera-instance_method" title="Diet#cabecera (method)">#cabecera</a></span>, <span class='object_link'><a href="Diet.html#menu-instance_method" title="Diet#menu (method)">#menu</a></span>, <span class='object_link'><a href="Diet.html#vct-instance_method" title="Diet#vct (method)">#vct</a></span></p>
159
+
160
+
161
+
162
+ <h2>
163
+ Instance Method Summary
164
+ <small><a href="#" class="summary_toggle">collapse</a></small>
165
+ </h2>
166
+
167
+ <ul class="summary">
168
+
169
+ <li class="public ">
170
+ <span class="summary_signature">
171
+
172
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(grupo, cabecera, menu, vct) &#x21d2; GrupoAlimentos </a>
173
+
174
+
175
+
176
+ </span>
177
+
178
+
179
+ <span class="note title constructor">constructor</span>
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ <span class="summary_desc"><div class='inline'>
189
+ <p>Contructor, inicializa la cabecera, platos y vct de la clase padre Diet y
190
+ almacena el grupo de alimentos.</p>
191
+ </div></span>
192
+
193
+ </li>
194
+
195
+
196
+ <li class="public ">
197
+ <span class="summary_signature">
198
+
199
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a>
200
+
201
+
202
+
203
+ </span>
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+ <span class="summary_desc"><div class='inline'>
214
+ <p>Añade el grupo de alimentos a la salida formateada por pantalla de la clase
215
+ Diet.</p>
216
+ </div></span>
217
+
218
+ </li>
219
+
220
+
221
+ </ul>
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Diet.html" title="Diet (class)">Diet</a></span></h3>
234
+ <p class="inherited"><span class='object_link'><a href="Diet.html#%3C%3D%3E-instance_method" title="Diet#&lt;=&gt; (method)">#<=></a></span>, <span class='object_link'><a href="Diet.html#%3D%3D-instance_method" title="Diet#== (method)">#==</a></span>, <span class='object_link'><a href="Diet.html#get_cabecera-instance_method" title="Diet#get_cabecera (method)">#get_cabecera</a></span>, <span class='object_link'><a href="Diet.html#get_grasas-instance_method" title="Diet#get_grasas (method)">#get_grasas</a></span>, <span class='object_link'><a href="Diet.html#get_hidratos-instance_method" title="Diet#get_hidratos (method)">#get_hidratos</a></span>, <span class='object_link'><a href="Diet.html#get_ingesta-instance_method" title="Diet#get_ingesta (method)">#get_ingesta</a></span>, <span class='object_link'><a href="Diet.html#get_plato-instance_method" title="Diet#get_plato (method)">#get_plato</a></span>, <span class='object_link'><a href="Diet.html#get_proteinas-instance_method" title="Diet#get_proteinas (method)">#get_proteinas</a></span>, <span class='object_link'><a href="Diet.html#get_vct-instance_method" title="Diet#get_vct (method)">#get_vct</a></span></p>
235
+
236
+ <div id="constructor_details" class="method_details_list">
237
+ <h2>Constructor Details</h2>
238
+
239
+ <div class="method_details first">
240
+ <h3 class="signature first" id="initialize-instance_method">
241
+
242
+ #<strong>initialize</strong>(grupo, cabecera, menu, vct) &#x21d2; <tt><span class='object_link'><a href="" title="GrupoAlimentos (class)">GrupoAlimentos</a></span></tt>
243
+
244
+
245
+
246
+
247
+
248
+ </h3><div class="docstring">
249
+ <div class="discussion">
250
+
251
+ <p>Contructor, inicializa la cabecera, platos y vct de la clase padre Diet y
252
+ almacena el grupo de alimentos</p>
253
+
254
+
255
+ </div>
256
+ </div>
257
+ <div class="tags">
258
+
259
+
260
+ </div><table class="source_code">
261
+ <tr>
262
+ <td>
263
+ <pre class="lines">
264
+
265
+
266
+ 5
267
+ 6
268
+ 7
269
+ 8
270
+ 9</pre>
271
+ </td>
272
+ <td>
273
+ <pre class="code"><span class="info file"># File 'lib/dieta/grupo_alimentos.rb', line 5</span>
274
+
275
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_grupo'>grupo</span><span class='comma'>,</span><span class='id identifier rubyid_cabecera'>cabecera</span><span class='comma'>,</span><span class='id identifier rubyid_menu'>menu</span><span class='comma'>,</span><span class='id identifier rubyid_vct'>vct</span><span class='rparen'>)</span>
276
+ <span class='comment'># Almacena el grupo de alimentos
277
+ </span> <span class='ivar'>@grupo</span> <span class='op'>=</span> <span class='id identifier rubyid_grupo'>grupo</span>
278
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_cabecera'>cabecera</span><span class='comma'>,</span><span class='id identifier rubyid_menu'>menu</span><span class='comma'>,</span><span class='id identifier rubyid_vct'>vct</span><span class='rparen'>)</span>
279
+ <span class='kw'>end</span></pre>
280
+ </td>
281
+ </tr>
282
+ </table>
283
+ </div>
284
+
285
+ </div>
286
+
287
+ <div id="instance_attr_details" class="attr_details">
288
+ <h2>Instance Attribute Details</h2>
289
+
290
+
291
+ <span id="grupo=-instance_method"></span>
292
+ <div class="method_details first">
293
+ <h3 class="signature first" id="grupo-instance_method">
294
+
295
+ #<strong>grupo</strong> &#x21d2; <tt>Object</tt>
296
+
297
+
298
+
299
+
300
+
301
+ </h3><div class="docstring">
302
+ <div class="discussion">
303
+
304
+ <p>Returns the value of attribute grupo</p>
305
+
306
+
307
+ </div>
308
+ </div>
309
+ <div class="tags">
310
+
311
+
312
+ </div><table class="source_code">
313
+ <tr>
314
+ <td>
315
+ <pre class="lines">
316
+
317
+
318
+ 3
319
+ 4
320
+ 5</pre>
321
+ </td>
322
+ <td>
323
+ <pre class="code"><span class="info file"># File 'lib/dieta/grupo_alimentos.rb', line 3</span>
324
+
325
+ <span class='kw'>def</span> <span class='id identifier rubyid_grupo'>grupo</span>
326
+ <span class='ivar'>@grupo</span>
327
+ <span class='kw'>end</span></pre>
328
+ </td>
329
+ </tr>
330
+ </table>
331
+ </div>
332
+
333
+ </div>
334
+
335
+
336
+ <div id="instance_method_details" class="method_details_list">
337
+ <h2>Instance Method Details</h2>
338
+
339
+
340
+ <div class="method_details first">
341
+ <h3 class="signature first" id="to_s-instance_method">
342
+
343
+ #<strong>to_s</strong> &#x21d2; <tt>Object</tt>
344
+
345
+
346
+
347
+
348
+
349
+ </h3><div class="docstring">
350
+ <div class="discussion">
351
+
352
+ <p>Añade el grupo de alimentos a la salida formateada por pantalla de la clase
353
+ Diet</p>
354
+
355
+
356
+ </div>
357
+ </div>
358
+ <div class="tags">
359
+
360
+
361
+ </div><table class="source_code">
362
+ <tr>
363
+ <td>
364
+ <pre class="lines">
365
+
366
+
367
+ 11
368
+ 12
369
+ 13
370
+ 14
371
+ 15
372
+ 16</pre>
373
+ </td>
374
+ <td>
375
+ <pre class="code"><span class="info file"># File 'lib/dieta/grupo_alimentos.rb', line 11</span>
376
+
377
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
378
+ <span class='id identifier rubyid_s'>s</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
379
+ <span class='id identifier rubyid_s'>s</span> <span class='op'>&lt;&lt;</span> <span class='kw'>super</span>
380
+ <span class='id identifier rubyid_s'>s</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Grupo Alimentos: </span><span class='embexpr_beg'>#{</span><span class='ivar'>@grupo</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
381
+ <span class='id identifier rubyid_s'>s</span>
382
+ <span class='kw'>end</span></pre>
383
+ </td>
384
+ </tr>
385
+ </table>
386
+ </div>
387
+
388
+ </div>
389
+
390
+ </div>
391
+
392
+ <div id="footer">
393
+ Generated on Wed Nov 23 10:39:31 2016 by
394
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
395
+ 0.9.5 (ruby-2.3.1).
396
+ </div>
397
+
398
+ </div>
399
+ </body>
400
+ </html>