rubyneat 0.3.5.alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +7 -0
  2. data/.directory +4 -0
  3. data/.gitignore.orig +20 -0
  4. data/.idea/.name +1 -0
  5. data/.idea/.rakeTasks +7 -0
  6. data/.idea/dictionaries/trader.xml +3 -0
  7. data/.idea/encodings.xml +5 -0
  8. data/.idea/misc.xml +5 -0
  9. data/.idea/modules.xml +9 -0
  10. data/.idea/rubyneat.iml +197 -0
  11. data/.idea/runConfigurations/invpend_neat.xml +26 -0
  12. data/.idea/runConfigurations/sigdebug_neat.xml +24 -0
  13. data/.idea/runConfigurations/xor_neat.xml +26 -0
  14. data/.idea/runConfigurations/xordebug_neat.xml +24 -0
  15. data/.idea/runConfigurations/xorsin_neat.xml +24 -0
  16. data/.idea/scopes/scope_settings.xml +5 -0
  17. data/.idea/vcs.xml +7 -0
  18. data/.idea/workspace.xml +1124 -0
  19. data/.semver +5 -0
  20. data/.yardoc/checksums +11 -0
  21. data/.yardoc/object_types +0 -0
  22. data/.yardoc/objects/root.dat +0 -0
  23. data/.yardoc/proxy_types +0 -0
  24. data/Gemfile +32 -0
  25. data/Gemfile.lock +135 -0
  26. data/Gemfile.lock.orig +147 -0
  27. data/Guardfile +8 -0
  28. data/Rakefile +61 -0
  29. data/bin/neat +83 -0
  30. data/config/application.rb +5 -0
  31. data/doc/ControllerPoint.html +125 -0
  32. data/doc/CuteA.html +286 -0
  33. data/doc/CuteB.html +297 -0
  34. data/doc/DSL.html +883 -0
  35. data/doc/NEAT/BasicNeuronTypes/BiasNeuron.html +518 -0
  36. data/doc/NEAT/BasicNeuronTypes/CosineNeuron.html +274 -0
  37. data/doc/NEAT/BasicNeuronTypes/InputNeuron.html +366 -0
  38. data/doc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +275 -0
  39. data/doc/NEAT/BasicNeuronTypes/SineNeuron.html +274 -0
  40. data/doc/NEAT/BasicNeuronTypes/TanhNeuron.html +274 -0
  41. data/doc/NEAT/BasicNeuronTypes.html +136 -0
  42. data/doc/NEAT/Controller/NeatSettings.html +3985 -0
  43. data/doc/NEAT/Controller.html +2490 -0
  44. data/doc/NEAT/Critter/Genotype/Gene.html +979 -0
  45. data/doc/NEAT/Critter/Genotype.html +1601 -0
  46. data/doc/NEAT/Critter/Phenotype.html +603 -0
  47. data/doc/NEAT/Critter.html +1037 -0
  48. data/doc/NEAT/DSL.html +1255 -0
  49. data/doc/NEAT/Evaluator.html +420 -0
  50. data/doc/NEAT/Evolver/CritterOp.html +551 -0
  51. data/doc/NEAT/Evolver.html +602 -0
  52. data/doc/NEAT/Expressor.html +327 -0
  53. data/doc/NEAT/Graph/DependencyResolver.html +478 -0
  54. data/doc/NEAT/Graph/GraphException.html +123 -0
  55. data/doc/NEAT/Graph.html +402 -0
  56. data/doc/NEAT/NeatException.html +123 -0
  57. data/doc/NEAT/NeatOb.html +567 -0
  58. data/doc/NEAT/Neuron.html +1067 -0
  59. data/doc/NEAT/Operator.html +162 -0
  60. data/doc/NEAT/Population.html +1961 -0
  61. data/doc/NEAT/Trait.html +169 -0
  62. data/doc/NEAT.html +588 -0
  63. data/doc/_index.html +373 -0
  64. data/doc/class_list.html +54 -0
  65. data/doc/css/common.css +1 -0
  66. data/doc/css/full_list.css +57 -0
  67. data/doc/css/style.css +339 -0
  68. data/doc/file_list.html +53 -0
  69. data/doc/frames.html +26 -0
  70. data/doc/index.html +373 -0
  71. data/doc/js/app.js +219 -0
  72. data/doc/js/full_list.js +178 -0
  73. data/doc/js/jquery.js +4 -0
  74. data/doc/method_list.html +1415 -0
  75. data/doc/top-level-namespace.html +164 -0
  76. data/foo/foo_aquarium_example.rb +38 -0
  77. data/foo/foo_gosu.rb +99 -0
  78. data/foo/foo_rubygoo.rb +104 -0
  79. data/foo/foo_sdl.rb +34 -0
  80. data/foo/icon.png +0 -0
  81. data/lib/rubyneat/critter.rb +374 -0
  82. data/lib/rubyneat/default_neat.rb +10 -0
  83. data/lib/rubyneat/dsl.rb +130 -0
  84. data/lib/rubyneat/evaluator.rb +51 -0
  85. data/lib/rubyneat/evolver.rb +315 -0
  86. data/lib/rubyneat/expressor.rb +110 -0
  87. data/lib/rubyneat/graph.rb +95 -0
  88. data/lib/rubyneat/neuron.rb +152 -0
  89. data/lib/rubyneat/population.rb +227 -0
  90. data/lib/rubyneat/rubyneat.rb +429 -0
  91. data/lib/rubyneat.rb +8 -0
  92. data/neater/invpend_neat.rb +150 -0
  93. data/neater/rnlib/inverted_pendulum.rb +380 -0
  94. data/neater/rnlib/xor.rb +10 -0
  95. data/neater/sigdebug_neat.rb +136 -0
  96. data/neater/xor_neat.rb +137 -0
  97. data/neater/xoranalog_neat.rb +138 -0
  98. data/neater/xorsin_neat.rb +143 -0
  99. data/projectFilesBackup/.idea/rubyneat.iml +180 -0
  100. data/public/.directory +4 -0
  101. data/public/background.png +0 -0
  102. data/public/background.xcf +0 -0
  103. data/public/cart.png +0 -0
  104. data/public/cart.xcf +0 -0
  105. data/public/metalpoles_molton_ball_l.jpg +0 -0
  106. data/public/old_background.png +0 -0
  107. data/public/pointer.png +0 -0
  108. data/public/pointer.xcf +0 -0
  109. data/public/pole.kra +0 -0
  110. data/public/pole.png +0 -0
  111. data/public/pole.xcf +0 -0
  112. data/public/wheel-of-year-stone-DD-131-WOYS.jpg +0 -0
  113. data/public/wheel.png +0 -0
  114. data/public/wheel.xcf +0 -0
  115. data/public/wood-planks-texture.jpg +0 -0
  116. data/rdoc/ControllerPoint.html +116 -0
  117. data/rdoc/CuteA.html +177 -0
  118. data/rdoc/CuteB.html +178 -0
  119. data/rdoc/DSLSetup.html +177 -0
  120. data/rdoc/GameTestWindow.html +242 -0
  121. data/rdoc/GameWindow.html +292 -0
  122. data/rdoc/Gemfile.html +215 -0
  123. data/rdoc/Gemfile_lock.html +327 -0
  124. data/rdoc/GraphTest.html +210 -0
  125. data/rdoc/Guardfile.html +198 -0
  126. data/rdoc/InvertedPendulum/Cart.html +668 -0
  127. data/rdoc/InvertedPendulum/DSL.html +259 -0
  128. data/rdoc/InvertedPendulum/InvPendWindow.html +402 -0
  129. data/rdoc/InvertedPendulum.html +198 -0
  130. data/rdoc/Logger.html +98 -0
  131. data/rdoc/NEAT/BasicNeuronTypes/BiasNeuron.html +265 -0
  132. data/rdoc/NEAT/BasicNeuronTypes/CosineNeuron.html +162 -0
  133. data/rdoc/NEAT/BasicNeuronTypes/InputNeuron.html +206 -0
  134. data/rdoc/NEAT/BasicNeuronTypes/SigmoidNeuron.html +162 -0
  135. data/rdoc/NEAT/BasicNeuronTypes/SineNeuron.html +162 -0
  136. data/rdoc/NEAT/BasicNeuronTypes/TanhNeuron.html +161 -0
  137. data/rdoc/NEAT/BasicNeuronTypes.html +107 -0
  138. data/rdoc/NEAT/Controller/NeatSettings.html +880 -0
  139. data/rdoc/NEAT/Controller.html +729 -0
  140. data/rdoc/NEAT/Critter/Genotype/Gene.html +457 -0
  141. data/rdoc/NEAT/Critter/Genotype.html +735 -0
  142. data/rdoc/NEAT/Critter/Phenotype.html +330 -0
  143. data/rdoc/NEAT/Critter.html +489 -0
  144. data/rdoc/NEAT/DSL.html +729 -0
  145. data/rdoc/NEAT/Evaluator.html +256 -0
  146. data/rdoc/NEAT/Evolver/CritterOp.html +349 -0
  147. data/rdoc/NEAT/Evolver.html +891 -0
  148. data/rdoc/NEAT/Expressor.html +402 -0
  149. data/rdoc/NEAT/Graph/DependencyResolver.html +291 -0
  150. data/rdoc/NEAT/Graph/GraphException.html +105 -0
  151. data/rdoc/NEAT/Graph.html +263 -0
  152. data/rdoc/NEAT/NeatException.html +105 -0
  153. data/rdoc/NEAT/NeatOb.html +325 -0
  154. data/rdoc/NEAT/Neuron.html +481 -0
  155. data/rdoc/NEAT/Operator.html +109 -0
  156. data/rdoc/NEAT/Population.html +935 -0
  157. data/rdoc/NEAT/Trait.html +117 -0
  158. data/rdoc/NEAT.html +422 -0
  159. data/rdoc/Object.html +384 -0
  160. data/rdoc/Phi.html +98 -0
  161. data/rdoc/Player.html +383 -0
  162. data/rdoc/Rakefile.html +254 -0
  163. data/rdoc/RubyNEAT/Application.html +105 -0
  164. data/rdoc/RubyNEAT.html +98 -0
  165. data/rdoc/SDL/Event2.html +98 -0
  166. data/rdoc/SDL.html +98 -0
  167. data/rdoc/Vector.html +195 -0
  168. data/rdoc/created.rid +125 -0
  169. data/rdoc/doc/ControllerPoint_html.html +299 -0
  170. data/rdoc/doc/CuteA_html.html +438 -0
  171. data/rdoc/doc/CuteB_html.html +436 -0
  172. data/rdoc/doc/DSL_html.html +992 -0
  173. data/rdoc/doc/NEAT/BasicNeuronTypes/BiasNeuron_html.html +617 -0
  174. data/rdoc/doc/NEAT/BasicNeuronTypes/CosineNeuron_html.html +413 -0
  175. data/rdoc/doc/NEAT/BasicNeuronTypes/InputNeuron_html.html +498 -0
  176. data/rdoc/doc/NEAT/BasicNeuronTypes/SigmoidNeuron_html.html +413 -0
  177. data/rdoc/doc/NEAT/BasicNeuronTypes/SineNeuron_html.html +413 -0
  178. data/rdoc/doc/NEAT/BasicNeuronTypes/TanhNeuron_html.html +412 -0
  179. data/rdoc/doc/NEAT/BasicNeuronTypes_html.html +310 -0
  180. data/rdoc/doc/NEAT/Controller/NeatSettings_html.html +3324 -0
  181. data/rdoc/doc/NEAT/Controller_html.html +2212 -0
  182. data/rdoc/doc/NEAT/Critter/Genotype/Gene_html.html +997 -0
  183. data/rdoc/doc/NEAT/Critter/Genotype_html.html +1556 -0
  184. data/rdoc/doc/NEAT/Critter/Phenotype_html.html +687 -0
  185. data/rdoc/doc/NEAT/Critter_html.html +1037 -0
  186. data/rdoc/doc/NEAT/DSL_html.html +1349 -0
  187. data/rdoc/doc/NEAT/Evaluator_html.html +556 -0
  188. data/rdoc/doc/NEAT/Evolver/CritterOp_html.html +690 -0
  189. data/rdoc/doc/NEAT/Evolver_html.html +677 -0
  190. data/rdoc/doc/NEAT/Expressor_html.html +468 -0
  191. data/rdoc/doc/NEAT/Graph/DependencyResolver_html.html +598 -0
  192. data/rdoc/doc/NEAT/Graph/GraphException_html.html +299 -0
  193. data/rdoc/doc/NEAT/Graph_html.html +527 -0
  194. data/rdoc/doc/NEAT/NeatException_html.html +299 -0
  195. data/rdoc/doc/NEAT/NeatOb_html.html +671 -0
  196. data/rdoc/doc/NEAT/Neuron_html.html +1095 -0
  197. data/rdoc/doc/NEAT/Operator_html.html +337 -0
  198. data/rdoc/doc/NEAT/Population_html.html +1795 -0
  199. data/rdoc/doc/NEAT/Trait_html.html +344 -0
  200. data/rdoc/doc/NEAT_html.html +736 -0
  201. data/rdoc/doc/_index_html.html +559 -0
  202. data/rdoc/doc/class_list_html.html +369 -0
  203. data/rdoc/doc/css/common_css.html +188 -0
  204. data/rdoc/doc/css/full_list_css.html +243 -0
  205. data/rdoc/doc/css/style_css.html +530 -0
  206. data/rdoc/doc/file_list_html.html +240 -0
  207. data/rdoc/doc/frames_html.html +217 -0
  208. data/rdoc/doc/index_html.html +559 -0
  209. data/rdoc/doc/js/app_js.html +423 -0
  210. data/rdoc/doc/js/full_list_js.html +372 -0
  211. data/rdoc/doc/js/jquery_js.html +1536 -0
  212. data/rdoc/doc/method_list_html.html +1375 -0
  213. data/rdoc/doc/top-level-namespace_html.html +317 -0
  214. data/rdoc/fonts/Lato-Light.ttf +0 -0
  215. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  216. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  217. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  218. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  219. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  220. data/rdoc/fonts.css +167 -0
  221. data/rdoc/images/add.png +0 -0
  222. data/rdoc/images/arrow_up.png +0 -0
  223. data/rdoc/images/brick.png +0 -0
  224. data/rdoc/images/brick_link.png +0 -0
  225. data/rdoc/images/bug.png +0 -0
  226. data/rdoc/images/bullet_black.png +0 -0
  227. data/rdoc/images/bullet_toggle_minus.png +0 -0
  228. data/rdoc/images/bullet_toggle_plus.png +0 -0
  229. data/rdoc/images/date.png +0 -0
  230. data/rdoc/images/delete.png +0 -0
  231. data/rdoc/images/find.png +0 -0
  232. data/rdoc/images/loadingAnimation.gif +0 -0
  233. data/rdoc/images/macFFBgHack.png +0 -0
  234. data/rdoc/images/package.png +0 -0
  235. data/rdoc/images/page_green.png +0 -0
  236. data/rdoc/images/page_white_text.png +0 -0
  237. data/rdoc/images/page_white_width.png +0 -0
  238. data/rdoc/images/plugin.png +0 -0
  239. data/rdoc/images/ruby.png +0 -0
  240. data/rdoc/images/tag_blue.png +0 -0
  241. data/rdoc/images/tag_green.png +0 -0
  242. data/rdoc/images/transparent.png +0 -0
  243. data/rdoc/images/wrench.png +0 -0
  244. data/rdoc/images/wrench_orange.png +0 -0
  245. data/rdoc/images/zoom.png +0 -0
  246. data/rdoc/index.html +282 -0
  247. data/rdoc/js/darkfish.js +140 -0
  248. data/rdoc/js/jquery.js +18 -0
  249. data/rdoc/js/navigation.js +142 -0
  250. data/rdoc/js/search.js +109 -0
  251. data/rdoc/js/search_index.js +1 -0
  252. data/rdoc/js/searcher.js +228 -0
  253. data/rdoc/rdoc.css +580 -0
  254. data/rdoc/rubyneat_gemspec.html +387 -0
  255. data/rdoc/table_of_contents.html +2502 -0
  256. data/rdoc/xordebug_log.html +170598 -0
  257. data/rdoc/xorsin_log.html +22569 -0
  258. data/rubyneat.gemspec +347 -0
  259. data/rubyneat.gemspec.orig +375 -0
  260. data/spec/lib/rubyneat/rubyneat_spec.rb +132 -0
  261. metadata +555 -0
