my_yard 0.0.3 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/GlobalSettings.rb +23 -0
- data/{src → lib}/MyYard.rb +48 -53
- data/{src → lib}/YardTheme.rb +12 -9
- data/{src → lib}/glade/MyYard.glade +151 -213
- data/{src → lib}/glade/YardTheme.glade +314 -407
- data/lib/my_yard.rb +7 -0
- data/my_yard +59 -34
- metadata +21 -148
- data/README.md +0 -25
- data/doc/GlobalSettings.html +0 -552
- data/doc/MyYard.html +0 -1201
- data/doc/TreeContext/Alternator.html +0 -297
- data/doc/TreeContext.html +0 -467
- data/doc/YardTheme.html +0 -746
- data/doc/YardThemeDefaults.html +0 -498
- data/doc/_index.html +0 -170
- data/doc/class_and_method_list.html +0 -322
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -45
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -474
- data/doc/file.README.html +0 -100
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/img/logo.png +0 -0
- data/doc/index.html +0 -100
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/just_file_list.html +0 -40
- data/doc/method_list.html +0 -843
- data/doc/top-level-namespace.html +0 -118
- data/home_my_yard/templates/visualruby/class/dot/superklass.erb +0 -3
- data/home_my_yard/templates/visualruby/class/html/constructor_details.erb +0 -8
- data/home_my_yard/templates/visualruby/class/html/subclasses.erb +0 -4
- data/home_my_yard/templates/visualruby/class/text/subclasses.erb +0 -5
- data/home_my_yard/templates/visualruby/constant/text/header.erb +0 -11
- data/home_my_yard/templates/visualruby/docstring/html/abstract.erb +0 -4
- data/home_my_yard/templates/visualruby/docstring/html/deprecated.erb +0 -1
- data/home_my_yard/templates/visualruby/docstring/html/index.erb +0 -5
- data/home_my_yard/templates/visualruby/docstring/html/note.erb +0 -6
- data/home_my_yard/templates/visualruby/docstring/html/private.erb +0 -4
- data/home_my_yard/templates/visualruby/docstring/html/returns_void.erb +0 -1
- data/home_my_yard/templates/visualruby/docstring/html/text.erb +0 -1
- data/home_my_yard/templates/visualruby/docstring/html/todo.erb +0 -6
- data/home_my_yard/templates/visualruby/docstring/text/abstract.erb +0 -2
- data/home_my_yard/templates/visualruby/docstring/text/deprecated.erb +0 -2
- data/home_my_yard/templates/visualruby/docstring/text/index.erb +0 -2
- data/home_my_yard/templates/visualruby/docstring/text/note.erb +0 -4
- data/home_my_yard/templates/visualruby/docstring/text/private.erb +0 -2
- data/home_my_yard/templates/visualruby/docstring/text/returns_void.erb +0 -1
- data/home_my_yard/templates/visualruby/docstring/text/text.erb +0 -1
- data/home_my_yard/templates/visualruby/docstring/text/todo.erb +0 -4
- data/home_my_yard/templates/visualruby/fulldoc/html/class_and_method.erb +0 -42
- data/home_my_yard/templates/visualruby/fulldoc/html/css/common.css +0 -1
- data/home_my_yard/templates/visualruby/fulldoc/html/css/full_list.css +0 -62
- data/home_my_yard/templates/visualruby/fulldoc/html/css/style.css +0 -476
- data/home_my_yard/templates/visualruby/fulldoc/html/frames.erb +0 -17
- data/home_my_yard/templates/visualruby/fulldoc/html/full_list.erb +0 -37
- data/home_my_yard/templates/visualruby/fulldoc/html/full_list_class.erb +0 -2
- data/home_my_yard/templates/visualruby/fulldoc/html/full_list_file.erb +0 -7
- data/home_my_yard/templates/visualruby/fulldoc/html/full_list_method.erb +0 -10
- data/home_my_yard/templates/visualruby/fulldoc/html/js/app.js +0 -243
- data/home_my_yard/templates/visualruby/fulldoc/html/js/full_list.js +0 -213
- data/home_my_yard/templates/visualruby/fulldoc/html/js/jquery.js +0 -4
- data/home_my_yard/templates/visualruby/fulldoc/html/just_files.erb +0 -33
- data/home_my_yard/templates/visualruby/layout/dot/header.erb +0 -6
- data/home_my_yard/templates/visualruby/layout/html/breadcrumb.erb +0 -11
- data/home_my_yard/templates/visualruby/layout/html/files.erb +0 -11
- data/home_my_yard/templates/visualruby/layout/html/footer.erb +0 -5
- data/home_my_yard/templates/visualruby/layout/html/headers.erb +0 -15
- data/home_my_yard/templates/visualruby/layout/html/index.erb +0 -2
- data/home_my_yard/templates/visualruby/layout/html/layout.erb +0 -30
- data/home_my_yard/templates/visualruby/layout/html/listing.erb +0 -4
- data/home_my_yard/templates/visualruby/layout/html/objects.erb +0 -32
- data/home_my_yard/templates/visualruby/layout/html/script_setup.erb +0 -4
- data/home_my_yard/templates/visualruby/layout/html/search.erb +0 -13
- data/home_my_yard/templates/visualruby/method/html/header.erb +0 -17
- data/home_my_yard/templates/visualruby/method/text/header.erb +0 -1
- data/home_my_yard/templates/visualruby/method_details/html/header.erb +0 -3
- data/home_my_yard/templates/visualruby/method_details/html/method_signature.erb +0 -25
- data/home_my_yard/templates/visualruby/method_details/html/source.erb +0 -10
- data/home_my_yard/templates/visualruby/method_details/text/header.erb +0 -10
- data/home_my_yard/templates/visualruby/method_details/text/method_signature.erb +0 -12
- data/home_my_yard/templates/visualruby/module/dot/child.erb +0 -1
- data/home_my_yard/templates/visualruby/module/dot/dependencies.erb +0 -3
- data/home_my_yard/templates/visualruby/module/dot/header.erb +0 -6
- data/home_my_yard/templates/visualruby/module/dot/info.erb +0 -14
- data/home_my_yard/templates/visualruby/module/html/attribute_details.erb +0 -10
- data/home_my_yard/templates/visualruby/module/html/attribute_summary.erb +0 -8
- data/home_my_yard/templates/visualruby/module/html/box_info.erb +0 -43
- data/home_my_yard/templates/visualruby/module/html/children.erb +0 -8
- data/home_my_yard/templates/visualruby/module/html/constant_summary.erb +0 -13
- data/home_my_yard/templates/visualruby/module/html/defines.erb +0 -3
- data/home_my_yard/templates/visualruby/module/html/header.erb +0 -5
- data/home_my_yard/templates/visualruby/module/html/inherited_attributes.erb +0 -14
- data/home_my_yard/templates/visualruby/module/html/inherited_constants.erb +0 -8
- data/home_my_yard/templates/visualruby/module/html/inherited_methods.erb +0 -19
- data/home_my_yard/templates/visualruby/module/html/item_summary.erb +0 -40
- data/home_my_yard/templates/visualruby/module/html/method_details_list.erb +0 -9
- data/home_my_yard/templates/visualruby/module/html/method_summary.erb +0 -14
- data/home_my_yard/templates/visualruby/module/html/methodmissing.erb +0 -12
- data/home_my_yard/templates/visualruby/module/html/pre_docstring.erb +0 -1
- data/home_my_yard/templates/visualruby/module/text/children.erb +0 -10
- data/home_my_yard/templates/visualruby/module/text/class_meths_list.erb +0 -8
- data/home_my_yard/templates/visualruby/module/text/extends.erb +0 -8
- data/home_my_yard/templates/visualruby/module/text/header.erb +0 -7
- data/home_my_yard/templates/visualruby/module/text/includes.erb +0 -8
- data/home_my_yard/templates/visualruby/module/text/instance_meths_list.erb +0 -8
- data/home_my_yard/templates/visualruby/onefile/html/files.erb +0 -5
- data/home_my_yard/templates/visualruby/onefile/html/headers.erb +0 -6
- data/home_my_yard/templates/visualruby/onefile/html/layout.erb +0 -17
- data/home_my_yard/templates/visualruby/onefile/html/readme.erb +0 -3
- data/home_my_yard/templates/visualruby/root/dot/child.erb +0 -3
- data/home_my_yard/templates/visualruby/tags/html/example.erb +0 -11
- data/home_my_yard/templates/visualruby/tags/html/index.erb +0 -3
- data/home_my_yard/templates/visualruby/tags/html/option.erb +0 -24
- data/home_my_yard/templates/visualruby/tags/html/overload.erb +0 -14
- data/home_my_yard/templates/visualruby/tags/html/see.erb +0 -8
- data/home_my_yard/templates/visualruby/tags/html/tag.erb +0 -20
- data/home_my_yard/templates/visualruby/tags/text/example.erb +0 -12
- data/home_my_yard/templates/visualruby/tags/text/index.erb +0 -1
- data/home_my_yard/templates/visualruby/tags/text/option.erb +0 -20
- data/home_my_yard/templates/visualruby/tags/text/overload.erb +0 -19
- data/home_my_yard/templates/visualruby/tags/text/see.erb +0 -11
- data/home_my_yard/templates/visualruby/tags/text/tag.erb +0 -13
- data/home_my_yard/themes/visualruby.yaml +0 -47
- data/my_yard-0.0.2.gem +0 -0
- data/my_yard.gemspec +0 -20
- data/notes +0 -9
- data/src/GlobalSettings.rb +0 -22
- data/src/glade/MyYard.glade~ +0 -611
- data/src/glade/YardTheme.glade~ +0 -1062
- /data/{src → lib}/YardThemeDefaults.rb +0 -0
data/doc/TreeContext.html
DELETED
@@ -1,467 +0,0 @@
|
|
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: TreeContext
|
8
|
-
|
9
|
-
— Generated with Yard v0.9.0
|
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 = "TreeContext";
|
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"></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">TreeContext</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
|
-
<iframe id="search_frame" src="class_list.html"></iframe>
|
63
|
-
|
64
|
-
<div id="content"><h1>Class: TreeContext
|
65
|
-
|
66
|
-
|
67
|
-
<span class="private note title">Private</span>
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
<dl>
|
72
|
-
<dt>Inherits:</dt>
|
73
|
-
<dd>
|
74
|
-
<span class="inheritName">Object</span>
|
75
|
-
|
76
|
-
<ul class="fullTree">
|
77
|
-
<li>Object</li>
|
78
|
-
|
79
|
-
<li class="next">TreeContext</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>home_my_yard/templates/visualruby/fulldoc/html/setup.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
<p class="note private">
|
107
|
-
<strong>This class is part of a private API.</strong>
|
108
|
-
You should avoid using this class if possible, as it may be removed or be changed in the future.
|
109
|
-
</p>
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<div class="tags">
|
115
|
-
|
116
|
-
|
117
|
-
</div><h2>Defined Under Namespace</h2>
|
118
|
-
<p class="children">
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="TreeContext/Alternator.html" title="TreeContext::Alternator (class)">Alternator</a></span>
|
124
|
-
|
125
|
-
|
126
|
-
</p>
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<h2>
|
136
|
-
Instance Method Summary
|
137
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
138
|
-
</h2>
|
139
|
-
|
140
|
-
<ul class="summary">
|
141
|
-
|
142
|
-
<li class="public ">
|
143
|
-
<span class="summary_signature">
|
144
|
-
|
145
|
-
<a href="#classes-instance_method" title="#classes (instance method)">#<strong>classes</strong> ⇒ Object </a>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
</span>
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
<span class="private note title">private</span>
|
157
|
-
|
158
|
-
|
159
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
160
|
-
|
161
|
-
</li>
|
162
|
-
|
163
|
-
|
164
|
-
<li class="public ">
|
165
|
-
<span class="summary_signature">
|
166
|
-
|
167
|
-
<a href="#indent-instance_method" title="#indent (instance method)">#<strong>indent</strong> ⇒ String </a>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
</span>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
<span class="private note title">private</span>
|
179
|
-
|
180
|
-
|
181
|
-
<span class="summary_desc"><div class='inline'>
|
182
|
-
<p>Returns a css pixel offset, e.g.</p>
|
183
|
-
</div></span>
|
184
|
-
|
185
|
-
</li>
|
186
|
-
|
187
|
-
|
188
|
-
<li class="public ">
|
189
|
-
<span class="summary_signature">
|
190
|
-
|
191
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ TreeContext </a>
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
</span>
|
196
|
-
|
197
|
-
|
198
|
-
<span class="note title constructor">constructor</span>
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<span class="private note title">private</span>
|
205
|
-
|
206
|
-
|
207
|
-
<span class="summary_desc"><div class='inline'>
|
208
|
-
<p>A new instance of TreeContext.</p>
|
209
|
-
</div></span>
|
210
|
-
|
211
|
-
</li>
|
212
|
-
|
213
|
-
|
214
|
-
<li class="public ">
|
215
|
-
<span class="summary_signature">
|
216
|
-
|
217
|
-
<a href="#nest-instance_method" title="#nest (instance method)">#<strong>nest</strong> ⇒ Object </a>
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
</span>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
<span class="private note title">private</span>
|
229
|
-
|
230
|
-
|
231
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
232
|
-
|
233
|
-
</li>
|
234
|
-
|
235
|
-
|
236
|
-
</ul>
|
237
|
-
|
238
|
-
|
239
|
-
<div id="constructor_details" class="method_details_list">
|
240
|
-
<h2>Constructor Details</h2>
|
241
|
-
|
242
|
-
<div class="method_details first">
|
243
|
-
<h3 class="signature first" id="initialize-instance_method">
|
244
|
-
|
245
|
-
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="TreeContext (class)">TreeContext</a></span></tt>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
</h3><div class="docstring">
|
252
|
-
<div class="discussion">
|
253
|
-
<p class="note private">
|
254
|
-
<strong>This method is part of a private API.</strong>
|
255
|
-
You should avoid using this method if possible, as it may be removed or be changed in the future.
|
256
|
-
</p>
|
257
|
-
|
258
|
-
<p>Returns a new instance of TreeContext</p>
|
259
|
-
|
260
|
-
|
261
|
-
</div>
|
262
|
-
</div>
|
263
|
-
<div class="tags">
|
264
|
-
|
265
|
-
|
266
|
-
</div><table class="source_code">
|
267
|
-
<tr>
|
268
|
-
<td>
|
269
|
-
<pre class="lines">
|
270
|
-
|
271
|
-
|
272
|
-
203
|
273
|
-
204
|
274
|
-
205
|
275
|
-
206</pre>
|
276
|
-
</td>
|
277
|
-
<td>
|
278
|
-
<pre class="code"><span class="info file"># File 'home_my_yard/templates/visualruby/fulldoc/html/setup.rb', line 203</span>
|
279
|
-
|
280
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
281
|
-
<span class='ivar'>@depth</span> <span class='op'>=</span> <span class='int'>0</span>
|
282
|
-
<span class='ivar'>@even_odd</span> <span class='op'>=</span> <span class='const'>Alternator</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:even</span><span class='comma'>,</span> <span class='symbol'>:odd</span><span class='rparen'>)</span>
|
283
|
-
<span class='kw'>end</span></pre>
|
284
|
-
</td>
|
285
|
-
</tr>
|
286
|
-
</table>
|
287
|
-
</div>
|
288
|
-
|
289
|
-
</div>
|
290
|
-
|
291
|
-
|
292
|
-
<div id="instance_method_details" class="method_details_list">
|
293
|
-
<h2>Instance Method Details</h2>
|
294
|
-
|
295
|
-
|
296
|
-
<div class="method_details first">
|
297
|
-
<h3 class="signature first" id="classes-instance_method">
|
298
|
-
|
299
|
-
#<strong>classes</strong> ⇒ <tt>Object</tt>
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
</h3><div class="docstring">
|
306
|
-
<div class="discussion">
|
307
|
-
<p class="note private">
|
308
|
-
<strong>This method is part of a private API.</strong>
|
309
|
-
You should avoid using this method if possible, as it may be removed or be changed in the future.
|
310
|
-
</p>
|
311
|
-
|
312
|
-
|
313
|
-
</div>
|
314
|
-
</div>
|
315
|
-
<div class="tags">
|
316
|
-
|
317
|
-
|
318
|
-
</div><table class="source_code">
|
319
|
-
<tr>
|
320
|
-
<td>
|
321
|
-
<pre class="lines">
|
322
|
-
|
323
|
-
|
324
|
-
219
|
325
|
-
220
|
326
|
-
221
|
327
|
-
222
|
328
|
-
223
|
329
|
-
224</pre>
|
330
|
-
</td>
|
331
|
-
<td>
|
332
|
-
<pre class="code"><span class="info file"># File 'home_my_yard/templates/visualruby/fulldoc/html/setup.rb', line 219</span>
|
333
|
-
|
334
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_classes'>classes</span>
|
335
|
-
<span class='id identifier rubyid_classes'>classes</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
336
|
-
<span class='id identifier rubyid_classes'>classes</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>collapsed</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@depth</span> <span class='op'>></span> <span class='int'>0</span>
|
337
|
-
<span class='id identifier rubyid_classes'>classes</span> <span class='op'><<</span> <span class='ivar'>@even_odd</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span> <span class='kw'>if</span> <span class='ivar'>@depth</span> <span class='op'><</span> <span class='int'>2</span>
|
338
|
-
<span class='id identifier rubyid_classes'>classes</span>
|
339
|
-
<span class='kw'>end</span></pre>
|
340
|
-
</td>
|
341
|
-
</tr>
|
342
|
-
</table>
|
343
|
-
</div>
|
344
|
-
|
345
|
-
<div class="method_details ">
|
346
|
-
<h3 class="signature " id="indent-instance_method">
|
347
|
-
|
348
|
-
#<strong>indent</strong> ⇒ <tt>String</tt>
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
</h3><div class="docstring">
|
355
|
-
<div class="discussion">
|
356
|
-
<p class="note private">
|
357
|
-
<strong>This method is part of a private API.</strong>
|
358
|
-
You should avoid using this method if possible, as it may be removed or be changed in the future.
|
359
|
-
</p>
|
360
|
-
|
361
|
-
<p>Returns a css pixel offset, e.g. “30px”</p>
|
362
|
-
|
363
|
-
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
<div class="tags">
|
367
|
-
|
368
|
-
<p class="tag_title">Returns:</p>
|
369
|
-
<ul class="return">
|
370
|
-
|
371
|
-
<li>
|
372
|
-
|
373
|
-
|
374
|
-
<span class='type'>(<tt>String</tt>)</span>
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
—
|
379
|
-
<div class='inline'>
|
380
|
-
<p>Returns a css pixel offset, e.g. “30px”</p>
|
381
|
-
</div>
|
382
|
-
|
383
|
-
</li>
|
384
|
-
|
385
|
-
</ul>
|
386
|
-
|
387
|
-
</div><table class="source_code">
|
388
|
-
<tr>
|
389
|
-
<td>
|
390
|
-
<pre class="lines">
|
391
|
-
|
392
|
-
|
393
|
-
215
|
394
|
-
216
|
395
|
-
217</pre>
|
396
|
-
</td>
|
397
|
-
<td>
|
398
|
-
<pre class="code"><span class="info file"># File 'home_my_yard/templates/visualruby/fulldoc/html/setup.rb', line 215</span>
|
399
|
-
|
400
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_indent'>indent</span>
|
401
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='lparen'>(</span><span class='ivar'>@depth</span> <span class='op'>+</span> <span class='int'>2</span><span class='rparen'>)</span> <span class='op'>*</span> <span class='int'>15</span><span class='embexpr_end'>}</span><span class='tstring_content'>px</span><span class='tstring_end'>"</span></span>
|
402
|
-
<span class='kw'>end</span></pre>
|
403
|
-
</td>
|
404
|
-
</tr>
|
405
|
-
</table>
|
406
|
-
</div>
|
407
|
-
|
408
|
-
<div class="method_details ">
|
409
|
-
<h3 class="signature " id="nest-instance_method">
|
410
|
-
|
411
|
-
#<strong>nest</strong> ⇒ <tt>Object</tt>
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
</h3><div class="docstring">
|
418
|
-
<div class="discussion">
|
419
|
-
<p class="note private">
|
420
|
-
<strong>This method is part of a private API.</strong>
|
421
|
-
You should avoid using this method if possible, as it may be removed or be changed in the future.
|
422
|
-
</p>
|
423
|
-
|
424
|
-
|
425
|
-
</div>
|
426
|
-
</div>
|
427
|
-
<div class="tags">
|
428
|
-
|
429
|
-
|
430
|
-
</div><table class="source_code">
|
431
|
-
<tr>
|
432
|
-
<td>
|
433
|
-
<pre class="lines">
|
434
|
-
|
435
|
-
|
436
|
-
208
|
437
|
-
209
|
438
|
-
210
|
439
|
-
211
|
440
|
-
212</pre>
|
441
|
-
</td>
|
442
|
-
<td>
|
443
|
-
<pre class="code"><span class="info file"># File 'home_my_yard/templates/visualruby/fulldoc/html/setup.rb', line 208</span>
|
444
|
-
|
445
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_nest'>nest</span>
|
446
|
-
<span class='ivar'>@depth</span> <span class='op'>+=</span> <span class='int'>1</span>
|
447
|
-
<span class='kw'>yield</span>
|
448
|
-
<span class='ivar'>@depth</span> <span class='op'>-=</span> <span class='int'>1</span>
|
449
|
-
<span class='kw'>end</span></pre>
|
450
|
-
</td>
|
451
|
-
</tr>
|
452
|
-
</table>
|
453
|
-
</div>
|
454
|
-
|
455
|
-
</div>
|
456
|
-
|
457
|
-
</div>
|
458
|
-
|
459
|
-
<div id="footer">
|
460
|
-
Generated on Wed Aug 3 17:54:47 2016 by
|
461
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
462
|
-
0.9.0 (ruby-2.3.0).
|
463
|
-
</div>
|
464
|
-
|
465
|
-
</div>
|
466
|
-
</body>
|
467
|
-
</html>
|