dieta_alu0100648782 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +9 -0
- data/Guardfile +82 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/Rakefile +6 -0
- data/bat +122 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/dieta.gemspec +39 -0
- data/doc/CODE_OF_CONDUCT_md.html +197 -0
- data/doc/Dieta.html +109 -0
- data/doc/Dietas.html +219 -0
- data/doc/Gemfile.html +109 -0
- data/doc/Gemfile_lock.html +184 -0
- data/doc/Grupo_alimento.html +221 -0
- data/doc/Grupo_edad.html +221 -0
- data/doc/Guardfile.html +182 -0
- data/doc/LICENSE_txt.html +119 -0
- data/doc/Lista.html +457 -0
- data/doc/Menu.html +624 -0
- data/doc/Object.html +116 -0
- data/doc/Plato.html +314 -0
- data/doc/README_md.html +175 -0
- data/doc/Rakefile.html +103 -0
- data/doc/bat.html +224 -0
- data/doc/bin/setup.html +103 -0
- data/doc/created.rid +20 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/dieta_gemspec.html +137 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +121 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +260 -0
- data/lib/dieta/dietas.rb +11 -0
- data/lib/dieta/dsl.rb +59 -0
- data/lib/dieta/lista.rb +66 -0
- data/lib/dieta/menu.rb +79 -0
- data/lib/dieta/plato.rb +19 -0
- data/lib/dieta/version.rb +3 -0
- data/lib/dieta.rb +10 -0
- metadata +211 -0
data/doc/Object.html
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Object - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="./js/jquery.js"></script>
|
14
|
+
<script src="./js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="./index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link">BasicObject
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</div>
|
69
|
+
</nav>
|
70
|
+
|
71
|
+
<main role="main" aria-labelledby="class-Object">
|
72
|
+
<h1 id="class-Object" class="class">
|
73
|
+
class Object
|
74
|
+
</h1>
|
75
|
+
|
76
|
+
<section class="description">
|
77
|
+
|
78
|
+
</section>
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<section class="constants-list">
|
90
|
+
<header>
|
91
|
+
<h3>Constants</h3>
|
92
|
+
</header>
|
93
|
+
<dl>
|
94
|
+
|
95
|
+
<dt id="Nodo">Nodo
|
96
|
+
|
97
|
+
<dd>
|
98
|
+
|
99
|
+
|
100
|
+
</dl>
|
101
|
+
</section>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
</section>
|
108
|
+
</main>
|
109
|
+
|
110
|
+
|
111
|
+
<footer id="validator-badges" role="contentinfo">
|
112
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
113
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
|
114
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
115
|
+
</footer>
|
116
|
+
|
data/doc/Plato.html
ADDED
@@ -0,0 +1,314 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Plato - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="./js/jquery.js"></script>
|
14
|
+
<script src="./js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="class">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="./index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<div id="class-metadata">
|
56
|
+
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
58
|
+
<h3>Parent</h3>
|
59
|
+
|
60
|
+
|
61
|
+
<p class="link"><a href="Object.html">Object</a>
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<div id="method-list-section" class="nav-section">
|
69
|
+
<h3>Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list" role="directory">
|
72
|
+
|
73
|
+
<li ><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li ><a href="#method-i-3D-3D">#==</a>
|
76
|
+
|
77
|
+
<li ><a href="#method-i-get_descripcion">#get_descripcion</a>
|
78
|
+
|
79
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
</nav>
|
86
|
+
|
87
|
+
<main role="main" aria-labelledby="class-Plato">
|
88
|
+
<h1 id="class-Plato" class="class">
|
89
|
+
class Plato
|
90
|
+
</h1>
|
91
|
+
|
92
|
+
<section class="description">
|
93
|
+
|
94
|
+
</section>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<section class="attribute-method-details" class="method-section">
|
108
|
+
<header>
|
109
|
+
<h3>Attributes</h3>
|
110
|
+
</header>
|
111
|
+
|
112
|
+
|
113
|
+
<div id="attribute-i-descripcion" class="method-detail">
|
114
|
+
<div class="method-heading attribute-method-heading">
|
115
|
+
<span class="method-name">descripcion</span><span
|
116
|
+
class="attribute-access-type">[R]</span>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
<div class="method-description">
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div id="attribute-i-gramos" class="method-detail">
|
127
|
+
<div class="method-heading attribute-method-heading">
|
128
|
+
<span class="method-name">gramos</span><span
|
129
|
+
class="attribute-access-type">[R]</span>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<div class="method-description">
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="attribute-i-porcion" class="method-detail">
|
140
|
+
<div class="method-heading attribute-method-heading">
|
141
|
+
<span class="method-name">porcion</span><span
|
142
|
+
class="attribute-access-type">[R]</span>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<div class="method-description">
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
</section>
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
157
|
+
<header>
|
158
|
+
<h3>Public Class Methods</h3>
|
159
|
+
</header>
|
160
|
+
|
161
|
+
|
162
|
+
<div id="method-c-new" class="method-detail ">
|
163
|
+
|
164
|
+
<div class="method-heading">
|
165
|
+
<span class="method-name">new</span><span
|
166
|
+
class="method-args">(descripcion, porcion, gramos)</span>
|
167
|
+
|
168
|
+
<span class="method-click-advice">click to toggle source</span>
|
169
|
+
|
170
|
+
</div>
|
171
|
+
|
172
|
+
|
173
|
+
<div class="method-description">
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
<div class="method-source-code" id="new-source">
|
181
|
+
<pre><span class="ruby-comment"># File lib/dieta/plato.rb, line 3</span>
|
182
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">descripcion</span>, <span class="ruby-identifier">porcion</span>, <span class="ruby-identifier">gramos</span>
|
183
|
+
<span class="ruby-ivar">@descripcion</span>, <span class="ruby-ivar">@porcion</span>, <span class="ruby-ivar">@gramos</span> = <span class="ruby-identifier">descripcion</span>, <span class="ruby-identifier">porcion</span>, <span class="ruby-identifier">gramos</span>
|
184
|
+
<span class="ruby-keyword">end</span></pre>
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
</div>
|
193
|
+
|
194
|
+
|
195
|
+
</section>
|
196
|
+
|
197
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
198
|
+
<header>
|
199
|
+
<h3>Public Instance Methods</h3>
|
200
|
+
</header>
|
201
|
+
|
202
|
+
|
203
|
+
<div id="method-i-3D-3D" class="method-detail ">
|
204
|
+
|
205
|
+
<div class="method-heading">
|
206
|
+
<span class="method-name">==</span><span
|
207
|
+
class="method-args">(otro)</span>
|
208
|
+
|
209
|
+
<span class="method-click-advice">click to toggle source</span>
|
210
|
+
|
211
|
+
</div>
|
212
|
+
|
213
|
+
|
214
|
+
<div class="method-description">
|
215
|
+
|
216
|
+
<p>Dos objectos de la clase <a href="Plato.html">Plato</a> sera iguales si lo
|
217
|
+
son sus atributos</p>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<div class="method-source-code" id="3D-3D-source">
|
223
|
+
<pre><span class="ruby-comment"># File lib/dieta/plato.rb, line 11</span>
|
224
|
+
<span class="ruby-keyword">def</span> <span class="ruby-operator">==</span> (<span class="ruby-identifier">otro</span>)
|
225
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">otro</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@descripcion</span> <span class="ruby-operator">==</span><span class="ruby-identifier">otro</span>.<span class="ruby-identifier">descripcion</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@porcion</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">otro</span>.<span class="ruby-identifier">porcion</span> <span class="ruby-operator">&&</span> <span class="ruby-ivar">@gramos</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">otro</span>.<span class="ruby-identifier">gramos</span>
|
226
|
+
<span class="ruby-keyword">end</span></pre>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
</div>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
<div id="method-i-get_descripcion" class="method-detail ">
|
238
|
+
|
239
|
+
<div class="method-heading">
|
240
|
+
<span class="method-name">get_descripcion</span><span
|
241
|
+
class="method-args">()</span>
|
242
|
+
|
243
|
+
<span class="method-click-advice">click to toggle source</span>
|
244
|
+
|
245
|
+
</div>
|
246
|
+
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
<div class="method-source-code" id="get_descripcion-source">
|
256
|
+
<pre><span class="ruby-comment"># File lib/dieta/plato.rb, line 7</span>
|
257
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_descripcion</span>
|
258
|
+
<span class="ruby-ivar">@descripcion</span>
|
259
|
+
<span class="ruby-keyword">end</span></pre>
|
260
|
+
</div>
|
261
|
+
|
262
|
+
</div>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
</div>
|
268
|
+
|
269
|
+
|
270
|
+
<div id="method-i-to_s" class="method-detail ">
|
271
|
+
|
272
|
+
<div class="method-heading">
|
273
|
+
<span class="method-name">to_s</span><span
|
274
|
+
class="method-args">()</span>
|
275
|
+
|
276
|
+
<span class="method-click-advice">click to toggle source</span>
|
277
|
+
|
278
|
+
</div>
|
279
|
+
|
280
|
+
|
281
|
+
<div class="method-description">
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
<div class="method-source-code" id="to_s-source">
|
289
|
+
<pre><span class="ruby-comment"># File lib/dieta/plato.rb, line 15</span>
|
290
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
291
|
+
<span class="ruby-node">"#{descripcion}, #{porcion}, #{gramos}"</span>
|
292
|
+
<span class="ruby-keyword">end</span></pre>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
</div>
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
</div>
|
301
|
+
|
302
|
+
|
303
|
+
</section>
|
304
|
+
|
305
|
+
</section>
|
306
|
+
</main>
|
307
|
+
|
308
|
+
|
309
|
+
<footer id="validator-badges" role="contentinfo">
|
310
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
311
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
|
312
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
313
|
+
</footer>
|
314
|
+
|
data/doc/README_md.html
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>README - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<script src="./js/jquery.js"></script>
|
14
|
+
<script src="./js/darkfish.js"></script>
|
15
|
+
|
16
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<body id="top" role="document" class="file">
|
22
|
+
<nav role="navigation">
|
23
|
+
<div id="project-navigation">
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
+
<h2>
|
26
|
+
<a href="./index.html" rel="home">Home</a>
|
27
|
+
</h2>
|
28
|
+
|
29
|
+
<div id="table-of-contents-navigation">
|
30
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
+
<form action="#" method="get" accept-charset="utf-8">
|
38
|
+
<div id="search-field-wrapper">
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
46
|
+
aria-busy="false" aria-expanded="false"
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
+
</form>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
<div class="nav-section">
|
55
|
+
<h3>Table of Contents</h3>
|
56
|
+
|
57
|
+
<ul class="link-list" role="directory">
|
58
|
+
<li><a href="#label-Lenguajes+y+Paradigmas+de+la+programaci-C3-B3n">Lenguajes y Paradigmas de la programación</a>
|
59
|
+
<li><a href="#label-Practica+7">Practica 7</a>
|
60
|
+
<li><a href="#label-Dieta">Dieta</a>
|
61
|
+
<li><a href="#label-Installation">Installation</a>
|
62
|
+
<li><a href="#label-Usage">Usage</a>
|
63
|
+
<li><a href="#label-Development">Development</a>
|
64
|
+
<li><a href="#label-Contributing">Contributing</a>
|
65
|
+
<li><a href="#label-License">License</a>
|
66
|
+
</ul>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
|
70
|
+
<div id="project-metadata">
|
71
|
+
<div id="fileindex-section" class="nav-section">
|
72
|
+
<h3>Pages</h3>
|
73
|
+
|
74
|
+
<ul class="link-list">
|
75
|
+
|
76
|
+
<li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
77
|
+
|
78
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
81
|
+
|
82
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
83
|
+
|
84
|
+
<li><a href="./LICENSE_txt.html">LICENSE</a>
|
85
|
+
|
86
|
+
<li><a href="./README_md.html">README</a>
|
87
|
+
|
88
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
89
|
+
|
90
|
+
<li><a href="./bat.html">bat</a>
|
91
|
+
|
92
|
+
<li><a href="./bin/setup.html">setup</a>
|
93
|
+
|
94
|
+
<li><a href="./dieta_gemspec.html">dieta.gemspec</a>
|
95
|
+
|
96
|
+
</ul>
|
97
|
+
</div>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
</nav>
|
101
|
+
|
102
|
+
<main role="main" aria-label="Page README.md">
|
103
|
+
|
104
|
+
<h2 id="label-Lenguajes+y+Paradigmas+de+la+programaci-C3-B3n">Lenguajes y Paradigmas de la programación<span><a href="#label-Lenguajes+y+Paradigmas+de+la+programaci-C3-B3n">¶</a> <a href="#top">↑</a></span></h2>
|
105
|
+
|
106
|
+
<h1 id="label-Practica+7">Practica 7<span><a href="#label-Practica+7">¶</a> <a href="#top">↑</a></span></h1>
|
107
|
+
<ul><li>
|
108
|
+
<p>Autor: Rafael Abadía Reyes</p>
|
109
|
+
</li></ul>
|
110
|
+
|
111
|
+
<h1 id="label-Dieta"><a href="Dieta.html">Dieta</a><span><a href="#label-Dieta">¶</a> <a href="#top">↑</a></span></h1>
|
112
|
+
|
113
|
+
<p>Welcome to your new gem! In this directory, you'll find the files you
|
114
|
+
need to be able to package up your Ruby library into a gem. Put your Ruby
|
115
|
+
code in the file <code>lib/dieta</code>. To experiment with that code, run
|
116
|
+
<code>bin/console</code> for an interactive prompt.</p>
|
117
|
+
|
118
|
+
<p>TODO: Delete this and the text above, and describe your gem</p>
|
119
|
+
|
120
|
+
<h2 id="label-Installation">Installation<span><a href="#label-Installation">¶</a> <a href="#top">↑</a></span></h2>
|
121
|
+
|
122
|
+
<p>Add this line to your application's Gemfile:</p>
|
123
|
+
|
124
|
+
<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-string">'dieta'</span>
|
125
|
+
</pre>
|
126
|
+
|
127
|
+
<p>And then execute:</p>
|
128
|
+
|
129
|
+
<pre>$ bundle</pre>
|
130
|
+
|
131
|
+
<p>Or install it yourself as:</p>
|
132
|
+
|
133
|
+
<pre>$ gem install dieta</pre>
|
134
|
+
|
135
|
+
<h2 id="label-Usage">Usage<span><a href="#label-Usage">¶</a> <a href="#top">↑</a></span></h2>
|
136
|
+
|
137
|
+
<p>TODO: Write usage instructions here</p>
|
138
|
+
|
139
|
+
<h2 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h2>
|
140
|
+
|
141
|
+
<p>After checking out the repo, run <code>bin/setup</code> to install
|
142
|
+
dependencies. Then, run <code>rake spec</code> to run the tests. You can
|
143
|
+
also run <code>bin/console</code> for an interactive prompt that will allow
|
144
|
+
you to experiment.</p>
|
145
|
+
|
146
|
+
<p>To install this gem onto your local machine, run <code>bundle exec rake
|
147
|
+
install</code>. To release a new version, update the version number in
|
148
|
+
<code>version.rb</code>, and then run <code>bundle exec rake
|
149
|
+
release</code>, which will create a git tag for the version, push git
|
150
|
+
commits and tags, and push the <code>.gem</code> file to <a
|
151
|
+
href="https://rubygems.org">rubygems.org</a>.</p>
|
152
|
+
|
153
|
+
<h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">¶</a> <a href="#top">↑</a></span></h2>
|
154
|
+
|
155
|
+
<p>Bug reports and pull requests are welcome on GitHub at <a
|
156
|
+
href="https://github.com/[USERNAME]/dieta">github.com/[USERNAME]/dieta</a>.
|
157
|
+
This project is intended to be a safe, welcoming space for collaboration,
|
158
|
+
and contributors are expected to adhere to the <a
|
159
|
+
href="http://contributor-covenant.org">Contributor Covenant</a> code of
|
160
|
+
conduct.</p>
|
161
|
+
|
162
|
+
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
163
|
+
|
164
|
+
<p>The gem is available as open source under the terms of the <a
|
165
|
+
href="http://opensource.org/licenses/MIT">MIT License</a>.</p>
|
166
|
+
</main>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
<footer id="validator-badges" role="contentinfo">
|
171
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
172
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
|
173
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
174
|
+
</footer>
|
175
|
+
|