naether 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,597 +0,0 @@
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: Naether::s Ja::s JRu
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../';
20
- framesUrl = "../../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../_index.html">Index (s)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../Naether.html" title="Naether (module)">Naether</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../s_20Ja.html" title="Naether::s Ja (class)">s Ja</a></span></span>
36
- &raquo;
37
- <span class="title">s JRu</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Naether::s Ja::s JRu
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Naether::s Ja::s JRu</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/naether/java/jruby.rb</dd>
98
-
99
- </dl>
100
- <div class="clear"></div>
101
-
102
-
103
-
104
-
105
-
106
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
107
- <ul class="summary">
108
-
109
- <li class="public ">
110
- <span class="summary_signature">
111
-
112
- <a href="#reader+%3Aload-instance_method" title="#reader :load (instance method)">- (Object) <strong>reader :load</strong> </a>
113
-
114
-
115
-
116
- </span>
117
-
118
-
119
-
120
-
121
- <span class="note title readonly">readonly</span>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'>
132
- <p>Returns the value of attribute reader :load.</p>
133
- </div></span>
134
-
135
- </li>
136
-
137
-
138
- </ul>
139
-
140
-
141
-
142
-
143
-
144
- <h2>
145
- Instance Method Summary
146
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
147
- </h2>
148
-
149
- <ul class="summary">
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#convert_to_java_list-instance_method" title="#convert_to_java_list (instance method)">- (Object) <strong>convert_to_java_list</strong>(SSPATH &lt;&lt; ) </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
- <span class="summary_desc"><div class='inline'></div></span>
169
-
170
- </li>
171
-
172
-
173
- <li class="public ">
174
- <span class="summary_signature">
175
-
176
- <a href="#create-instance_method" title="#create (instance method)">- (Object) <strong>create</strong>( # @pa, * [Ar) </a>
177
-
178
-
179
-
180
- </span>
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
- <span class="summary_desc"><div class='inline'></div></span>
191
-
192
- </li>
193
-
194
-
195
- <li class="public ">
196
- <span class="summary_signature">
197
-
198
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (s JRu) <strong>initialize</strong> </a>
199
-
200
-
201
-
202
- </span>
203
-
204
-
205
- <span class="note title constructor">constructor</span>
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
- <span class="summary_desc"><div class='inline'>
215
- <p>A new instance of s JRu.</p>
216
- </div></span>
217
-
218
- </li>
219
-
220
-
221
- <li class="public ">
222
- <span class="summary_signature">
223
-
224
- <a href="#internal_load_paths-instance_method" title="#internal_load_paths (instance method)">- (Object) <strong>internal_load_paths</strong>( ) </a>
225
-
226
-
227
-
228
- </span>
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
- <span class="summary_desc"><div class='inline'></div></span>
239
-
240
- </li>
241
-
242
-
243
- <li class="public ">
244
- <span class="summary_signature">
245
-
246
- <a href="#load_paths-instance_method" title="#load_paths (instance method)">- (Object) <strong>load_paths</strong>( ) </a>
247
-
248
-
249
-
250
- </span>
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
- <span class="summary_desc"><div class='inline'></div></span>
261
-
262
- </li>
263
-
264
-
265
- </ul>
266
-
267
-
268
- <div id="constructor_details" class="method_details_list">
269
- <h2>Constructor Details</h2>
270
-
271
- <div class="method_details first">
272
- <h3 class="signature first" id="initialize-instance_method">
273
-
274
- - (<tt>s JRu</tt>) <strong>initialize</strong>
275
-
276
-
277
-
278
-
279
-
280
- </h3><div class="docstring">
281
- <div class="discussion">
282
-
283
- <p>A new instance of s JRu</p>
284
-
285
-
286
- </div>
287
- </div>
288
- <div class="tags">
289
-
290
-
291
- </div><table class="source_code">
292
- <tr>
293
- <td>
294
- <pre class="lines">
295
-
296
-
297
- 20
298
- 21
299
- 22
300
- 23
301
- 24
302
- 25
303
- 26
304
- 27
305
- 28
306
- 29</pre>
307
- </td>
308
- <td>
309
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 20</span>
310
-
311
- #
312
- def initialize
313
- require 'java'
314
-
315
- naether_jar = Naether::Configuration.naether_jar
316
-
317
- @loaded_paths = []
318
-
319
- load_paths(naether_jar)
320
- @class_loader = com.tobedevoured.naether.Pa</pre>
321
- </td>
322
- </tr>
323
- </table>
324
- </div>
325
-
326
- </div>
327
-
328
- <div id="instance_attr_details" class="attr_details">
329
- <h2>Instance Attribute Details</h2>
330
-
331
-
332
- <span id=""></span>
333
- <div class="method_details first">
334
- <h3 class="signature first" id="reader :load-instance_method">
335
-
336
- - (<tt>Object</tt>) <strong>reader :load</strong> <span class="extras">(readonly)</span>
337
-
338
-
339
-
340
-
341
-
342
- </h3><div class="docstring">
343
- <div class="discussion">
344
-
345
- <p>Returns the value of attribute reader :load</p>
346
-
347
-
348
- </div>
349
- </div>
350
- <div class="tags">
351
-
352
-
353
- </div><table class="source_code">
354
- <tr>
355
- <td>
356
- <pre class="lines">
357
-
358
-
359
- 14
360
- 15
361
- 16</pre>
362
- </td>
363
- <td>
364
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 14</span>
365
-
366
- def reader :load
367
- @reader :load
368
- end</pre>
369
- </td>
370
- </tr>
371
- </table>
372
- </div>
373
-
374
- </div>
375
-
376
-
377
- <div id="instance_method_details" class="method_details_list">
378
- <h2>Instance Method Details</h2>
379
-
380
-
381
- <div class="method_details first">
382
- <h3 class="signature first" id="convert_to_java_list-instance_method">
383
-
384
- - (<tt>Object</tt>) <strong>convert_to_java_list</strong>(SSPATH &lt;&lt; )
385
-
386
-
387
-
388
-
389
-
390
- </h3><table class="source_code">
391
- <tr>
392
- <td>
393
- <pre class="lines">
394
-
395
-
396
- 115
397
- 116
398
- 117
399
- 118
400
- 119</pre>
401
- </td>
402
- <td>
403
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 115</span>
404
-
405
- ed_path )
406
- $CLASSPATH &lt;&lt; expanded_path
407
- load_paths &lt;&lt; expanded_path
408
- @loaded_paths &lt;&lt; expanded_path
409
- end</pre>
410
- </td>
411
- </tr>
412
- </table>
413
- </div>
414
-
415
- <div class="method_details ">
416
- <h3 class="signature " id="create-instance_method">
417
-
418
- - (<tt>Object</tt>) <strong>create</strong>(
419
- # @pa, * [Ar)
420
-
421
-
422
-
423
-
424
-
425
- </h3><div class="docstring">
426
- <div class="discussion">
427
-
428
-
429
- </div>
430
- </div>
431
- <div class="tags">
432
- <p class="tag_title">Parameters:</p>
433
- <ul class="param">
434
-
435
- <li>
436
-
437
- <span class='name'>args</span>
438
-
439
-
440
- <span class='type'>(<tt>Array</tt>)</span>
441
-
442
-
443
-
444
- &mdash;
445
- <div class='inline'>
446
- <p>Array of constructor arguments</p>
447
- </div>
448
-
449
- </li>
450
-
451
- </ul>
452
-
453
-
454
- </div><table class="source_code">
455
- <tr>
456
- <td>
457
- <pre class="lines">
458
-
459
-
460
- 37
461
- 38
462
- 39</pre>
463
- </td>
464
- <td>
465
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 37</span>
466
-
467
- ss to create
468
- # @param [Array] args Array of constructor arguments
469
- def create( tar</pre>
470
- </td>
471
- </tr>
472
- </table>
473
- </div>
474
-
475
- <div class="method_details ">
476
- <h3 class="signature " id="internal_load_paths-instance_method">
477
-
478
- - (<tt>Object</tt>) <strong>internal_load_paths</strong>( )
479
-
480
-
481
-
482
-
483
-
484
- </h3><table class="source_code">
485
- <tr>
486
- <td>
487
- <pre class="lines">
488
-
489
-
490
- 68
491
- 69
492
- 70
493
- 71
494
- 72
495
- 73
496
- 74
497
- 75
498
- 76
499
- 77
500
- 78
501
- 79
502
- 80
503
- 81</pre>
504
- </td>
505
- <td>
506
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 68</span>
507
-
508
- end
509
-
510
- #
511
- # Load a path into the internal Naether ClassLoader
512
- #
513
- # @param [Array] paths as an Array of String paths or a String path
514
- #
515
- def internal_load_paths(paths)
516
- load_paths = []
517
- unless paths.is_a? Array
518
- paths = [paths]
519
- end
520
-
521
- pat</pre>
522
- </td>
523
- </tr>
524
- </table>
525
- </div>
526
-
527
- <div class="method_details ">
528
- <h3 class="signature " id="load_paths-instance_method">
529
-
530
- - (<tt>Object</tt>) <strong>load_paths</strong>(
531
- )
532
-
533
-
534
-
535
-
536
-
537
- </h3><table class="source_code">
538
- <tr>
539
- <td>
540
- <pre class="lines">
541
-
542
-
543
- 91
544
- 92
545
- 93
546
- 94
547
- 95
548
- 96
549
- 97
550
- 98
551
- 99
552
- 100
553
- 101
554
- 102
555
- 103
556
- 104
557
- 105
558
- 106
559
- 107</pre>
560
- </td>
561
- <td>
562
- <pre class="code"><span class="info file"># File 'lib/naether/java/jruby.rb', line 91</span>
563
-
564
- path )
565
-
566
- load_paths &lt;&lt; expanded_path
567
- end
568
- end
569
-
570
- load_paths
571
- end
572
-
573
- #
574
- # Load a path onto the parent ClassLoader
575
- #
576
- # @param [Array] paths as an Array of String paths or a String path
577
- #
578
- def load_paths(paths)
579
- load_paths = []
580
- unless paths.is_a? Array</pre>
581
- </td>
582
- </tr>
583
- </table>
584
- </div>
585
-
586
- </div>
587
-
588
- </div>
589
-
590
- <div id="footer">
591
- Generated on Fri Sep 27 17:38:19 2013 by
592
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
593
- 0.8.2.1 (ruby-1.9.3).
594
- </div>
595
-
596
- </body>
597
- </html>