data/rdoc/rdoc.css ADDED
@@ -0,0 +1,580 @@
1
+ /*
2
+ * "Darkfish" Rdoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* vim: ft=css et sw=2 ts=2 sts=2 */
10
+ /* Base Green is: #6C8C22 */
11
+
12
+ * { padding: 0; margin: 0; }
13
+
14
+ body {
15
+ background: #fafafa;
16
+ font-family: Lato, sans-serif;
17
+ font-weight: 300;
18
+ }
19
+
20
+ h1 span,
21
+ h2 span,
22
+ h3 span,
23
+ h4 span,
24
+ h5 span,
25
+ h6 span {
26
+ display: none;
27
+ padding-left: 1em;
28
+ font-size: 10px;
29
+ vertical-align: super;
30
+ }
31
+
32
+ h1:hover span,
33
+ h2:hover span,
34
+ h3:hover span,
35
+ h4:hover span,
36
+ h5:hover span,
37
+ h6:hover span {
38
+ display: inline;
39
+ }
40
+
41
+ :link,
42
+ :visited {
43
+ color: #6C8C22;
44
+ text-decoration: none;
45
+ }
46
+
47
+ :link:hover,
48
+ :visited:hover {
49
+ border-bottom: 1px dotted #6C8C22;
50
+ }
51
+
52
+ code,
53
+ pre {
54
+ font-family: "Source Code Pro", Monaco, monospace;
55
+ }
56
+
57
+ /* @group Generic Classes */
58
+
59
+ .initially-hidden {
60
+ display: none;
61
+ }
62
+
63
+ #search-field {
64
+ width: 98%;
65
+ background: white;
66
+ border: none;
67
+ height: 1.5em;
68
+ -webkit-border-radius: 4px;
69
+ -moz-border-radius: 4px;
70
+ border-radius: 4px;
71
+ text-align: left;
72
+ }
73
+ #search-field:focus {
74
+ background: #f1edba;
75
+ }
76
+ #search-field:-moz-placeholder,
77
+ #search-field::-webkit-input-placeholder {
78
+ font-weight: bold;
79
+ color: #666;
80
+ }
81
+
82
+ .missing-docs {
83
+ font-size: 120%;
84
+ background: white url(images/wrench_orange.png) no-repeat 4px center;
85
+ color: #ccc;
86
+ line-height: 2em;
87
+ border: 1px solid #d00;
88
+ opacity: 1;
89
+ padding-left: 20px;
90
+ text-indent: 24px;
91
+ letter-spacing: 3px;
92
+ font-weight: bold;
93
+ -webkit-border-radius: 5px;
94
+ -moz-border-radius: 5px;
95
+ }
96
+
97
+ .target-section {
98
+ border: 2px solid #dcce90;
99
+ border-left-width: 8px;
100
+ padding: 0 1em;
101
+ background: #fff3c2;
102
+ }
103
+
104
+ /* @end */
105
+
106
+ /* @group Index Page, Standalone file pages */
107
+ .table-of-contents ul {
108
+ margin: 1em;
109
+ list-style: none;
110
+ }
111
+
112
+ .table-of-contents ul ul {
113
+ margin-top: 0.25em;
114
+ }
115
+
116
+ .table-of-contents ul :link,
117
+ .table-of-contents ul :visited {
118
+ font-size: 16px;
119
+ }
120
+
121
+ .table-of-contents li {
122
+ margin-bottom: 0.25em;
123
+ }
124
+
125
+ .table-of-contents li .toc-toggle {
126
+ width: 16px;
127
+ height: 16px;
128
+ background: url(images/add.png) no-repeat;
129
+ }
130
+
131
+ .table-of-contents li .toc-toggle.open {
132
+ background: url(images/delete.png) no-repeat;
133
+ }
134
+
135
+ /* @end */
136
+
137
+ /* @group Top-Level Structure */
138
+
139
+ nav {
140
+ float: left;
141
+ width: 260px;
142
+ font-family: Helvetica, sans-serif;
143
+ font-size: 14px;
144
+ }
145
+
146
+ main {
147
+ display: block;
148
+ margin: 0 2em 5em 260px;
149
+ padding-left: 20px;
150
+ min-width: 340px;
151
+ font-size: 16px;
152
+ }
153
+
154
+ main h1,
155
+ main h2,
156
+ main h3,
157
+ main h4,
158
+ main h5,
159
+ main h6 {
160
+ font-family: Helvetica, sans-serif;
161
+ }
162
+
163
+ .table-of-contents main {
164
+ margin-left: 2em;
165
+ }
166
+
167
+ #validator-badges {
168
+ clear: both;
169
+ margin: 1em 1em 2em;
170
+ font-size: smaller;
171
+ }
172
+
173
+ /* @end */
174
+
175
+ /* @group navigation */
176
+ nav {
177
+ margin-bottom: 1em;
178
+ }
179
+
180
+ nav .nav-section {
181
+ margin-top: 2em;
182
+ border-top: 2px solid #aaa;
183
+ font-size: 90%;
184
+ overflow: hidden;
185
+ }
186
+
187
+ nav h2 {
188
+ margin: 0;
189
+ padding: 2px 8px 2px 8px;
190
+ background-color: #e8e8e8;
191
+ color: #555;
192
+ font-size: 125%;
193
+ text-align: center;
194
+ }
195
+
196
+ nav h3,
197
+ #table-of-contents-navigation {
198
+ margin: 0;
199
+ padding: 2px 8px 2px 8px;
200
+ text-align: right;
201
+ background-color: #e8e8e8;
202
+ color: #555;
203
+ }
204
+
205
+ nav ul,
206
+ nav dl,
207
+ nav p {
208
+ padding: 4px 8px 0;
209
+ list-style: none;
210
+ }
211
+
212
+ #project-navigation .nav-section {
213
+ margin: 0;
214
+ border-top: 0;
215
+ }
216
+
217
+ #home-section h2 {
218
+ text-align: center;
219
+ }
220
+
221
+ #table-of-contents-navigation {
222
+ font-size: 1.2em;
223
+ font-weight: bold;
224
+ text-align: center;
225
+ }
226
+
227
+ #search-section {
228
+ margin-top: 0;
229
+ border-top: 0;
230
+ }
231
+
232
+ #search-field-wrapper {
233
+ border-top: 1px solid #aaa;
234
+ border-bottom: 1px solid #aaa;
235
+ padding: 3px 8px;
236
+ background-color: #e8e8e8;
237
+ color: #555;
238
+ }
239
+
240
+ ul.link-list li {
241
+ white-space: nowrap;
242
+ line-height: 1.4em;
243
+ }
244
+
245
+ ul.link-list .type {
246
+ font-size: 8px;
247
+ text-transform: uppercase;
248
+ color: white;
249
+ background: #969696;
250
+ padding: 2px 4px;
251
+ -webkit-border-radius: 5px;
252
+ }
253
+
254
+ .calls-super {
255
+ background: url(images/arrow_up.png) no-repeat right center;
256
+ }
257
+
258
+ /* @end */
259
+
260
+ /* @group Documentation Section */
261
+ main {
262
+ color: #333;
263
+ }
264
+
265
+ main > h1:first-child,
266
+ main > h2:first-child,
267
+ main > h3:first-child,
268
+ main > h4:first-child,
269
+ main > h5:first-child,
270
+ main > h6:first-child {
271
+ margin-top: 0px;
272
+ }
273
+
274
+ main sup {
275
+ vertical-align: super;
276
+ font-size: 0.8em;
277
+ }
278
+
279
+ /* The heading with the class name */
280
+ main h1[class] {
281
+ margin-top: 0;
282
+ margin-bottom: 1em;
283
+ font-size: 2em;
284
+ color: #6C8C22;
285
+ }
286
+
287
+ main h1 {
288
+ margin: 2em 0 0.5em;
289
+ font-size: 1.7em;
290
+ }
291
+
292
+ main h2 {
293
+ margin: 2em 0 0.5em;
294
+ font-size: 1.5em;
295
+ }
296
+
297
+ main h3 {
298
+ margin: 2em 0 0.5em;
299
+ font-size: 1.2em;
300
+ }
301
+
302
+ main h4 {
303
+ margin: 2em 0 0.5em;
304
+ font-size: 1.1em;
305
+ }
306
+
307
+ main h5 {
308
+ margin: 2em 0 0.5em;
309
+ font-size: 1em;
310
+ }
311
+
312
+ main h6 {
313
+ margin: 2em 0 0.5em;
314
+ font-size: 1em;
315
+ }
316
+
317
+ main p {
318
+ margin: 0 0 0.5em;
319
+ line-height: 1.4em;
320
+ }
321
+
322
+ main pre {
323
+ margin: 1.2em 0.5em;
324
+ padding: 1em;
325
+ font-size: 0.8em;
326
+ }
327
+
328
+ main hr {
329
+ margin: 1.5em 1em;
330
+ border: 2px solid #ddd;
331
+ }
332
+
333
+ main blockquote {
334
+ margin: 0 2em 1.2em 1.2em;
335
+ padding-left: 0.5em;
336
+ border-left: 2px solid #ddd;
337
+ }
338
+
339
+ main ol,
340
+ main ul {
341
+ margin: 1em 2em;
342
+ }
343
+
344
+ main li > p {
345
+ margin-bottom: 0.5em;
346
+ }
347
+
348
+ main dl {
349
+ margin: 1em 0.5em;
350
+ }
351
+
352
+ main dt {
353
+ margin-bottom: 0.5em;
354
+ font-weight: bold;
355
+ }
356
+
357
+ main dd {
358
+ margin: 0 1em 1em 0.5em;
359
+ }
360
+
361
+ main header h2 {
362
+ margin-top: 2em;
363
+ border-width: 0;
364
+ border-top: 4px solid #bbb;
365
+ font-size: 130%;
366
+ }
367
+
368
+ main header h3 {
369
+ margin: 2em 0 1.5em;
370
+ border-width: 0;
371
+ border-top: 3px solid #bbb;
372
+ font-size: 120%;
373
+ }
374
+
375
+ .documentation-section-title {
376
+ position: relative;
377
+ }
378
+ .documentation-section-title .section-click-top {
379
+ position: absolute;
380
+ top: 6px;
381
+ left: 12px;
382
+ font-size: 10px;
383
+ color: #9b9877;
384
+ visibility: hidden;
385
+ padding-left: 0.5px;
386
+ }
387
+
388
+ .documentation-section-title:hover .section-click-top {
389
+ visibility: visible;
390
+ }
391
+
392
+ .constants-list > dl {
393
+ margin: 1em 0 2em;
394
+ border: 0;
395
+ }
396
+
397
+ .constants-list > dl dt {
398
+ margin-bottom: 0.75em;
399
+ padding-left: 0;
400
+ font-family: "Source Code Pro", Monaco, monospace;
401
+ font-size: 110%;
402
+ }
403
+
404
+ .constants-list > dl dt a {
405
+ color: inherit;
406
+ }
407
+
408
+ .constants-list > dl dd {
409
+ margin: 0 0 2em 0;
410
+ padding: 0;
411
+ color: #666;
412
+ }
413
+
414
+ .documentation-section h2 {
415
+ position: relative;
416
+ }
417
+
418
+ .documentation-section h2 a {
419
+ position: absolute;
420
+ top: 8px;
421
+ right: 10px;
422
+ font-size: 12px;
423
+ color: #9b9877;
424
+ visibility: hidden;
425
+ }
426
+
427
+ .documentation-section h2:hover a {
428
+ visibility: visible;
429
+ }
430
+
431
+ /* @group Method Details */
432
+
433
+ main .method-source-code {
434
+ display: none;
435
+ }
436
+
437
+ main .method-description .method-calls-super {
438
+ color: #333;
439
+ font-weight: bold;
440
+ }
441
+
442
+ main .method-detail {
443
+ margin-bottom: 2.5em;
444
+ cursor: pointer;
445
+ }
446
+
447
+ main .method-detail:target {
448
+ margin-left: -10px;
449
+ border-left: 10px solid #f1edba;
450
+ }
451
+
452
+ main .method-heading {
453
+ position: relative;
454
+ font-family: "Source Code Pro", Monaco, monospace;
455
+ font-size: 110%;
456
+ font-weight: bold;
457
+ color: #333;
458
+ }
459
+ main .method-heading :link,
460
+ main .method-heading :visited {
461
+ color: inherit;
462
+ }
463
+ main .method-click-advice {
464
+ position: absolute;
465
+ top: 2px;
466
+ right: 5px;
467
+ font-size: 12px;
468
+ color: #9b9877;
469
+ visibility: hidden;
470
+ padding-right: 20px;
471
+ line-height: 20px;
472
+ background: url(images/zoom.png) no-repeat right top;
473
+ }
474
+ main .method-heading:hover .method-click-advice {
475
+ visibility: visible;
476
+ }
477
+
478
+ main .method-alias .method-heading {
479
+ color: #666;
480
+ }
481
+
482
+ main .method-description,
483
+ main .aliases {
484
+ margin-top: 0.75em;
485
+ color: #333;
486
+ }
487
+
488
+ main .aliases {
489
+ padding-top: 4px;
490
+ font-style: italic;
491
+ cursor: default;
492
+ }
493
+ main .method-description ul {
494
+ margin-left: 1.5em;
495
+ }
496
+
497
+ main #attribute-method-details .method-detail:hover {
498
+ background-color: transparent;
499
+ cursor: default;
500
+ }
501
+ main .attribute-access-type {
502
+ text-transform: uppercase;
503
+ padding: 0 1em;
504
+ }
505
+ /* @end */
506
+
507
+ /* @end */
508
+
509
+ /* @group Source Code */
510
+
511
+ pre {
512
+ margin: 0.5em 0;
513
+ border: 1px dashed #999;
514
+ padding: 0.5em;
515
+ background: #262626;
516
+ color: white;
517
+ overflow: auto;
518
+ }
519
+
520
+ .ruby-constant { color: #7fffd4; background: transparent; }
521
+ .ruby-keyword { color: #00ffff; background: transparent; }
522
+ .ruby-ivar { color: #eedd82; background: transparent; }
523
+ .ruby-operator { color: #00ffee; background: transparent; }
524
+ .ruby-identifier { color: #ffdead; background: transparent; }
525
+ .ruby-node { color: #ffa07a; background: transparent; }
526
+ .ruby-comment { color: #dc0000; background: transparent; }
527
+ .ruby-regexp { color: #ffa07a; background: transparent; }
528
+ .ruby-value { color: #7fffd4; background: transparent; }
529
+
530
+ /* @end */
531
+
532
+
533
+ /* @group search results */
534
+ #search-results {
535
+ font-family: Lato, sans-serif;
536
+ font-weight: 300;
537
+ }
538
+
539
+ #search-results .search-match {
540
+ font-family: Helvetica, sans-serif;
541
+ font-weight: normal;
542
+ }
543
+
544
+ #search-results .search-selected {
545
+ background: #e8e8e8;
546
+ border-bottom: 1px solid transparent;
547
+ }
548
+
549
+ #search-results li {
550
+ list-style: none;
551
+ border-bottom: 1px solid #aaa;
552
+ margin-bottom: 0.5em;
553
+ }
554
+
555
+ #search-results li:last-child {
556
+ border-bottom: none;
557
+ margin-bottom: 0;
558
+ }
559
+
560
+ #search-results li p {
561
+ padding: 0;
562
+ margin: 0.5em;
563
+ }
564
+
565
+ #search-results .search-namespace {
566
+ font-weight: bold;
567
+ }
568
+
569
+ #search-results li em {
570
+ background: yellow;
571
+ font-style: normal;
572
+ }
573
+
574
+ #search-results pre {
575
+ margin: 0.5em;
576
+ font-family: "Source Code Pro", Monaco, monospace;
577
+ }
578
+
579
+ /* @end */
580
+