ruby-prof 0.13.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES +579 -371
- data/LICENSE +24 -23
- data/README.rdoc +5 -433
- data/Rakefile +98 -110
- data/bin/ruby-prof +328 -329
- data/bin/ruby-prof-check-trace +45 -0
- data/ext/ruby_prof/extconf.rb +16 -59
- data/ext/ruby_prof/rp_aggregate_call_tree.c +59 -0
- data/ext/ruby_prof/rp_aggregate_call_tree.h +13 -0
- data/ext/ruby_prof/rp_allocation.c +287 -0
- data/ext/ruby_prof/rp_allocation.h +31 -0
- data/ext/ruby_prof/rp_call_tree.c +369 -0
- data/ext/ruby_prof/rp_call_tree.h +43 -0
- data/ext/ruby_prof/rp_call_trees.c +288 -0
- data/ext/ruby_prof/rp_call_trees.h +28 -0
- data/ext/ruby_prof/rp_measure_allocations.c +50 -65
- data/ext/ruby_prof/rp_measure_memory.c +42 -73
- data/ext/ruby_prof/rp_measure_process_time.c +65 -71
- data/ext/ruby_prof/rp_measure_wall_time.c +64 -42
- data/ext/ruby_prof/rp_measurement.c +237 -0
- data/ext/ruby_prof/rp_measurement.h +50 -0
- data/ext/ruby_prof/rp_method.c +491 -420
- data/ext/ruby_prof/rp_method.h +62 -57
- data/ext/ruby_prof/rp_profile.c +908 -0
- data/ext/ruby_prof/rp_profile.h +35 -0
- data/ext/ruby_prof/rp_stack.c +212 -128
- data/ext/ruby_prof/rp_stack.h +53 -51
- data/ext/ruby_prof/rp_thread.c +362 -268
- data/ext/ruby_prof/rp_thread.h +39 -27
- data/ext/ruby_prof/ruby_prof.c +52 -695
- data/ext/ruby_prof/ruby_prof.h +26 -55
- data/ext/ruby_prof/vc/ruby_prof.sln +28 -21
- data/ext/ruby_prof/vc/{ruby_prof_20.vcxproj → ruby_prof.vcxproj} +56 -8
- data/lib/ruby-prof.rb +52 -67
- data/lib/ruby-prof/assets/call_stack_printer.html.erb +710 -0
- data/lib/ruby-prof/assets/call_stack_printer.png +0 -0
- data/lib/ruby-prof/assets/graph_printer.html.erb +355 -0
- data/lib/ruby-prof/call_tree.rb +57 -0
- data/lib/ruby-prof/call_tree_visitor.rb +36 -0
- data/lib/ruby-prof/compatibility.rb +99 -169
- data/lib/ruby-prof/exclude_common_methods.rb +198 -0
- data/lib/ruby-prof/measurement.rb +17 -0
- data/lib/ruby-prof/method_info.rb +78 -131
- data/lib/ruby-prof/printers/abstract_printer.rb +137 -85
- data/lib/ruby-prof/printers/call_info_printer.rb +53 -41
- data/lib/ruby-prof/printers/call_stack_printer.rb +180 -773
- data/lib/ruby-prof/printers/call_tree_printer.rb +151 -92
- data/lib/ruby-prof/printers/dot_printer.rb +132 -132
- data/lib/ruby-prof/printers/flat_printer.rb +53 -69
- data/lib/ruby-prof/printers/graph_html_printer.rb +63 -255
- data/lib/ruby-prof/printers/graph_printer.rb +113 -116
- data/lib/ruby-prof/printers/multi_printer.rb +127 -56
- data/lib/ruby-prof/profile.rb +37 -77
- data/lib/ruby-prof/rack.rb +62 -15
- data/lib/ruby-prof/task.rb +147 -147
- data/lib/ruby-prof/thread.rb +10 -12
- data/lib/ruby-prof/version.rb +3 -0
- data/lib/unprof.rb +10 -10
- data/ruby-prof.gemspec +65 -61
- data/test/abstract_printer_test.rb +26 -0
- data/test/alias_test.rb +126 -0
- data/test/basic_test.rb +43 -128
- data/test/call_tree_visitor_test.rb +32 -0
- data/test/call_trees_test.rb +66 -0
- data/test/duplicate_names_test.rb +32 -32
- data/test/dynamic_method_test.rb +53 -74
- data/test/enumerable_test.rb +21 -16
- data/test/exceptions_test.rb +24 -16
- data/test/exclude_methods_test.rb +151 -0
- data/test/exclude_threads_test.rb +53 -54
- data/test/fiber_test.rb +129 -65
- data/test/gc_test.rb +90 -0
- data/test/inverse_call_tree_test.rb +175 -0
- data/test/line_number_test.rb +158 -71
- data/test/marshal_test.rb +113 -0
- data/test/measure_allocations.rb +30 -0
- data/test/measure_allocations_test.rb +375 -25
- data/test/measure_allocations_trace_test.rb +375 -0
- data/test/measure_memory_trace_test.rb +1101 -0
- data/test/measure_process_time_test.rb +785 -62
- data/test/measure_times.rb +56 -0
- data/test/measure_wall_time_test.rb +434 -254
- data/test/multi_printer_test.rb +71 -82
- data/test/no_method_class_test.rb +15 -15
- data/test/pause_resume_test.rb +175 -166
- data/test/prime.rb +54 -54
- data/test/prime_script.rb +6 -0
- data/test/printer_call_stack_test.rb +27 -0
- data/test/printer_call_tree_test.rb +30 -0
- data/test/printer_flat_test.rb +99 -0
- data/test/printer_graph_html_test.rb +59 -0
- data/test/printer_graph_test.rb +40 -0
- data/test/printers_test.rb +141 -257
- data/test/printing_recursive_graph_test.rb +81 -0
- data/test/profile_test.rb +16 -0
- data/test/rack_test.rb +93 -0
- data/test/recursive_test.rb +206 -215
- data/test/singleton_test.rb +38 -38
- data/test/stack_printer_test.rb +64 -78
- data/test/start_stop_test.rb +109 -112
- data/test/test_helper.rb +13 -115
- data/test/thread_test.rb +144 -178
- data/test/unique_call_path_test.rb +120 -224
- data/test/yarv_test.rb +56 -0
- metadata +77 -133
- data/doc/LICENSE.html +0 -155
- data/doc/README_rdoc.html +0 -648
- data/doc/Rack.html +0 -167
- data/doc/Rack/RubyProf.html +0 -319
- data/doc/RubyProf.html +0 -1000
- data/doc/RubyProf/AbstractPrinter.html +0 -580
- data/doc/RubyProf/AggregateCallInfo.html +0 -570
- data/doc/RubyProf/CallInfo.html +0 -512
- data/doc/RubyProf/CallInfoPrinter.html +0 -190
- data/doc/RubyProf/CallInfoVisitor.html +0 -332
- data/doc/RubyProf/CallStackPrinter.html +0 -1600
- data/doc/RubyProf/CallTreePrinter.html +0 -413
- data/doc/RubyProf/Cmd.html +0 -669
- data/doc/RubyProf/DotPrinter.html +0 -312
- data/doc/RubyProf/FlatPrinter.html +0 -229
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +0 -267
- data/doc/RubyProf/GraphHtmlPrinter.html +0 -630
- data/doc/RubyProf/GraphPrinter.html +0 -209
- data/doc/RubyProf/MethodInfo.html +0 -713
- data/doc/RubyProf/MultiPrinter.html +0 -407
- data/doc/RubyProf/Profile.html +0 -821
- data/doc/RubyProf/ProfileTask.html +0 -532
- data/doc/RubyProf/Test.html +0 -578
- data/doc/RubyProf/Thread.html +0 -262
- data/doc/created.rid +0 -32
- data/doc/examples/flat_txt.html +0 -191
- data/doc/examples/graph_txt.html +0 -305
- data/doc/images/add.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 +0 -647
- data/doc/js/darkfish.js +0 -155
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -462
- data/examples/empty.png +0 -0
- data/examples/flat.txt +0 -55
- data/examples/graph.dot +0 -106
- data/examples/graph.html +0 -823
- data/examples/graph.png +0 -0
- data/examples/graph.txt +0 -170
- data/examples/minus.png +0 -0
- data/examples/multi.flat.txt +0 -23
- data/examples/multi.graph.html +0 -906
- data/examples/multi.grind.dat +0 -194
- data/examples/multi.stack.html +0 -573
- data/examples/plus.png +0 -0
- data/examples/stack.html +0 -573
- data/ext/ruby_prof/rp_call_info.c +0 -407
- data/ext/ruby_prof/rp_call_info.h +0 -48
- data/ext/ruby_prof/rp_measure.c +0 -48
- data/ext/ruby_prof/rp_measure.h +0 -45
- data/ext/ruby_prof/rp_measure_cpu_time.c +0 -112
- data/ext/ruby_prof/rp_measure_gc_runs.c +0 -65
- data/ext/ruby_prof/rp_measure_gc_time.c +0 -57
- data/ext/ruby_prof/vc/ruby_prof_18.vcxproj +0 -108
- data/ext/ruby_prof/vc/ruby_prof_19.vcxproj +0 -110
- data/ext/ruby_prof/version.h +0 -7
- data/lib/ruby-prof/aggregate_call_info.rb +0 -72
- data/lib/ruby-prof/call_info.rb +0 -89
- data/lib/ruby-prof/call_info_visitor.rb +0 -44
- data/lib/ruby-prof/images/empty.png +0 -0
- data/lib/ruby-prof/images/minus.png +0 -0
- data/lib/ruby-prof/images/plus.png +0 -0
- data/lib/ruby-prof/printers/flat_printer_with_line_numbers.rb +0 -57
- data/lib/ruby-prof/test.rb +0 -150
- data/test/aggregate_test.rb +0 -136
- data/test/call_info_test.rb +0 -78
- data/test/call_info_visitor_test.rb +0 -31
- data/test/exec_test.rb +0 -14
- data/test/measure_cpu_time_test.rb +0 -220
- data/test/measure_gc_runs_test.rb +0 -32
- data/test/measure_gc_time_test.rb +0 -36
- data/test/measure_memory_test.rb +0 -31
- data/test/method_elimination_test.rb +0 -84
- data/test/module_test.rb +0 -45
- data/test/stack_test.rb +0 -138
- data/test/test_suite.rb +0 -37
data/doc/rdoc.css
DELETED
@@ -1,543 +0,0 @@
|
|
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
|
-
/* Base Green is: #6C8C22 */
|
10
|
-
|
11
|
-
* { padding: 0; margin: 0; }
|
12
|
-
|
13
|
-
body {
|
14
|
-
background: #efefef;
|
15
|
-
font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
|
16
|
-
margin-left: 40px;
|
17
|
-
}
|
18
|
-
body.file-popup {
|
19
|
-
font-size: 90%;
|
20
|
-
margin-left: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
h1 {
|
24
|
-
font-size: 300%;
|
25
|
-
text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
|
26
|
-
color: #6C8C22;
|
27
|
-
}
|
28
|
-
h2,h3,h4 { margin-top: 1.5em; }
|
29
|
-
|
30
|
-
:link,
|
31
|
-
:visited {
|
32
|
-
color: #6C8C22;
|
33
|
-
text-decoration: none;
|
34
|
-
}
|
35
|
-
:link:hover,
|
36
|
-
:visited:hover {
|
37
|
-
border-bottom: 1px dotted #6C8C22;
|
38
|
-
}
|
39
|
-
|
40
|
-
pre {
|
41
|
-
background: #ddd;
|
42
|
-
padding: 0.5em 0;
|
43
|
-
}
|
44
|
-
|
45
|
-
/* @group Generic Classes */
|
46
|
-
|
47
|
-
.initially-hidden {
|
48
|
-
display: none;
|
49
|
-
}
|
50
|
-
|
51
|
-
#search-field {
|
52
|
-
width: 98%;
|
53
|
-
background: #eee;
|
54
|
-
border: none;
|
55
|
-
height: 1.5em;
|
56
|
-
-webkit-border-radius: 4px;
|
57
|
-
}
|
58
|
-
#search-field:focus {
|
59
|
-
background: #f1edba;
|
60
|
-
}
|
61
|
-
#search-field:-moz-placeholder,
|
62
|
-
#search-field::-webkit-input-placeholder {
|
63
|
-
font-weight: bold;
|
64
|
-
color: #666;
|
65
|
-
}
|
66
|
-
|
67
|
-
.missing-docs {
|
68
|
-
font-size: 120%;
|
69
|
-
background: white url(images/wrench_orange.png) no-repeat 4px center;
|
70
|
-
color: #ccc;
|
71
|
-
line-height: 2em;
|
72
|
-
border: 1px solid #d00;
|
73
|
-
opacity: 1;
|
74
|
-
padding-left: 20px;
|
75
|
-
text-indent: 24px;
|
76
|
-
letter-spacing: 3px;
|
77
|
-
font-weight: bold;
|
78
|
-
-webkit-border-radius: 5px;
|
79
|
-
-moz-border-radius: 5px;
|
80
|
-
}
|
81
|
-
|
82
|
-
.target-section {
|
83
|
-
border: 2px solid #dcce90;
|
84
|
-
border-left-width: 8px;
|
85
|
-
padding: 0 1em;
|
86
|
-
background: #fff3c2;
|
87
|
-
}
|
88
|
-
|
89
|
-
/* @end */
|
90
|
-
|
91
|
-
/* @group Index Page, Standalone file pages */
|
92
|
-
.indexpage ul {
|
93
|
-
line-height: 160%;
|
94
|
-
list-style: none;
|
95
|
-
}
|
96
|
-
.indexpage ul :link,
|
97
|
-
.indexpage ul :visited {
|
98
|
-
font-size: 16px;
|
99
|
-
}
|
100
|
-
|
101
|
-
.indexpage li {
|
102
|
-
padding-left: 20px;
|
103
|
-
}
|
104
|
-
|
105
|
-
.indexpage ul > li {
|
106
|
-
background: url(images/bullet_black.png) no-repeat left 4px;
|
107
|
-
}
|
108
|
-
.indexpage li.method {
|
109
|
-
background: url(images/plugin.png) no-repeat left 4px;
|
110
|
-
}
|
111
|
-
.indexpage li.module {
|
112
|
-
background: url(images/package.png) no-repeat left 4px;
|
113
|
-
}
|
114
|
-
.indexpage li.class {
|
115
|
-
background: url(images/ruby.png) no-repeat left 4px;
|
116
|
-
}
|
117
|
-
.indexpage li.file {
|
118
|
-
background: url(images/page_white_text.png) no-repeat left 4px;
|
119
|
-
}
|
120
|
-
.indexpage li li {
|
121
|
-
background: url(images/tag_blue.png) no-repeat left 4px;
|
122
|
-
}
|
123
|
-
.indexpage li .toc-toggle {
|
124
|
-
width: 16px;
|
125
|
-
height: 16px;
|
126
|
-
background: url(images/add.png) no-repeat;
|
127
|
-
}
|
128
|
-
|
129
|
-
.indexpage li .toc-toggle.open {
|
130
|
-
background: url(images/delete.png) no-repeat;
|
131
|
-
}
|
132
|
-
|
133
|
-
/* @end */
|
134
|
-
|
135
|
-
/* @group Top-Level Structure */
|
136
|
-
|
137
|
-
#metadata {
|
138
|
-
float: left;
|
139
|
-
width: 260px;
|
140
|
-
}
|
141
|
-
|
142
|
-
#documentation {
|
143
|
-
margin: 2em 1em 5em 300px;
|
144
|
-
min-width: 340px;
|
145
|
-
}
|
146
|
-
|
147
|
-
#validator-badges {
|
148
|
-
clear: both;
|
149
|
-
margin: 1em 1em 2em;
|
150
|
-
font-size: smaller;
|
151
|
-
}
|
152
|
-
|
153
|
-
/* @end */
|
154
|
-
|
155
|
-
/* @group Metadata Section */
|
156
|
-
#metadata .section {
|
157
|
-
background-color: #dedede;
|
158
|
-
-moz-border-radius: 5px;
|
159
|
-
-webkit-border-radius: 5px;
|
160
|
-
border: 1px solid #aaa;
|
161
|
-
margin: 0 8px 8px;
|
162
|
-
font-size: 90%;
|
163
|
-
overflow: hidden;
|
164
|
-
}
|
165
|
-
#metadata h3.section-header {
|
166
|
-
margin: 0;
|
167
|
-
padding: 2px 8px;
|
168
|
-
background: #ccc;
|
169
|
-
color: #666;
|
170
|
-
-moz-border-radius-topleft: 4px;
|
171
|
-
-moz-border-radius-topright: 4px;
|
172
|
-
-webkit-border-top-left-radius: 4px;
|
173
|
-
-webkit-border-top-right-radius: 4px;
|
174
|
-
border-bottom: 1px solid #aaa;
|
175
|
-
}
|
176
|
-
#metadata #home-section h3.section-header {
|
177
|
-
border-bottom: 0;
|
178
|
-
}
|
179
|
-
|
180
|
-
#metadata ul,
|
181
|
-
#metadata dl,
|
182
|
-
#metadata p {
|
183
|
-
padding: 8px;
|
184
|
-
list-style: none;
|
185
|
-
}
|
186
|
-
|
187
|
-
#file-metadata {
|
188
|
-
margin-top: 2em;
|
189
|
-
}
|
190
|
-
|
191
|
-
#file-metadata ul {
|
192
|
-
padding-left: 28px;
|
193
|
-
list-style-image: url(images/page_green.png);
|
194
|
-
}
|
195
|
-
|
196
|
-
dl.svninfo {
|
197
|
-
color: #666;
|
198
|
-
margin: 0;
|
199
|
-
}
|
200
|
-
dl.svninfo dt {
|
201
|
-
font-weight: bold;
|
202
|
-
}
|
203
|
-
|
204
|
-
ul.link-list li {
|
205
|
-
white-space: nowrap;
|
206
|
-
}
|
207
|
-
ul.link-list .type {
|
208
|
-
font-size: 8px;
|
209
|
-
text-transform: uppercase;
|
210
|
-
color: white;
|
211
|
-
background: #969696;
|
212
|
-
padding: 2px 4px;
|
213
|
-
-webkit-border-radius: 5px;
|
214
|
-
}
|
215
|
-
|
216
|
-
/* @end */
|
217
|
-
|
218
|
-
/* @group Class Metadata Section */
|
219
|
-
#class-metadata {
|
220
|
-
margin-top: 2em;
|
221
|
-
}
|
222
|
-
/* @end */
|
223
|
-
|
224
|
-
/* @group Project Metadata Section */
|
225
|
-
#project-metadata {
|
226
|
-
margin-top: 2em;
|
227
|
-
}
|
228
|
-
|
229
|
-
#project-metadata .section {
|
230
|
-
border: 1px solid #aaa;
|
231
|
-
}
|
232
|
-
#project-metadata h3.section-header {
|
233
|
-
border-bottom: 1px solid #aaa;
|
234
|
-
position: relative;
|
235
|
-
}
|
236
|
-
|
237
|
-
#project-metadata form {
|
238
|
-
color: #777;
|
239
|
-
background: #ccc;
|
240
|
-
}
|
241
|
-
|
242
|
-
/* @end */
|
243
|
-
|
244
|
-
/* @group Documentation Section */
|
245
|
-
.description {
|
246
|
-
font-size: 100%;
|
247
|
-
color: #333;
|
248
|
-
}
|
249
|
-
|
250
|
-
.description p {
|
251
|
-
margin: 1em 0.4em;
|
252
|
-
}
|
253
|
-
|
254
|
-
.description li p {
|
255
|
-
margin: 0;
|
256
|
-
}
|
257
|
-
|
258
|
-
.description ol,
|
259
|
-
.description ul {
|
260
|
-
margin-left: 1.5em;
|
261
|
-
}
|
262
|
-
.description ol li,
|
263
|
-
.description ul li {
|
264
|
-
line-height: 1.4em;
|
265
|
-
}
|
266
|
-
|
267
|
-
.note-list {
|
268
|
-
margin: 8px 0;
|
269
|
-
}
|
270
|
-
|
271
|
-
.label-list {
|
272
|
-
margin: 8px 1.5em;
|
273
|
-
border: 1px solid #ccc;
|
274
|
-
}
|
275
|
-
.description .label-list {
|
276
|
-
font-size: 14px;
|
277
|
-
}
|
278
|
-
|
279
|
-
.note-list dt {
|
280
|
-
font-weight: bold;
|
281
|
-
}
|
282
|
-
.note-list dd {
|
283
|
-
padding: 0 12px;
|
284
|
-
}
|
285
|
-
|
286
|
-
.label-list dt {
|
287
|
-
padding: 2px 4px;
|
288
|
-
font-weight: bold;
|
289
|
-
background: #ddd;
|
290
|
-
}
|
291
|
-
.label-list dd {
|
292
|
-
padding: 2px 12px;
|
293
|
-
}
|
294
|
-
.label-list dd + dt,
|
295
|
-
.note-list dd + dt {
|
296
|
-
margin-top: 0.7em;
|
297
|
-
}
|
298
|
-
|
299
|
-
#documentation .section {
|
300
|
-
font-size: 90%;
|
301
|
-
}
|
302
|
-
|
303
|
-
#documentation h2.section-header {
|
304
|
-
margin-top: 1em;
|
305
|
-
padding: 0.25em 0.5em;
|
306
|
-
background: #ccc;
|
307
|
-
color: #333;
|
308
|
-
font-size: 175%;
|
309
|
-
border: 1px solid #bbb;
|
310
|
-
-moz-border-radius: 3px;
|
311
|
-
-webkit-border-radius: 3px;
|
312
|
-
}
|
313
|
-
|
314
|
-
.documentation-section-title {
|
315
|
-
position: relative;
|
316
|
-
}
|
317
|
-
.documentation-section-title .section-click-top {
|
318
|
-
position: absolute;
|
319
|
-
top: 6px;
|
320
|
-
right: 12px;
|
321
|
-
font-size: 10px;
|
322
|
-
color: #9b9877;
|
323
|
-
visibility: hidden;
|
324
|
-
padding-right: 0.5px;
|
325
|
-
}
|
326
|
-
|
327
|
-
.documentation-section-title:hover .section-click-top {
|
328
|
-
visibility: visible;
|
329
|
-
}
|
330
|
-
|
331
|
-
#documentation h3.section-header {
|
332
|
-
margin-top: 1em;
|
333
|
-
padding: 0.25em 0.5em;
|
334
|
-
background-color: #dedede;
|
335
|
-
color: #333;
|
336
|
-
font-size: 150%;
|
337
|
-
border: 1px solid #bbb;
|
338
|
-
-moz-border-radius: 3px;
|
339
|
-
-webkit-border-radius: 3px;
|
340
|
-
}
|
341
|
-
|
342
|
-
#constants-list > dl,
|
343
|
-
#attributes-list > dl {
|
344
|
-
margin: 1em 0 2em;
|
345
|
-
border: 0;
|
346
|
-
}
|
347
|
-
#constants-list > dl dt,
|
348
|
-
#attributes-list > dl dt {
|
349
|
-
padding-left: 0;
|
350
|
-
font-weight: bold;
|
351
|
-
font-family: Monaco, "Andale Mono";
|
352
|
-
background: inherit;
|
353
|
-
}
|
354
|
-
#constants-list > dl dt a,
|
355
|
-
#attributes-list > dl dt a {
|
356
|
-
color: inherit;
|
357
|
-
}
|
358
|
-
#constants-list > dl dd,
|
359
|
-
#attributes-list > dl dd {
|
360
|
-
margin: 0 0 1em 0;
|
361
|
-
padding: 0;
|
362
|
-
color: #666;
|
363
|
-
}
|
364
|
-
|
365
|
-
.documentation-section h2 {
|
366
|
-
position: relative;
|
367
|
-
}
|
368
|
-
|
369
|
-
.documentation-section h2 a {
|
370
|
-
position: absolute;
|
371
|
-
top: 8px;
|
372
|
-
right: 10px;
|
373
|
-
font-size: 12px;
|
374
|
-
color: #9b9877;
|
375
|
-
visibility: hidden;
|
376
|
-
}
|
377
|
-
|
378
|
-
.documentation-section h2:hover a {
|
379
|
-
visibility: visible;
|
380
|
-
}
|
381
|
-
|
382
|
-
/* @group Method Details */
|
383
|
-
|
384
|
-
#documentation .method-source-code {
|
385
|
-
display: none;
|
386
|
-
}
|
387
|
-
|
388
|
-
#documentation .method-detail {
|
389
|
-
margin: 0.5em 0;
|
390
|
-
padding: 0.5em 0;
|
391
|
-
cursor: pointer;
|
392
|
-
}
|
393
|
-
#documentation .method-detail:hover {
|
394
|
-
background-color: #f1edba;
|
395
|
-
}
|
396
|
-
#documentation .method-heading {
|
397
|
-
position: relative;
|
398
|
-
padding: 2px 4px 0 20px;
|
399
|
-
font-size: 125%;
|
400
|
-
font-weight: bold;
|
401
|
-
color: #333;
|
402
|
-
background: url(images/brick.png) no-repeat left bottom;
|
403
|
-
}
|
404
|
-
#documentation .method-heading :link,
|
405
|
-
#documentation .method-heading :visited {
|
406
|
-
color: inherit;
|
407
|
-
}
|
408
|
-
#documentation .method-click-advice {
|
409
|
-
position: absolute;
|
410
|
-
top: 2px;
|
411
|
-
right: 5px;
|
412
|
-
font-size: 10px;
|
413
|
-
color: #9b9877;
|
414
|
-
visibility: hidden;
|
415
|
-
padding-right: 20px;
|
416
|
-
line-height: 20px;
|
417
|
-
background: url(images/zoom.png) no-repeat right top;
|
418
|
-
}
|
419
|
-
#documentation .method-heading:hover .method-click-advice {
|
420
|
-
visibility: visible;
|
421
|
-
}
|
422
|
-
|
423
|
-
#documentation .method-alias .method-heading {
|
424
|
-
color: #666;
|
425
|
-
background: url(images/brick_link.png) no-repeat left bottom;
|
426
|
-
}
|
427
|
-
|
428
|
-
#documentation .method-description,
|
429
|
-
#documentation .aliases {
|
430
|
-
margin: 0 20px;
|
431
|
-
color: #666;
|
432
|
-
}
|
433
|
-
|
434
|
-
#documentation .method-description p,
|
435
|
-
#documentation .aliases p {
|
436
|
-
line-height: 1.2em;
|
437
|
-
}
|
438
|
-
|
439
|
-
#documentation .aliases {
|
440
|
-
padding-top: 4px;
|
441
|
-
font-style: italic;
|
442
|
-
cursor: default;
|
443
|
-
}
|
444
|
-
#documentation .method-description p {
|
445
|
-
margin-bottom: 0.5em;
|
446
|
-
}
|
447
|
-
#documentation .method-description ul {
|
448
|
-
margin-left: 1.5em;
|
449
|
-
}
|
450
|
-
pre {
|
451
|
-
margin: 0.5em 0;
|
452
|
-
}
|
453
|
-
|
454
|
-
#documentation .attribute-method-heading {
|
455
|
-
background: url(images/tag_green.png) no-repeat left bottom;
|
456
|
-
}
|
457
|
-
#documentation #attribute-method-details .method-detail:hover {
|
458
|
-
background-color: transparent;
|
459
|
-
cursor: default;
|
460
|
-
}
|
461
|
-
#documentation .attribute-access-type {
|
462
|
-
font-size: 60%;
|
463
|
-
text-transform: uppercase;
|
464
|
-
vertical-align: super;
|
465
|
-
padding: 0 2px;
|
466
|
-
}
|
467
|
-
/* @end */
|
468
|
-
|
469
|
-
/* @end */
|
470
|
-
|
471
|
-
/* @group Source Code */
|
472
|
-
|
473
|
-
pre {
|
474
|
-
overflow: auto;
|
475
|
-
background: #262626;
|
476
|
-
color: white;
|
477
|
-
border: 1px dashed #999;
|
478
|
-
padding: 0.5em;
|
479
|
-
}
|
480
|
-
|
481
|
-
.description pre {
|
482
|
-
margin: 0 0.4em;
|
483
|
-
}
|
484
|
-
|
485
|
-
.ruby-constant { color: #7fffd4; background: transparent; }
|
486
|
-
.ruby-keyword { color: #00ffff; background: transparent; }
|
487
|
-
.ruby-ivar { color: #eedd82; background: transparent; }
|
488
|
-
.ruby-operator { color: #00ffee; background: transparent; }
|
489
|
-
.ruby-identifier { color: #ffdead; background: transparent; }
|
490
|
-
.ruby-node { color: #ffa07a; background: transparent; }
|
491
|
-
.ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
|
492
|
-
.ruby-regexp { color: #ffa07a; background: transparent; }
|
493
|
-
.ruby-value { color: #7fffd4; background: transparent; }
|
494
|
-
|
495
|
-
/* @end */
|
496
|
-
|
497
|
-
|
498
|
-
/* @group search results */
|
499
|
-
#search-results h1 {
|
500
|
-
font-size: 1em;
|
501
|
-
font-weight: normal;
|
502
|
-
text-shadow: none;
|
503
|
-
}
|
504
|
-
|
505
|
-
#search-results .current {
|
506
|
-
background: #ccc;
|
507
|
-
border-bottom: 1px solid transparent;
|
508
|
-
}
|
509
|
-
|
510
|
-
#search-results li {
|
511
|
-
list-style: none;
|
512
|
-
border-bottom: 1px solid #aaa;
|
513
|
-
-moz-border-radius: 4px;
|
514
|
-
-webkit-border-radius: 4px;
|
515
|
-
border-radius: 4px;
|
516
|
-
margin-bottom: 0.5em;
|
517
|
-
}
|
518
|
-
|
519
|
-
#search-results li:last-child {
|
520
|
-
border-bottom: none;
|
521
|
-
margin-bottom: 0;
|
522
|
-
}
|
523
|
-
|
524
|
-
#search-results li p {
|
525
|
-
padding: 0;
|
526
|
-
margin: 0.5em;
|
527
|
-
}
|
528
|
-
|
529
|
-
#search-results .search-namespace {
|
530
|
-
font-weight: bold;
|
531
|
-
}
|
532
|
-
|
533
|
-
#search-results li em {
|
534
|
-
background: yellow;
|
535
|
-
font-style: normal;
|
536
|
-
}
|
537
|
-
|
538
|
-
#search-results pre {
|
539
|
-
margin: 0.5em;
|
540
|
-
}
|
541
|
-
|
542
|
-
/* @end */
|
543
|
-
|