xbrlware-ce 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +1 -1
- data/ReleaseNotes.txt +8 -0
- data/doc/classes/CGI.html +195 -0
- data/doc/classes/Edgar/HTMLFeedDownloader.html +8 -8
- data/doc/classes/Edgar/RSSFeedDownloader.html +15 -15
- data/doc/classes/Xbrlware/Context.html +63 -63
- data/doc/classes/Xbrlware/Entity.html +36 -36
- data/doc/classes/Xbrlware/Identifier.html +12 -12
- data/doc/classes/Xbrlware/Instance.html +91 -91
- data/doc/classes/Xbrlware/Item.html +19 -19
- data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase/Calculation/CalculationArc.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase/Calculation.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase.html +12 -12
- data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase/Definition/DefinitionArc.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase/Definition.html +12 -12
- data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase.html +13 -13
- data/doc/classes/Xbrlware/Linkbase/LabelLinkbase/Label.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/LabelLinkbase.html +19 -19
- data/doc/classes/Xbrlware/Linkbase/Linkbase/Link/Arc.html +24 -24
- data/doc/classes/Xbrlware/Linkbase/Linkbase/Link.html +12 -12
- data/doc/classes/Xbrlware/Linkbase/Linkbase.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase/Presentation/PresentationArc.html +6 -6
- data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase/Presentation.html +12 -12
- data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase.html +13 -13
- data/doc/classes/Xbrlware/Taxonomy.html +44 -44
- data/doc/classes/Xbrlware/TaxonomyDefintion.html +12 -12
- data/doc/classes/Xbrlware/Unit/Divide.html +6 -6
- data/doc/classes/Xbrlware/Unit.html +6 -6
- data/doc/classes/Xbrlware.html +17 -14
- data/doc/created.rid +1 -1
- data/doc/files/lib/edgar_rb.html +2 -1
- data/doc/files/lib/xbrlware/cgi_patch_rb.html +120 -0
- data/doc/files/lib/xbrlware/instance_rb.html +1 -1
- data/doc/files/lib/xbrlware/util_rb.html +1 -1
- data/doc/files/lib/xbrlware_rb.html +2 -1
- data/doc/fr_class_index.html +1 -0
- data/doc/fr_file_index.html +1 -0
- data/doc/fr_method_index.html +79 -78
- data/lib/edgar.rb +3 -1
- data/lib/xbrlware/cgi_patch.rb +58 -0
- data/lib/xbrlware/instance.rb +5 -3
- data/lib/xbrlware/util.rb +4 -1
- data/lib/xbrlware.rb +1 -0
- metadata +6 -2
@@ -95,20 +95,20 @@ instance page on xbrlware wiki</a> for more details.
|
|
95
95
|
<h3 class="section-bar">Methods</h3>
|
96
96
|
|
97
97
|
<div class="name-list">
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
98
|
+
<a href="#M000066">context</a>
|
99
|
+
<a href="#M000073">context_for_item</a>
|
100
|
+
<a href="#M000067">ctx_groupby_dim</a>
|
101
|
+
<a href="#M000070">ctx_groupby_dim_dom_print</a>
|
102
|
+
<a href="#M000068">ctx_groupby_dom</a>
|
103
|
+
<a href="#M000069">ctx_groupby_period</a>
|
104
|
+
<a href="#M000076">entity_details</a>
|
105
|
+
<a href="#M000075">footnotes</a>
|
106
|
+
<a href="#M000072">item</a>
|
107
|
+
<a href="#M000074">item_ctx_filter</a>
|
108
|
+
<a href="#M000063">new</a>
|
109
|
+
<a href="#M000064">raw</a>
|
110
|
+
<a href="#M000065">schema_ref</a>
|
111
|
+
<a href="#M000071">unit</a>
|
112
112
|
</div>
|
113
113
|
</div>
|
114
114
|
|
@@ -143,11 +143,11 @@ instance page on xbrlware wiki</a> for more details.
|
|
143
143
|
<div id="methods">
|
144
144
|
<h3 class="section-bar">Public Class methods</h3>
|
145
145
|
|
146
|
-
<div id="method-
|
147
|
-
<a name="
|
146
|
+
<div id="method-M000063" class="method-detail">
|
147
|
+
<a name="M000063"></a>
|
148
148
|
|
149
149
|
<div class="method-heading">
|
150
|
-
<a href="#
|
150
|
+
<a href="#M000063" class="method-signature">
|
151
151
|
<span class="method-name">new</span><span class="method-args">(instance_filepath, taxonomy_filepath=nil)</span>
|
152
152
|
</a>
|
153
153
|
</div>
|
@@ -170,16 +170,16 @@ taxonomy file in the instance document will be ignored
|
|
170
170
|
<p>
|
171
171
|
Expects instance source is well-formatted and valid Sometimes instance
|
172
172
|
document contains large chunk of HTML content with <a
|
173
|
-
href="Instance.html#
|
173
|
+
href="Instance.html#M000063">new</a> lines in-between, which will cause
|
174
174
|
parsing error. Hence any exceptions during instance source parsing, will
|
175
175
|
trigger re-parsing of the entire instnace file with <a
|
176
|
-
href="Instance.html#
|
176
|
+
href="Instance.html#M000063">new</a> lines replaced. Look at <a
|
177
177
|
href="http://code.google.com/p/xbrlware/wiki/InstanceTaxonomy">delaing with
|
178
178
|
instance page on xbrlware wiki</a> for details.
|
179
179
|
</p>
|
180
180
|
<p><a class="source-toggle" href="#"
|
181
|
-
onclick="toggleCode('
|
182
|
-
<div class="method-source-code" id="
|
181
|
+
onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
|
182
|
+
<div class="method-source-code" id="M000063-source">
|
183
183
|
<pre>
|
184
184
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 42</span>
|
185
185
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">instance_filepath</span>, <span class="ruby-identifier">taxonomy_filepath</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -209,11 +209,11 @@ instance page on xbrlware wiki</a> for details.
|
|
209
209
|
|
210
210
|
<h3 class="section-bar">Public Instance methods</h3>
|
211
211
|
|
212
|
-
<div id="method-
|
213
|
-
<a name="
|
212
|
+
<div id="method-M000066" class="method-detail">
|
213
|
+
<a name="M000066"></a>
|
214
214
|
|
215
215
|
<div class="method-heading">
|
216
|
-
<a href="#
|
216
|
+
<a href="#M000066" class="method-signature">
|
217
217
|
<span class="method-name">context</span><span class="method-args">(context_id=nil, dimensions=[])</span>
|
218
218
|
</a>
|
219
219
|
</div>
|
@@ -228,8 +228,8 @@ Takes optional context_id as string and dimensions as array
|
|
228
228
|
Returns nil if context_id or dimensions is passed and no matching context exist
|
229
229
|
</pre>
|
230
230
|
<p><a class="source-toggle" href="#"
|
231
|
-
onclick="toggleCode('
|
232
|
-
<div class="method-source-code" id="
|
231
|
+
onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
|
232
|
+
<div class="method-source-code" id="M000066-source">
|
233
233
|
<pre>
|
234
234
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 80</span>
|
235
235
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">context</span>(<span class="ruby-identifier">context_id</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">dimensions</span>=[])
|
@@ -253,26 +253,26 @@ Takes optional context_id as string and dimensions as array
|
|
253
253
|
</div>
|
254
254
|
</div>
|
255
255
|
|
256
|
-
<div id="method-
|
257
|
-
<a name="
|
256
|
+
<div id="method-M000073" class="method-detail">
|
257
|
+
<a name="M000073"></a>
|
258
258
|
|
259
259
|
<div class="method-heading">
|
260
|
-
<a href="#
|
260
|
+
<a href="#M000073" class="method-signature">
|
261
261
|
<span class="method-name">context_for_item</span><span class="method-args">(item_name)</span>
|
262
262
|
</a>
|
263
263
|
</div>
|
264
264
|
|
265
265
|
<div class="method-description">
|
266
266
|
<p>
|
267
|
-
Takes <a href="Instance.html#
|
267
|
+
Takes <a href="Instance.html#M000072">item</a> name
|
268
268
|
</p>
|
269
269
|
<pre>
|
270
270
|
Returns array of contexts for given item name
|
271
271
|
Returns empty array if no item with given name found
|
272
272
|
</pre>
|
273
273
|
<p><a class="source-toggle" href="#"
|
274
|
-
onclick="toggleCode('
|
275
|
-
<div class="method-source-code" id="
|
274
|
+
onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
|
275
|
+
<div class="method-source-code" id="M000073-source">
|
276
276
|
<pre>
|
277
277
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 291</span>
|
278
278
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">context_for_item</span>(<span class="ruby-identifier">item_name</span>)
|
@@ -286,11 +286,11 @@ Takes <a href="Instance.html#M000071">item</a> name
|
|
286
286
|
</div>
|
287
287
|
</div>
|
288
288
|
|
289
|
-
<div id="method-
|
290
|
-
<a name="
|
289
|
+
<div id="method-M000067" class="method-detail">
|
290
|
+
<a name="M000067"></a>
|
291
291
|
|
292
292
|
<div class="method-heading">
|
293
|
-
<a href="#
|
293
|
+
<a href="#M000067" class="method-signature">
|
294
294
|
<span class="method-name">ctx_groupby_dim</span><span class="method-args">()</span>
|
295
295
|
</a>
|
296
296
|
</div>
|
@@ -301,8 +301,8 @@ Returns contexts grouped by dimension as map. Map contains dimension as key
|
|
301
301
|
and corresponding contexts as value
|
302
302
|
</p>
|
303
303
|
<p><a class="source-toggle" href="#"
|
304
|
-
onclick="toggleCode('
|
305
|
-
<div class="method-source-code" id="
|
304
|
+
onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
|
305
|
+
<div class="method-source-code" id="M000067-source">
|
306
306
|
<pre>
|
307
307
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 98</span>
|
308
308
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ctx_groupby_dim</span>
|
@@ -322,11 +322,11 @@ and corresponding contexts as value
|
|
322
322
|
</div>
|
323
323
|
</div>
|
324
324
|
|
325
|
-
<div id="method-
|
326
|
-
<a name="
|
325
|
+
<div id="method-M000070" class="method-detail">
|
326
|
+
<a name="M000070"></a>
|
327
327
|
|
328
328
|
<div class="method-heading">
|
329
|
-
<a href="#
|
329
|
+
<a href="#M000070" class="method-signature">
|
330
330
|
<span class="method-name">ctx_groupby_dim_dom_print</span><span class="method-args">()</span>
|
331
331
|
</a>
|
332
332
|
</div>
|
@@ -334,12 +334,12 @@ and corresponding contexts as value
|
|
334
334
|
<div class="method-description">
|
335
335
|
<p>
|
336
336
|
Prints dimension -> domain -> <a
|
337
|
-
href="Instance.html#
|
337
|
+
href="Instance.html#M000066">context</a> relationship for all contexts in
|
338
338
|
the console.
|
339
339
|
</p>
|
340
340
|
<p><a class="source-toggle" href="#"
|
341
|
-
onclick="toggleCode('
|
342
|
-
<div class="method-source-code" id="
|
341
|
+
onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
|
342
|
+
<div class="method-source-code" id="M000070-source">
|
343
343
|
<pre>
|
344
344
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 140</span>
|
345
345
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ctx_groupby_dim_dom_print</span>
|
@@ -360,11 +360,11 @@ the console.
|
|
360
360
|
</div>
|
361
361
|
</div>
|
362
362
|
|
363
|
-
<div id="method-
|
364
|
-
<a name="
|
363
|
+
<div id="method-M000068" class="method-detail">
|
364
|
+
<a name="M000068"></a>
|
365
365
|
|
366
366
|
<div class="method-heading">
|
367
|
-
<a href="#
|
367
|
+
<a href="#M000068" class="method-signature">
|
368
368
|
<span class="method-name">ctx_groupby_dom</span><span class="method-args">(dimensions=[])</span>
|
369
369
|
</a>
|
370
370
|
</div>
|
@@ -377,8 +377,8 @@ Takes optional dimensions as array
|
|
377
377
|
Returns contexts group by domain as map. Map contains domain as key and corresponding contexts as value
|
378
378
|
</pre>
|
379
379
|
<p><a class="source-toggle" href="#"
|
380
|
-
onclick="toggleCode('
|
381
|
-
<div class="method-source-code" id="
|
380
|
+
onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
|
381
|
+
<div class="method-source-code" id="M000068-source">
|
382
382
|
<pre>
|
383
383
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 113</span>
|
384
384
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ctx_groupby_dom</span>(<span class="ruby-identifier">dimensions</span>=[])
|
@@ -398,11 +398,11 @@ Takes optional dimensions as array
|
|
398
398
|
</div>
|
399
399
|
</div>
|
400
400
|
|
401
|
-
<div id="method-
|
402
|
-
<a name="
|
401
|
+
<div id="method-M000069" class="method-detail">
|
402
|
+
<a name="M000069"></a>
|
403
403
|
|
404
404
|
<div class="method-heading">
|
405
|
-
<a href="#
|
405
|
+
<a href="#M000069" class="method-signature">
|
406
406
|
<span class="method-name">ctx_groupby_period</span><span class="method-args">(dimensions=[])</span>
|
407
407
|
</a>
|
408
408
|
</div>
|
@@ -415,8 +415,8 @@ Takes optional dimensions as array
|
|
415
415
|
Returns contexts group by period as map. Map contains period as key and corresponding contexts as value
|
416
416
|
</pre>
|
417
417
|
<p><a class="source-toggle" href="#"
|
418
|
-
onclick="toggleCode('
|
419
|
-
<div class="method-source-code" id="
|
418
|
+
onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
|
419
|
+
<div class="method-source-code" id="M000069-source">
|
420
420
|
<pre>
|
421
421
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 128</span>
|
422
422
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ctx_groupby_period</span>(<span class="ruby-identifier">dimensions</span>=[])
|
@@ -434,19 +434,19 @@ Takes optional dimensions as array
|
|
434
434
|
</div>
|
435
435
|
</div>
|
436
436
|
|
437
|
-
<div id="method-
|
438
|
-
<a name="
|
437
|
+
<div id="method-M000076" class="method-detail">
|
438
|
+
<a name="M000076"></a>
|
439
439
|
|
440
440
|
<div class="method-heading">
|
441
|
-
<a href="#
|
441
|
+
<a href="#M000076" class="method-signature">
|
442
442
|
<span class="method-name">entity_details</span><span class="method-args">()</span>
|
443
443
|
</a>
|
444
444
|
</div>
|
445
445
|
|
446
446
|
<div class="method-description">
|
447
447
|
<p><a class="source-toggle" href="#"
|
448
|
-
onclick="toggleCode('
|
449
|
-
<div class="method-source-code" id="
|
448
|
+
onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
|
449
|
+
<div class="method-source-code" id="M000076-source">
|
450
450
|
<pre>
|
451
451
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 331</span>
|
452
452
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entity_details</span>
|
@@ -484,18 +484,18 @@ Takes optional dimensions as array
|
|
484
484
|
</div>
|
485
485
|
</div>
|
486
486
|
|
487
|
-
<div id="method-
|
488
|
-
<a name="
|
487
|
+
<div id="method-M000075" class="method-detail">
|
488
|
+
<a name="M000075"></a>
|
489
489
|
|
490
490
|
<div class="method-heading">
|
491
|
-
<a href="#
|
491
|
+
<a href="#M000075" class="method-signature">
|
492
492
|
<span class="method-name">footnotes</span><span class="method-args">(item_id=nil, lang=nil)</span>
|
493
493
|
</a>
|
494
494
|
</div>
|
495
495
|
|
496
496
|
<div class="method-description">
|
497
497
|
<p>
|
498
|
-
Takes optional <a href="Instance.html#
|
498
|
+
Takes optional <a href="Instance.html#M000072">item</a> id and language
|
499
499
|
</p>
|
500
500
|
<pre>
|
501
501
|
Every item in XBRL instance file may contain optional id element.
|
@@ -506,8 +506,8 @@ Takes optional <a href="Instance.html#M000071">item</a> id and language
|
|
506
506
|
Returns nil if no match found for item_it or footnotes not exist
|
507
507
|
</pre>
|
508
508
|
<p><a class="source-toggle" href="#"
|
509
|
-
onclick="toggleCode('
|
510
|
-
<div class="method-source-code" id="
|
509
|
+
onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
|
510
|
+
<div class="method-source-code" id="M000075-source">
|
511
511
|
<pre>
|
512
512
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 320</span>
|
513
513
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">footnotes</span> (<span class="ruby-identifier">item_id</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">lang</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -524,11 +524,11 @@ Takes optional <a href="Instance.html#M000071">item</a> id and language
|
|
524
524
|
</div>
|
525
525
|
</div>
|
526
526
|
|
527
|
-
<div id="method-
|
528
|
-
<a name="
|
527
|
+
<div id="method-M000072" class="method-detail">
|
528
|
+
<a name="M000072"></a>
|
529
529
|
|
530
530
|
<div class="method-heading">
|
531
|
-
<a href="#
|
531
|
+
<a href="#M000072" class="method-signature">
|
532
532
|
<span class="method-name">item</span><span class="method-args">(name, context_ref=nil, unit_ref=nil)</span>
|
533
533
|
</a>
|
534
534
|
</div>
|
@@ -542,8 +542,8 @@ Takes name and optional context_ref and unit_ref
|
|
542
542
|
Returns empty array if item is not found
|
543
543
|
</pre>
|
544
544
|
<p><a class="source-toggle" href="#"
|
545
|
-
onclick="toggleCode('
|
546
|
-
<div class="method-source-code" id="
|
545
|
+
onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
|
546
|
+
<div class="method-source-code" id="M000072-source">
|
547
547
|
<pre>
|
548
548
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 258</span>
|
549
549
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">item</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">context_ref</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">unit_ref</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -580,26 +580,26 @@ Takes name and optional context_ref and unit_ref
|
|
580
580
|
</div>
|
581
581
|
</div>
|
582
582
|
|
583
|
-
<div id="method-
|
584
|
-
<a name="
|
583
|
+
<div id="method-M000074" class="method-detail">
|
584
|
+
<a name="M000074"></a>
|
585
585
|
|
586
586
|
<div class="method-heading">
|
587
|
-
<a href="#
|
587
|
+
<a href="#M000074" class="method-signature">
|
588
588
|
<span class="method-name">item_ctx_filter</span><span class="method-args">(name) {|item.context| ...}</span>
|
589
589
|
</a>
|
590
590
|
</div>
|
591
591
|
|
592
592
|
<div class="method-description">
|
593
593
|
<p>
|
594
|
-
Takes <a href="Instance.html#
|
594
|
+
Takes <a href="Instance.html#M000072">item</a> name and filter block
|
595
595
|
</p>
|
596
596
|
<pre>
|
597
597
|
Fetches item with name and invokes filter block with item context
|
598
598
|
Returns matched items.
|
599
599
|
</pre>
|
600
600
|
<p><a class="source-toggle" href="#"
|
601
|
-
onclick="toggleCode('
|
602
|
-
<div class="method-source-code" id="
|
601
|
+
onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
|
602
|
+
<div class="method-source-code" id="M000074-source">
|
603
603
|
<pre>
|
604
604
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 302</span>
|
605
605
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">item_ctx_filter</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">context_filter_block</span>)
|
@@ -616,23 +616,23 @@ Takes <a href="Instance.html#M000071">item</a> name and filter block
|
|
616
616
|
</div>
|
617
617
|
</div>
|
618
618
|
|
619
|
-
<div id="method-
|
620
|
-
<a name="
|
619
|
+
<div id="method-M000064" class="method-detail">
|
620
|
+
<a name="M000064"></a>
|
621
621
|
|
622
622
|
<div class="method-heading">
|
623
|
-
<a href="#
|
623
|
+
<a href="#M000064" class="method-signature">
|
624
624
|
<span class="method-name">raw</span><span class="method-args">()</span>
|
625
625
|
</a>
|
626
626
|
</div>
|
627
627
|
|
628
628
|
<div class="method-description">
|
629
629
|
<p>
|
630
|
-
Returns <a href="Instance.html#
|
630
|
+
Returns <a href="Instance.html#M000064">raw</a> content of instance file in
|
631
631
|
the form of Hash
|
632
632
|
</p>
|
633
633
|
<p><a class="source-toggle" href="#"
|
634
|
-
onclick="toggleCode('
|
635
|
-
<div class="method-source-code" id="
|
634
|
+
onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
|
635
|
+
<div class="method-source-code" id="M000064-source">
|
636
636
|
<pre>
|
637
637
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 64</span>
|
638
638
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">raw</span>
|
@@ -643,11 +643,11 @@ the form of Hash
|
|
643
643
|
</div>
|
644
644
|
</div>
|
645
645
|
|
646
|
-
<div id="method-
|
647
|
-
<a name="
|
646
|
+
<div id="method-M000065" class="method-detail">
|
647
|
+
<a name="M000065"></a>
|
648
648
|
|
649
649
|
<div class="method-heading">
|
650
|
-
<a href="#
|
650
|
+
<a href="#M000065" class="method-signature">
|
651
651
|
<span class="method-name">schema_ref</span><span class="method-args">()</span>
|
652
652
|
</a>
|
653
653
|
</div>
|
@@ -658,8 +658,8 @@ Returns schemaRef element of instance file. schemaRef holds path to
|
|
658
658
|
taxonomy file for the instance file.
|
659
659
|
</p>
|
660
660
|
<p><a class="source-toggle" href="#"
|
661
|
-
onclick="toggleCode('
|
662
|
-
<div class="method-source-code" id="
|
661
|
+
onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
|
662
|
+
<div class="method-source-code" id="M000065-source">
|
663
663
|
<pre>
|
664
664
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 69</span>
|
665
665
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">schema_ref</span>
|
@@ -673,11 +673,11 @@ taxonomy file for the instance file.
|
|
673
673
|
</div>
|
674
674
|
</div>
|
675
675
|
|
676
|
-
<div id="method-
|
677
|
-
<a name="
|
676
|
+
<div id="method-M000071" class="method-detail">
|
677
|
+
<a name="M000071"></a>
|
678
678
|
|
679
679
|
<div class="method-heading">
|
680
|
-
<a href="#
|
680
|
+
<a href="#M000071" class="method-signature">
|
681
681
|
<span class="method-name">unit</span><span class="method-args">(unit_id=nil)</span>
|
682
682
|
</a>
|
683
683
|
</div>
|
@@ -692,8 +692,8 @@ Takes optional unit_id
|
|
692
692
|
Returns nil if unit_id is given and no matching unit found
|
693
693
|
</pre>
|
694
694
|
<p><a class="source-toggle" href="#"
|
695
|
-
onclick="toggleCode('
|
696
|
-
<div class="method-source-code" id="
|
695
|
+
onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
|
696
|
+
<div class="method-source-code" id="M000071-source">
|
697
697
|
<pre>
|
698
698
|
<span class="ruby-comment cmt"># File lib/xbrlware/instance.rb, line 228</span>
|
699
699
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unit</span>(<span class="ruby-identifier">unit_id</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -100,9 +100,9 @@ instance page on xbrlware wiki</a> for more details.
|
|
100
100
|
<h3 class="section-bar">Methods</h3>
|
101
101
|
|
102
102
|
<div class="name-list">
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
103
|
+
<a href="#M000051">balance</a>
|
104
|
+
<a href="#M000049">new</a>
|
105
|
+
<a href="#M000050">value</a>
|
106
106
|
</div>
|
107
107
|
</div>
|
108
108
|
|
@@ -180,23 +180,23 @@ instance page on xbrlware wiki</a> for more details.
|
|
180
180
|
<div id="methods">
|
181
181
|
<h3 class="section-bar">Public Class methods</h3>
|
182
182
|
|
183
|
-
<div id="method-
|
184
|
-
<a name="
|
183
|
+
<div id="method-M000049" class="method-detail">
|
184
|
+
<a name="M000049"></a>
|
185
185
|
|
186
186
|
<div class="method-heading">
|
187
|
-
<a href="#
|
187
|
+
<a href="#M000049" class="method-signature">
|
188
188
|
<span class="method-name">new</span><span class="method-args">(name, context, value, unit=nil,precision=nil,decimals=nil, footnotes=nil)</span>
|
189
189
|
</a>
|
190
190
|
</div>
|
191
191
|
|
192
192
|
<div class="method-description">
|
193
193
|
<p>
|
194
|
-
Constructs item <a href="Item.html#
|
194
|
+
Constructs item <a href="Item.html#M000050">value</a> is normalized based
|
195
195
|
on precision and decimals passed as per XBRL specification
|
196
196
|
</p>
|
197
197
|
<p><a class="source-toggle" href="#"
|
198
|
-
onclick="toggleCode('
|
199
|
-
<div class="method-source-code" id="
|
198
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
199
|
+
<div class="method-source-code" id="M000049-source">
|
200
200
|
<pre>
|
201
201
|
<span class="ruby-comment cmt"># File lib/xbrlware/item.rb, line 31</span>
|
202
202
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">unit</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">precision</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">decimals</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">footnotes</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -215,19 +215,19 @@ on precision and decimals passed as per XBRL specification
|
|
215
215
|
|
216
216
|
<h3 class="section-bar">Public Instance methods</h3>
|
217
217
|
|
218
|
-
<div id="method-
|
219
|
-
<a name="
|
218
|
+
<div id="method-M000051" class="method-detail">
|
219
|
+
<a name="M000051"></a>
|
220
220
|
|
221
221
|
<div class="method-heading">
|
222
|
-
<a href="#
|
222
|
+
<a href="#M000051" class="method-signature">
|
223
223
|
<span class="method-name">balance</span><span class="method-args">()</span>
|
224
224
|
</a>
|
225
225
|
</div>
|
226
226
|
|
227
227
|
<div class="method-description">
|
228
228
|
<p><a class="source-toggle" href="#"
|
229
|
-
onclick="toggleCode('
|
230
|
-
<div class="method-source-code" id="
|
229
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000051-source">
|
231
231
|
<pre>
|
232
232
|
<span class="ruby-comment cmt"># File lib/xbrlware/item.rb, line 48</span>
|
233
233
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">balance</span>
|
@@ -239,19 +239,19 @@ on precision and decimals passed as per XBRL specification
|
|
239
239
|
</div>
|
240
240
|
</div>
|
241
241
|
|
242
|
-
<div id="method-
|
243
|
-
<a name="
|
242
|
+
<div id="method-M000050" class="method-detail">
|
243
|
+
<a name="M000050"></a>
|
244
244
|
|
245
245
|
<div class="method-heading">
|
246
|
-
<a href="#
|
246
|
+
<a href="#M000050" class="method-signature">
|
247
247
|
<span class="method-name">value</span><span class="method-args">() {|@value| ...}</span>
|
248
248
|
</a>
|
249
249
|
</div>
|
250
250
|
|
251
251
|
<div class="method-description">
|
252
252
|
<p><a class="source-toggle" href="#"
|
253
|
-
onclick="toggleCode('
|
254
|
-
<div class="method-source-code" id="
|
253
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
254
|
+
<div class="method-source-code" id="M000050-source">
|
255
255
|
<pre>
|
256
256
|
<span class="ruby-comment cmt"># File lib/xbrlware/item.rb, line 41</span>
|
257
257
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">value</span>
|
@@ -86,7 +86,7 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
89
|
+
<a href="#M000023">new</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -126,19 +126,19 @@
|
|
126
126
|
<div id="methods">
|
127
127
|
<h3 class="section-bar">Public Class methods</h3>
|
128
128
|
|
129
|
-
<div id="method-
|
130
|
-
<a name="
|
129
|
+
<div id="method-M000023" class="method-detail">
|
130
|
+
<a name="M000023"></a>
|
131
131
|
|
132
132
|
<div class="method-heading">
|
133
|
-
<a href="#
|
133
|
+
<a href="#M000023" class="method-signature">
|
134
134
|
<span class="method-name">new</span><span class="method-args">(item_id, href, role=nil, order=nil, weight=nil, priority=nil, use=nil, label=nil)</span>
|
135
135
|
</a>
|
136
136
|
</div>
|
137
137
|
|
138
138
|
<div class="method-description">
|
139
139
|
<p><a class="source-toggle" href="#"
|
140
|
-
onclick="toggleCode('
|
141
|
-
<div class="method-source-code" id="
|
140
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
141
|
+
<div class="method-source-code" id="M000023-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File lib/xbrlware/linkbase/calculation_linkbase.rb, line 127</span>
|
144
144
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">item_id</span>, <span class="ruby-identifier">href</span>, <span class="ruby-identifier">role</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">order</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">weight</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">priority</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">use</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">label</span>=<span class="ruby-keyword kw">nil</span>)
|
@@ -86,7 +86,7 @@
|
|
86
86
|
<h3 class="section-bar">Methods</h3>
|
87
87
|
|
88
88
|
<div class="name-list">
|
89
|
-
<a href="#
|
89
|
+
<a href="#M000022">new</a>
|
90
90
|
</div>
|
91
91
|
</div>
|
92
92
|
|
@@ -132,19 +132,19 @@
|
|
132
132
|
<div id="methods">
|
133
133
|
<h3 class="section-bar">Public Class methods</h3>
|
134
134
|
|
135
|
-
<div id="method-
|
136
|
-
<a name="
|
135
|
+
<div id="method-M000022" class="method-detail">
|
136
|
+
<a name="M000022"></a>
|
137
137
|
|
138
138
|
<div class="method-heading">
|
139
|
-
<a href="#
|
139
|
+
<a href="#M000022" class="method-signature">
|
140
140
|
<span class="method-name">new</span><span class="method-args">(entity_details, title, role, href=nil, arcs=nil, contexts=nil)</span>
|
141
141
|
</a>
|
142
142
|
</div>
|
143
143
|
|
144
144
|
<div class="method-description">
|
145
145
|
<p><a class="source-toggle" href="#"
|
146
|
-
onclick="toggleCode('
|
147
|
-
<div class="method-source-code" id="
|
146
|
+
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
147
|
+
<div class="method-source-code" id="M000022-source">
|
148
148
|
<pre>
|
149
149
|
<span class="ruby-comment cmt"># File lib/xbrlware/linkbase/calculation_linkbase.rb, line 118</span>
|
150
150
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">entity_details</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">role</span>, <span class="ruby-identifier">href</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">arcs</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">contexts</span>=<span class="ruby-keyword kw">nil</span>)
|