alimento0100997910 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,239 @@
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: Alimento::DerivadoLacteo
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 = "Alimento::DerivadoLacteo";
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 (D)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Alimento.html" title="Alimento (module)">Alimento</a></span></span>
41
+ &raquo;
42
+ <span class="title">DerivadoLacteo</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: Alimento::DerivadoLacteo
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="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></li>
78
+
79
+ <li class="next">Alimento::DerivadoLacteo</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/fuente.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Esta clase permite representar un alimento que es derivado lacteo</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+ <h2>Instance Attribute Summary</h2>
122
+
123
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></h3>
124
+ <p class="inherited"><span class='object_link'><a href="Alimento.html#glucidos-instance_method" title="Alimento::Alimento#glucidos (method)">#glucidos</a></span>, <span class='object_link'><a href="Alimento.html#lipidos-instance_method" title="Alimento::Alimento#lipidos (method)">#lipidos</a></span>, <span class='object_link'><a href="Alimento.html#nombre-instance_method" title="Alimento::Alimento#nombre (method)">#nombre</a></span>, <span class='object_link'><a href="Alimento.html#proteinas-instance_method" title="Alimento::Alimento#proteinas (method)">#proteinas</a></span></p>
125
+
126
+
127
+
128
+ <h2>
129
+ Instance Method Summary
130
+ <small><a href="#" class="summary_toggle">collapse</a></small>
131
+ </h2>
132
+
133
+ <ul class="summary">
134
+
135
+ <li class="public ">
136
+ <span class="summary_signature">
137
+
138
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(name, p, g, l) &#x21d2; DerivadoLacteo </a>
139
+
140
+
141
+
142
+ </span>
143
+
144
+
145
+ <span class="note title constructor">constructor</span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ <span class="summary_desc"><div class='inline'>
155
+ <p>Se definen los valores de proteinas, glucidos y lipidos y el nombre del
156
+ alimento a través del initialize de la superclass y se define el nombre de
157
+ la categoria.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ </ul>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></h3>
176
+ <p class="inherited"><span class='object_link'><a href="Alimento.html#<=>-instance_method" title="Alimento::Alimento#&lt;=&gt; (method)">#<=></a></span>, <span class='object_link'><a href="Alimento.html#aibc-instance_method" title="Alimento::Alimento#aibc (method)">#aibc</a></span>, <span class='object_link'><a href="Alimento.html#energeticValue-instance_method" title="Alimento::Alimento#energeticValue (method)">#energeticValue</a></span>, <span class='object_link'><a href="Alimento.html#indGlu-instance_method" title="Alimento::Alimento#indGlu (method)">#indGlu</a></span>, <span class='object_link'><a href="Alimento.html#indIdv-instance_method" title="Alimento::Alimento#indIdv (method)">#indIdv</a></span>, <span class='object_link'><a href="Alimento.html#to_s-instance_method" title="Alimento::Alimento#to_s (method)">#to_s</a></span></p>
177
+
178
+ <div id="constructor_details" class="method_details_list">
179
+ <h2>Constructor Details</h2>
180
+
181
+ <div class="method_details first">
182
+ <h3 class="signature first" id="initialize-instance_method">
183
+
184
+ #<strong>initialize</strong>(name, p, g, l) &#x21d2; <tt><span class='object_link'><a href="" title="Alimento::DerivadoLacteo (class)">DerivadoLacteo</a></span></tt>
185
+
186
+
187
+
188
+
189
+
190
+ </h3><div class="docstring">
191
+ <div class="discussion">
192
+
193
+ <p>Se definen los valores de proteinas, glucidos y lipidos y el nombre del
194
+ alimento a través del initialize de la superclass y se define el nombre de
195
+ la categoria</p>
196
+
197
+
198
+ </div>
199
+ </div>
200
+ <div class="tags">
201
+
202
+
203
+ </div><table class="source_code">
204
+ <tr>
205
+ <td>
206
+ <pre class="lines">
207
+
208
+
209
+ 77
210
+ 78
211
+ 79
212
+ 80</pre>
213
+ </td>
214
+ <td>
215
+ <pre class="code"><span class="info file"># File 'lib/alimento/fuente.rb', line 77</span>
216
+
217
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span><span class='id identifier rubyid_g'>g</span><span class='comma'>,</span><span class='id identifier rubyid_l'>l</span><span class='rparen'>)</span>
218
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span><span class='id identifier rubyid_g'>g</span><span class='comma'>,</span><span class='id identifier rubyid_l'>l</span><span class='rparen'>)</span>
219
+ <span class='ivar'>@categoria</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Huevos, Lacteos y Helados</span><span class='tstring_end'>&quot;</span></span>
220
+ <span class='kw'>end</span></pre>
221
+ </td>
222
+ </tr>
223
+ </table>
224
+ </div>
225
+
226
+ </div>
227
+
228
+
229
+ </div>
230
+
231
+ <div id="footer">
232
+ Generated on Tue Dec 12 20:43:00 2017 by
233
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
234
+ 0.9.9 (ruby-2.4.2).
235
+ </div>
236
+
237
+ </div>
238
+ </body>
239
+ </html>
@@ -0,0 +1,239 @@
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: Alimento::Frutas
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 = "Alimento::Frutas";
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 (F)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Alimento.html" title="Alimento (module)">Alimento</a></span></span>
41
+ &raquo;
42
+ <span class="title">Frutas</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: Alimento::Frutas
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="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></li>
78
+
79
+ <li class="next">Alimento::Frutas</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/fuente.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Esta clase permite representar un alimento en la categoria de frutas</p>
108
+
109
+
110
+ </div>
111
+ </div>
112
+ <div class="tags">
113
+
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+ <h2>Instance Attribute Summary</h2>
122
+
123
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></h3>
124
+ <p class="inherited"><span class='object_link'><a href="Alimento.html#glucidos-instance_method" title="Alimento::Alimento#glucidos (method)">#glucidos</a></span>, <span class='object_link'><a href="Alimento.html#lipidos-instance_method" title="Alimento::Alimento#lipidos (method)">#lipidos</a></span>, <span class='object_link'><a href="Alimento.html#nombre-instance_method" title="Alimento::Alimento#nombre (method)">#nombre</a></span>, <span class='object_link'><a href="Alimento.html#proteinas-instance_method" title="Alimento::Alimento#proteinas (method)">#proteinas</a></span></p>
125
+
126
+
127
+
128
+ <h2>
129
+ Instance Method Summary
130
+ <small><a href="#" class="summary_toggle">collapse</a></small>
131
+ </h2>
132
+
133
+ <ul class="summary">
134
+
135
+ <li class="public ">
136
+ <span class="summary_signature">
137
+
138
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(name, p, g, l) &#x21d2; Frutas </a>
139
+
140
+
141
+
142
+ </span>
143
+
144
+
145
+ <span class="note title constructor">constructor</span>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ <span class="summary_desc"><div class='inline'>
155
+ <p>Se definen los valores de proteinas, glucidos y lipidos y el nombre del
156
+ alimento a través del initialize de la superclass y se define el nombre de
157
+ la categoria.</p>
158
+ </div></span>
159
+
160
+ </li>
161
+
162
+
163
+ </ul>
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Alimento.html" title="Alimento::Alimento (class)">Alimento</a></span></h3>
176
+ <p class="inherited"><span class='object_link'><a href="Alimento.html#<=>-instance_method" title="Alimento::Alimento#&lt;=&gt; (method)">#<=></a></span>, <span class='object_link'><a href="Alimento.html#aibc-instance_method" title="Alimento::Alimento#aibc (method)">#aibc</a></span>, <span class='object_link'><a href="Alimento.html#energeticValue-instance_method" title="Alimento::Alimento#energeticValue (method)">#energeticValue</a></span>, <span class='object_link'><a href="Alimento.html#indGlu-instance_method" title="Alimento::Alimento#indGlu (method)">#indGlu</a></span>, <span class='object_link'><a href="Alimento.html#indIdv-instance_method" title="Alimento::Alimento#indIdv (method)">#indIdv</a></span>, <span class='object_link'><a href="Alimento.html#to_s-instance_method" title="Alimento::Alimento#to_s (method)">#to_s</a></span></p>
177
+
178
+ <div id="constructor_details" class="method_details_list">
179
+ <h2>Constructor Details</h2>
180
+
181
+ <div class="method_details first">
182
+ <h3 class="signature first" id="initialize-instance_method">
183
+
184
+ #<strong>initialize</strong>(name, p, g, l) &#x21d2; <tt><span class='object_link'><a href="" title="Alimento::Frutas (class)">Frutas</a></span></tt>
185
+
186
+
187
+
188
+
189
+
190
+ </h3><div class="docstring">
191
+ <div class="discussion">
192
+
193
+ <p>Se definen los valores de proteinas, glucidos y lipidos y el nombre del
194
+ alimento a través del initialize de la superclass y se define el nombre de
195
+ la categoria</p>
196
+
197
+
198
+ </div>
199
+ </div>
200
+ <div class="tags">
201
+
202
+
203
+ </div><table class="source_code">
204
+ <tr>
205
+ <td>
206
+ <pre class="lines">
207
+
208
+
209
+ 143
210
+ 144
211
+ 145
212
+ 146</pre>
213
+ </td>
214
+ <td>
215
+ <pre class="code"><span class="info file"># File 'lib/alimento/fuente.rb', line 143</span>
216
+
217
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span><span class='id identifier rubyid_g'>g</span><span class='comma'>,</span><span class='id identifier rubyid_l'>l</span><span class='rparen'>)</span>
218
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span><span class='id identifier rubyid_g'>g</span><span class='comma'>,</span><span class='id identifier rubyid_l'>l</span><span class='rparen'>)</span>
219
+ <span class='ivar'>@categoria</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Frutas</span><span class='tstring_end'>&quot;</span></span>
220
+ <span class='kw'>end</span></pre>
221
+ </td>
222
+ </tr>
223
+ </table>
224
+ </div>
225
+
226
+ </div>
227
+
228
+
229
+ </div>
230
+
231
+ <div id="footer">
232
+ Generated on Tue Dec 12 20:43:00 2017 by
233
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
234
+ 0.9.9 (ruby-2.4.2).
235
+ </div>
236
+
237
+ </div>
238
+ </body>
239
+ </html>