axlsx 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +10 -9
- data/doc/Axlsx.html +2443 -0
- data/doc/Axlsx/App.html +2640 -0
- data/doc/Axlsx/Axis.html +1047 -0
- data/doc/Axlsx/Bar3DChart.html +1153 -0
- data/doc/Axlsx/BarSeries.html +764 -0
- data/doc/Axlsx/Border.html +775 -0
- data/doc/Axlsx/BorderPr.html +709 -0
- data/doc/Axlsx/CatAxis.html +766 -0
- data/doc/Axlsx/Cell.html +1623 -0
- data/doc/Axlsx/CellAlignment.html +1247 -0
- data/doc/Axlsx/CellProtection.html +565 -0
- data/doc/Axlsx/CellStyle.html +949 -0
- data/doc/Axlsx/Chart.html +1459 -0
- data/doc/Axlsx/Color.html +665 -0
- data/doc/Axlsx/ContentType.html +340 -0
- data/doc/Axlsx/Core.html +465 -0
- data/doc/Axlsx/DataTypeValidator.html +324 -0
- data/doc/Axlsx/Default.html +575 -0
- data/doc/Axlsx/Drawing.html +1154 -0
- data/doc/Axlsx/Fill.html +460 -0
- data/doc/Axlsx/Font.html +1554 -0
- data/doc/Axlsx/GradientFill.html +1026 -0
- data/doc/Axlsx/GradientStop.html +526 -0
- data/doc/Axlsx/GraphicFrame.html +646 -0
- data/doc/Axlsx/Line3DChart.html +921 -0
- data/doc/Axlsx/LineSeries.html +656 -0
- data/doc/Axlsx/Marker.html +857 -0
- data/doc/Axlsx/NumFmt.html +562 -0
- data/doc/Axlsx/Override.html +568 -0
- data/doc/Axlsx/Package.html +1293 -0
- data/doc/Axlsx/PatternFill.html +681 -0
- data/doc/Axlsx/Pie3DChart.html +439 -0
- data/doc/Axlsx/PieSeries.html +762 -0
- data/doc/Axlsx/RegexValidator.html +268 -0
- data/doc/Axlsx/Relationship.html +554 -0
- data/doc/Axlsx/Relationships.html +343 -0
- data/doc/Axlsx/RestrictionValidator.html +300 -0
- data/doc/Axlsx/Row.html +771 -0
- data/doc/Axlsx/Scaling.html +740 -0
- data/doc/Axlsx/SerAxis.html +624 -0
- data/doc/Axlsx/Series.html +746 -0
- data/doc/Axlsx/SeriesTitle.html +289 -0
- data/doc/Axlsx/SimpleTypedList.html +1617 -0
- data/doc/Axlsx/Styles.html +1754 -0
- data/doc/Axlsx/TableStyle.html +710 -0
- data/doc/Axlsx/TableStyleElement.html +677 -0
- data/doc/Axlsx/TableStyles.html +599 -0
- data/doc/Axlsx/Title.html +625 -0
- data/doc/Axlsx/TwoCellAnchor.html +1115 -0
- data/doc/Axlsx/ValAxis.html +539 -0
- data/doc/Axlsx/View3D.html +971 -0
- data/doc/Axlsx/Workbook.html +1347 -0
- data/doc/Axlsx/Worksheet.html +1864 -0
- data/doc/Axlsx/Xf.html +1681 -0
- data/doc/_index.html +611 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +262 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +262 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +3038 -0
- data/doc/top-level-namespace.html +103 -0
- data/lib/axlsx/util/constants.rb +1 -1
- metadata +71 -3
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: Axlsx::GradientStop
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.7.3
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
relpath = '..';
|
|
19
|
+
if (relpath != '') relpath += '/';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<div id="header">
|
|
34
|
+
<div id="menu">
|
|
35
|
+
|
|
36
|
+
<a href="../_index.html">Index (G)</a> »
|
|
37
|
+
<span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
|
|
38
|
+
»
|
|
39
|
+
<span class="title">GradientStop</span>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div id="search">
|
|
46
|
+
|
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
|
48
|
+
|
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
|
50
|
+
|
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<div class="clear"></div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<iframe id="search_frame"></iframe>
|
|
58
|
+
|
|
59
|
+
<div id="content"><h1>Class: Axlsx::GradientStop
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</h1>
|
|
64
|
+
|
|
65
|
+
<dl class="box">
|
|
66
|
+
|
|
67
|
+
<dt class="r1">Inherits:</dt>
|
|
68
|
+
<dd class="r1">
|
|
69
|
+
<span class="inheritName">Object</span>
|
|
70
|
+
|
|
71
|
+
<ul class="fullTree">
|
|
72
|
+
<li>Object</li>
|
|
73
|
+
|
|
74
|
+
<li class="next">Axlsx::GradientStop</li>
|
|
75
|
+
|
|
76
|
+
</ul>
|
|
77
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
78
|
+
|
|
79
|
+
</dd>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<dt class="r2 last">Defined in:</dt>
|
|
90
|
+
<dd class="r2 last">lib/axlsx/stylesheet/gradient_stop.rb</dd>
|
|
91
|
+
|
|
92
|
+
</dl>
|
|
93
|
+
<div class="clear"></div>
|
|
94
|
+
|
|
95
|
+
<h2>Overview</h2><div class="docstring">
|
|
96
|
+
<div class="discussion">
|
|
97
|
+
<p>
|
|
98
|
+
The GradientStop object represents a color point in a gradient.
|
|
99
|
+
</p>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="tags">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<h3>See Also:</h3>
|
|
108
|
+
<ul class="see">
|
|
109
|
+
|
|
110
|
+
<li>Office XML Part 1 §18.8.24</li>
|
|
111
|
+
|
|
112
|
+
</ul>
|
|
113
|
+
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
117
|
+
<ul class="summary">
|
|
118
|
+
|
|
119
|
+
<li class="public ">
|
|
120
|
+
<span class="summary_signature">
|
|
121
|
+
|
|
122
|
+
<a href="#color-instance_method" title="#color (instance method)">- (Color) <strong>color</strong> </a>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</span>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
139
|
+
The color for this gradient stop.
|
|
140
|
+
</p>
|
|
141
|
+
</div></span>
|
|
142
|
+
|
|
143
|
+
</li>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<li class="public ">
|
|
147
|
+
<span class="summary_signature">
|
|
148
|
+
|
|
149
|
+
<a href="#position-instance_method" title="#position (instance method)">- (Float) <strong>position</strong> </a>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
</span>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
166
|
+
The position of the color.
|
|
167
|
+
</p>
|
|
168
|
+
</div></span>
|
|
169
|
+
|
|
170
|
+
</li>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
</ul>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<h2>
|
|
180
|
+
Instance Method Summary
|
|
181
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
182
|
+
</h2>
|
|
183
|
+
|
|
184
|
+
<ul class="summary">
|
|
185
|
+
|
|
186
|
+
<li class="public ">
|
|
187
|
+
<span class="summary_signature">
|
|
188
|
+
|
|
189
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (GradientStop) <strong>initialize</strong>(color, position) </a>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
</span>
|
|
194
|
+
|
|
195
|
+
<span class="note title constructor">constructor</span>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
205
|
+
Creates a new GradientStop object.
|
|
206
|
+
</p>
|
|
207
|
+
</div></span>
|
|
208
|
+
|
|
209
|
+
</li>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<li class="public ">
|
|
213
|
+
<span class="summary_signature">
|
|
214
|
+
|
|
215
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
</span>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
229
|
+
Serializes the gradientStop.
|
|
230
|
+
</p>
|
|
231
|
+
</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
|
+
<p class="signature first" id="initialize-instance_method">
|
|
244
|
+
|
|
245
|
+
- (<tt><span class='object_link'><a href="" title="Axlsx::GradientStop (class)">GradientStop</a></span></tt>) <strong>initialize</strong>(color, position)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
</p><div class="docstring">
|
|
250
|
+
<div class="discussion">
|
|
251
|
+
<p>
|
|
252
|
+
Creates a new GradientStop object
|
|
253
|
+
</p>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
</div>
|
|
257
|
+
</div>
|
|
258
|
+
<div class="tags">
|
|
259
|
+
<h3>Parameters:</h3>
|
|
260
|
+
<ul class="param">
|
|
261
|
+
|
|
262
|
+
<li>
|
|
263
|
+
|
|
264
|
+
<span class='name'>color</span>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>)</span>
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
</li>
|
|
272
|
+
|
|
273
|
+
<li>
|
|
274
|
+
|
|
275
|
+
<span class='name'>position</span>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
</li>
|
|
283
|
+
|
|
284
|
+
</ul>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
</div><table class="source_code">
|
|
288
|
+
<tr>
|
|
289
|
+
<td>
|
|
290
|
+
<pre class="lines">
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
18
|
|
294
|
+
19
|
|
295
|
+
20
|
|
296
|
+
21</pre>
|
|
297
|
+
</td>
|
|
298
|
+
<td>
|
|
299
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/gradient_stop.rb', line 18</span>
|
|
300
|
+
|
|
301
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='color identifier id'>color</span><span class='comma token'>,</span> <span class='position identifier id'>position</span><span class='rparen token'>)</span>
|
|
302
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='color identifier id'>color</span> <span class='assign token'>=</span> <span class='color identifier id'>color</span>
|
|
303
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='position identifier id'>position</span> <span class='assign token'>=</span> <span class='position identifier id'>position</span>
|
|
304
|
+
<span class='end end kw'>end</span>
|
|
305
|
+
</pre>
|
|
306
|
+
</td>
|
|
307
|
+
</tr>
|
|
308
|
+
</table>
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
</div>
|
|
312
|
+
|
|
313
|
+
<div id="instance_attr_details" class="attr_details">
|
|
314
|
+
<h2>Instance Attribute Details</h2>
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
<span id="color=-instance_method"></span>
|
|
318
|
+
<span id="color-instance_method"></span>
|
|
319
|
+
<div class="method_details first">
|
|
320
|
+
<p class="signature first" id="color-instance_method">
|
|
321
|
+
|
|
322
|
+
- (<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>) <strong>color</strong>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
</p><div class="docstring">
|
|
327
|
+
<div class="discussion">
|
|
328
|
+
<p>
|
|
329
|
+
The color for this gradient stop
|
|
330
|
+
</p>
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
</div>
|
|
334
|
+
</div>
|
|
335
|
+
<div class="tags">
|
|
336
|
+
|
|
337
|
+
<h3>Returns:</h3>
|
|
338
|
+
<ul class="return">
|
|
339
|
+
|
|
340
|
+
<li>
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>)</span>
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
</li>
|
|
348
|
+
|
|
349
|
+
</ul>
|
|
350
|
+
|
|
351
|
+
<h3>See Also:</h3>
|
|
352
|
+
<ul class="see">
|
|
353
|
+
|
|
354
|
+
<li><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></li>
|
|
355
|
+
|
|
356
|
+
</ul>
|
|
357
|
+
|
|
358
|
+
</div><table class="source_code">
|
|
359
|
+
<tr>
|
|
360
|
+
<td>
|
|
361
|
+
<pre class="lines">
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
9
|
|
365
|
+
10
|
|
366
|
+
11</pre>
|
|
367
|
+
</td>
|
|
368
|
+
<td>
|
|
369
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/gradient_stop.rb', line 9</span>
|
|
370
|
+
|
|
371
|
+
<span class='def def kw'>def</span> <span class='color identifier id'>color</span>
|
|
372
|
+
<span class='@color ivar id'>@color</span>
|
|
373
|
+
<span class='end end kw'>end</span>
|
|
374
|
+
</pre>
|
|
375
|
+
</td>
|
|
376
|
+
</tr>
|
|
377
|
+
</table>
|
|
378
|
+
</div>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<span id="position=-instance_method"></span>
|
|
382
|
+
<span id="position-instance_method"></span>
|
|
383
|
+
<div class="method_details ">
|
|
384
|
+
<p class="signature " id="position-instance_method">
|
|
385
|
+
|
|
386
|
+
- (<tt>Float</tt>) <strong>position</strong>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
</p><div class="docstring">
|
|
391
|
+
<div class="discussion">
|
|
392
|
+
<p>
|
|
393
|
+
The position of the color
|
|
394
|
+
</p>
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</div>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="tags">
|
|
400
|
+
|
|
401
|
+
<h3>Returns:</h3>
|
|
402
|
+
<ul class="return">
|
|
403
|
+
|
|
404
|
+
<li>
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
</li>
|
|
412
|
+
|
|
413
|
+
</ul>
|
|
414
|
+
|
|
415
|
+
</div><table class="source_code">
|
|
416
|
+
<tr>
|
|
417
|
+
<td>
|
|
418
|
+
<pre class="lines">
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
13
|
|
422
|
+
14
|
|
423
|
+
15</pre>
|
|
424
|
+
</td>
|
|
425
|
+
<td>
|
|
426
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/gradient_stop.rb', line 13</span>
|
|
427
|
+
|
|
428
|
+
<span class='def def kw'>def</span> <span class='position identifier id'>position</span>
|
|
429
|
+
<span class='@position ivar id'>@position</span>
|
|
430
|
+
<span class='end end kw'>end</span>
|
|
431
|
+
</pre>
|
|
432
|
+
</td>
|
|
433
|
+
</tr>
|
|
434
|
+
</table>
|
|
435
|
+
</div>
|
|
436
|
+
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
<div id="instance_method_details" class="method_details_list">
|
|
441
|
+
<h2>Instance Method Details</h2>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<div class="method_details first">
|
|
445
|
+
<p class="signature first" id="to_xml-instance_method">
|
|
446
|
+
|
|
447
|
+
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
</p><div class="docstring">
|
|
452
|
+
<div class="discussion">
|
|
453
|
+
<p>
|
|
454
|
+
Serializes the gradientStop
|
|
455
|
+
</p>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
<div class="tags">
|
|
461
|
+
<h3>Parameters:</h3>
|
|
462
|
+
<ul class="param">
|
|
463
|
+
|
|
464
|
+
<li>
|
|
465
|
+
|
|
466
|
+
<span class='name'>xml</span>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
—
|
|
474
|
+
<div class='inline'><p>
|
|
475
|
+
The document builder instance this objects xml will be added to.
|
|
476
|
+
</p>
|
|
477
|
+
</div>
|
|
478
|
+
|
|
479
|
+
</li>
|
|
480
|
+
|
|
481
|
+
</ul>
|
|
482
|
+
|
|
483
|
+
<h3>Returns:</h3>
|
|
484
|
+
<ul class="return">
|
|
485
|
+
|
|
486
|
+
<li>
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
<span class='type'>(<tt>String</tt>)</span>
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
</li>
|
|
494
|
+
|
|
495
|
+
</ul>
|
|
496
|
+
|
|
497
|
+
</div><table class="source_code">
|
|
498
|
+
<tr>
|
|
499
|
+
<td>
|
|
500
|
+
<pre class="lines">
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
29</pre>
|
|
504
|
+
</td>
|
|
505
|
+
<td>
|
|
506
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/gradient_stop.rb', line 29</span>
|
|
507
|
+
|
|
508
|
+
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='stop identifier id'>stop</span><span class='lparen token'>(</span><span class='symbol val'>:position</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='position identifier id'>position</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='color identifier id'>color</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span><span class='rbrace token'>}</span> <span class='end end kw'>end</span>
|
|
509
|
+
</pre>
|
|
510
|
+
</td>
|
|
511
|
+
</tr>
|
|
512
|
+
</table>
|
|
513
|
+
</div>
|
|
514
|
+
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
</div>
|
|
518
|
+
|
|
519
|
+
<div id="footer">
|
|
520
|
+
Generated on Tue Nov 22 00:27:49 2011 by
|
|
521
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
522
|
+
0.7.3 (ruby-1.8.7).
|
|
523
|
+
</div>
|
|
524
|
+
|
|
525
|
+
</body>
|
|
526
|
+
</html>
|