LPP_alu0100966589 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Guardfile +82 -0
- data/LICENSE.txt +21 -0
- data/README.md +20 -0
- data/Rakefile +6 -0
- data/TDD.gemspec +41 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docs/Array.html +355 -0
- data/docs/CarbohydrateRich.html +152 -0
- data/docs/Dll.html +845 -0
- data/docs/DllNode.html +418 -0
- data/docs/EggMilkAndDerivatives.html +152 -0
- data/docs/Fish.html +152 -0
- data/docs/Food.html +1500 -0
- data/docs/Fruits.html +152 -0
- data/docs/MeatAndDerivatives.html +152 -0
- data/docs/OilsAndSweets.html +152 -0
- data/docs/TDD.html +117 -0
- data/docs/Vegetables.html +152 -0
- data/docs/_index.html +229 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +499 -0
- data/docs/file.README.html +109 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +109 -0
- data/docs/js/app.js +248 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +251 -0
- data/docs/top-level-namespace.html +112 -0
- data/lib/TDD.rb +12 -0
- data/lib/TDD/Dll.rb +80 -0
- data/lib/TDD/DllNode.rb +3 -0
- data/lib/TDD/Food.rb +110 -0
- data/lib/TDD/FoodPyramidClasses.rb +20 -0
- data/lib/TDD/Plate.rb +124 -0
- data/lib/TDD/sort.rb +35 -0
- data/lib/TDD/version.rb +3 -0
- metadata +203 -0
data/docs/TDD.html
ADDED
@@ -0,0 +1,117 @@
|
|
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: TDD
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.12
|
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 = "TDD";
|
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 (T)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">TDD</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>Module: TDD
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/TDD.rb<span class="defines">,<br />
|
82
|
+
lib/TDD/version.rb</span>
|
83
|
+
</dd>
|
84
|
+
</dl>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
<h2>Constant Summary</h2>
|
90
|
+
<dl class="constants">
|
91
|
+
|
92
|
+
<dt id="VERSION-constant" class="">VERSION =
|
93
|
+
|
94
|
+
</dt>
|
95
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>"</span></span></pre></dd>
|
96
|
+
|
97
|
+
</dl>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<div id="footer">
|
110
|
+
Generated on Tue Nov 28 21:26:18 2017 by
|
111
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
|
+
0.9.12 (ruby-2.3.0).
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</body>
|
117
|
+
</html>
|
@@ -0,0 +1,152 @@
|
|
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: Vegetables
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.12
|
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 = "Vegetables";
|
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 (V)</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Vegetables</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: Vegetables
|
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="Food.html" title="Food (class)">Food</a></span></span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next"><span class='object_link'><a href="Food.html" title="Food (class)">Food</a></span></li>
|
78
|
+
|
79
|
+
<li class="next">Vegetables</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/TDD/FoodPyramidClasses.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<h2>Constant Summary</h2>
|
108
|
+
|
109
|
+
<h3 class="inherited">Constants inherited
|
110
|
+
from <span class='object_link'><a href="Food.html" title="Food (class)">Food</a></span></h3>
|
111
|
+
<p class="inherited"><span class='object_link'><a href="Food.html#DELTA_TIME-constant" title="Food::DELTA_TIME (constant)">Food::DELTA_TIME</a></span></p>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
<h2>Instance Attribute Summary</h2>
|
117
|
+
|
118
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Food.html" title="Food (class)">Food</a></span></h3>
|
119
|
+
<p class="inherited"><span class='object_link'><a href="Food.html#energetic_value-instance_method" title="Food#energetic_value (method)">#energetic_value</a></span>, <span class='object_link'><a href="Food.html#glycemic_index-instance_method" title="Food#glycemic_index (method)">#glycemic_index</a></span>, <span class='object_link'><a href="Food.html#name-instance_method" title="Food#name (method)">#name</a></span>, <span class='object_link'><a href="Food.html#nutrient_quantities-instance_method" title="Food#nutrient_quantities (method)">#nutrient_quantities</a></span></p>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<h2>Method Summary</h2>
|
130
|
+
|
131
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Food.html" title="Food (class)">Food</a></span></h3>
|
132
|
+
<p class="inherited"><span class='object_link'><a href="Food.html#<=>-instance_method" title="Food#<=> (method)">#<=></a></span>, <span class='object_link'><a href="Food.html#gi-instance_method" title="Food#gi (method)">#gi</a></span>, <span class='object_link'><a href="Food.html#iauc-instance_method" title="Food#iauc (method)">#iauc</a></span>, <span class='object_link'><a href="Food.html#individual_gi-instance_method" title="Food#individual_gi (method)">#individual_gi</a></span>, <span class='object_link'><a href="Food.html#initialize-instance_method" title="Food#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Food.html#nutrients_name-class_method" title="Food.nutrients_name (method)">nutrients_name</a></span>, <span class='object_link'><a href="Food.html#quantity_of_nutrient-instance_method" title="Food#quantity_of_nutrient (method)">#quantity_of_nutrient</a></span>, <span class='object_link'><a href="Food.html#to_s-instance_method" title="Food#to_s (method)">#to_s</a></span></p>
|
133
|
+
|
134
|
+
<div id="constructor_details" class="method_details_list">
|
135
|
+
<h2>Constructor Details</h2>
|
136
|
+
|
137
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Food.html#initialize-instance_method" title="Food#initialize (method)">Food</a></span></p>
|
138
|
+
|
139
|
+
</div>
|
140
|
+
|
141
|
+
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div id="footer">
|
145
|
+
Generated on Tue Nov 28 21:26:18 2017 by
|
146
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
147
|
+
0.9.12 (ruby-2.3.0).
|
148
|
+
</div>
|
149
|
+
|
150
|
+
</div>
|
151
|
+
</body>
|
152
|
+
</html>
|
data/docs/_index.html
ADDED
@@ -0,0 +1,229 @@
|
|
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.12
|
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.12</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="Array.html" title="Array (class)">Array</a></span>
|
85
|
+
|
86
|
+
</li>
|
87
|
+
|
88
|
+
</ul>
|
89
|
+
</ul>
|
90
|
+
|
91
|
+
|
92
|
+
<ul id="alpha_C" class="alpha">
|
93
|
+
<li class="letter">C</li>
|
94
|
+
<ul>
|
95
|
+
|
96
|
+
<li>
|
97
|
+
<span class='object_link'><a href="CarbohydrateRich.html" title="CarbohydrateRich (class)">CarbohydrateRich</a></span>
|
98
|
+
|
99
|
+
</li>
|
100
|
+
|
101
|
+
</ul>
|
102
|
+
</ul>
|
103
|
+
|
104
|
+
|
105
|
+
<ul id="alpha_D" class="alpha">
|
106
|
+
<li class="letter">D</li>
|
107
|
+
<ul>
|
108
|
+
|
109
|
+
<li>
|
110
|
+
<span class='object_link'><a href="Dll.html" title="Dll (class)">Dll</a></span>
|
111
|
+
|
112
|
+
</li>
|
113
|
+
|
114
|
+
<li>
|
115
|
+
<span class='object_link'><a href="DllNode.html" title="DllNode (class)">DllNode</a></span>
|
116
|
+
|
117
|
+
</li>
|
118
|
+
|
119
|
+
</ul>
|
120
|
+
</ul>
|
121
|
+
|
122
|
+
|
123
|
+
<ul id="alpha_E" class="alpha">
|
124
|
+
<li class="letter">E</li>
|
125
|
+
<ul>
|
126
|
+
|
127
|
+
<li>
|
128
|
+
<span class='object_link'><a href="EggMilkAndDerivatives.html" title="EggMilkAndDerivatives (class)">EggMilkAndDerivatives</a></span>
|
129
|
+
|
130
|
+
</li>
|
131
|
+
|
132
|
+
</ul>
|
133
|
+
</ul>
|
134
|
+
|
135
|
+
|
136
|
+
<ul id="alpha_F" class="alpha">
|
137
|
+
<li class="letter">F</li>
|
138
|
+
<ul>
|
139
|
+
|
140
|
+
<li>
|
141
|
+
<span class='object_link'><a href="Fish.html" title="Fish (class)">Fish</a></span>
|
142
|
+
|
143
|
+
</li>
|
144
|
+
|
145
|
+
<li>
|
146
|
+
<span class='object_link'><a href="Food.html" title="Food (class)">Food</a></span>
|
147
|
+
|
148
|
+
</li>
|
149
|
+
|
150
|
+
<li>
|
151
|
+
<span class='object_link'><a href="Fruits.html" title="Fruits (class)">Fruits</a></span>
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
</ul>
|
157
|
+
|
158
|
+
|
159
|
+
<ul id="alpha_M" class="alpha">
|
160
|
+
<li class="letter">M</li>
|
161
|
+
<ul>
|
162
|
+
|
163
|
+
<li>
|
164
|
+
<span class='object_link'><a href="MeatAndDerivatives.html" title="MeatAndDerivatives (class)">MeatAndDerivatives</a></span>
|
165
|
+
|
166
|
+
</li>
|
167
|
+
|
168
|
+
</ul>
|
169
|
+
</ul>
|
170
|
+
|
171
|
+
|
172
|
+
<ul id="alpha_O" class="alpha">
|
173
|
+
<li class="letter">O</li>
|
174
|
+
<ul>
|
175
|
+
|
176
|
+
<li>
|
177
|
+
<span class='object_link'><a href="OilsAndSweets.html" title="OilsAndSweets (class)">OilsAndSweets</a></span>
|
178
|
+
|
179
|
+
</li>
|
180
|
+
|
181
|
+
</ul>
|
182
|
+
</ul>
|
183
|
+
|
184
|
+
|
185
|
+
</td><td valign='top' width="33%">
|
186
|
+
|
187
|
+
|
188
|
+
<ul id="alpha_T" class="alpha">
|
189
|
+
<li class="letter">T</li>
|
190
|
+
<ul>
|
191
|
+
|
192
|
+
<li>
|
193
|
+
<span class='object_link'><a href="TDD.html" title="TDD (module)">TDD</a></span>
|
194
|
+
|
195
|
+
</li>
|
196
|
+
|
197
|
+
</ul>
|
198
|
+
</ul>
|
199
|
+
|
200
|
+
|
201
|
+
<ul id="alpha_V" class="alpha">
|
202
|
+
<li class="letter">V</li>
|
203
|
+
<ul>
|
204
|
+
|
205
|
+
<li>
|
206
|
+
<span class='object_link'><a href="Vegetables.html" title="Vegetables (class)">Vegetables</a></span>
|
207
|
+
|
208
|
+
</li>
|
209
|
+
|
210
|
+
</ul>
|
211
|
+
</ul>
|
212
|
+
|
213
|
+
</td>
|
214
|
+
</tr>
|
215
|
+
</table>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div id="footer">
|
222
|
+
Generated on Tue Nov 28 21:26:18 2017 by
|
223
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
224
|
+
0.9.12 (ruby-2.3.0).
|
225
|
+
</div>
|
226
|
+
|
227
|
+
</div>
|
228
|
+
</body>
|
229
|
+
</html>
|