xbrlware-ce 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/Rakefile.rb +4 -4
  2. data/Readme.txt +6 -1
  3. data/ReleaseNotes.txt +22 -5
  4. data/doc/classes/Edgar/HTMLFeedDownloader.html +8 -8
  5. data/doc/classes/Edgar/RSSFeedDownloader.html +15 -15
  6. data/doc/classes/Xbrlware.html +22 -0
  7. data/doc/classes/Xbrlware/Context.html +104 -74
  8. data/doc/classes/Xbrlware/Context/Period.html +305 -0
  9. data/doc/classes/Xbrlware/Entity.html +75 -51
  10. data/doc/classes/Xbrlware/Identifier.html +17 -17
  11. data/doc/classes/Xbrlware/Instance.html +165 -137
  12. data/doc/classes/Xbrlware/Item.html +19 -19
  13. data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase/Calculation.html +1 -1
  14. data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase/Definition.html +2 -2
  15. data/doc/classes/Xbrlware/Linkbase/Linkbase/Link.html +9 -3
  16. data/doc/classes/Xbrlware/Linkbase/Linkbase/Link/Arc.html +4 -4
  17. data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase/Presentation.html +1 -1
  18. data/doc/classes/Xbrlware/Report.html +352 -0
  19. data/doc/classes/Xbrlware/Taxonomy.html +48 -48
  20. data/doc/classes/Xbrlware/TaxonomyDefintion.html +15 -15
  21. data/doc/classes/Xbrlware/Unit.html +6 -6
  22. data/doc/classes/Xbrlware/Unit/Divide.html +6 -6
  23. data/doc/created.rid +1 -1
  24. data/doc/files/Readme_txt.html +9 -1
  25. data/doc/files/lib/xbrlware/context_rb.html +1 -1
  26. data/doc/files/lib/xbrlware/date_util_rb.html +1 -1
  27. data/doc/files/lib/xbrlware/instance_rb.html +1 -1
  28. data/doc/files/lib/xbrlware/linkbase/calculation_linkbase_rb.html +1 -1
  29. data/doc/files/lib/xbrlware/linkbase/definition_linkbase_rb.html +1 -1
  30. data/doc/files/lib/xbrlware/linkbase/linkbase_rb.html +1 -1
  31. data/doc/files/lib/xbrlware/linkbase/presentation_linkbase_rb.html +1 -1
  32. data/doc/files/lib/xbrlware/meta_util_rb.html +1 -1
  33. data/doc/files/lib/xbrlware/report_rb.html +101 -0
  34. data/doc/files/lib/xbrlware/taxonomy_rb.html +1 -1
  35. data/doc/files/lib/xbrlware/version_rb.html +129 -0
  36. data/doc/fr_class_index.html +2 -0
  37. data/doc/fr_file_index.html +2 -0
  38. data/doc/fr_method_index.html +75 -62
  39. data/example/case_study/buy_strategy.rb +1 -1
  40. data/example/case_study/c_sell_strategy.rb +1 -1
  41. data/lib/xbrlware/context.rb +77 -34
  42. data/lib/xbrlware/date_util.rb +16 -6
  43. data/lib/xbrlware/instance.rb +35 -28
  44. data/lib/xbrlware/linkbase/calculation_linkbase.rb +1 -1
  45. data/lib/xbrlware/linkbase/definition_linkbase.rb +2 -2
  46. data/lib/xbrlware/linkbase/linkbase.rb +3 -2
  47. data/lib/xbrlware/linkbase/presentation_linkbase.rb +1 -1
  48. data/lib/xbrlware/meta_util.rb +5 -0
  49. data/lib/xbrlware/report.rb +277 -0
  50. data/lib/xbrlware/taxonomy.rb +13 -10
  51. data/lib/xbrlware/version.rb +22 -0
  52. data/test/lib/xbrlware/47_context_test.rb +13 -4
  53. data/test/lib/xbrlware/date_util_test.rb +10 -2
  54. data/test/lib/xbrlware/instance_test.rb +19 -0
  55. data/test/lib/xbrlware/meta_util_test.rb +21 -1
  56. metadata +10 -4
@@ -92,13 +92,13 @@ Class to deal with taxonomy of instance file.
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000059">callb</a>&nbsp;&nbsp;
96
- <a href="#M000055">definition</a>&nbsp;&nbsp;
97
- <a href="#M000057">deflb</a>&nbsp;&nbsp;
98
- <a href="#M000060">init_all_lb</a>&nbsp;&nbsp;
99
- <a href="#M000056">lablb</a>&nbsp;&nbsp;
100
- <a href="#M000054">new</a>&nbsp;&nbsp;
101
- <a href="#M000058">prelb</a>&nbsp;&nbsp;
95
+ <a href="#M000071">callb</a>&nbsp;&nbsp;
96
+ <a href="#M000067">definition</a>&nbsp;&nbsp;
97
+ <a href="#M000069">deflb</a>&nbsp;&nbsp;
98
+ <a href="#M000072">init_all_lb</a>&nbsp;&nbsp;
99
+ <a href="#M000068">lablb</a>&nbsp;&nbsp;
100
+ <a href="#M000066">new</a>&nbsp;&nbsp;
101
+ <a href="#M000070">prelb</a>&nbsp;&nbsp;
102
102
  </div>
103
103
  </div>
104
104
 
@@ -120,11 +120,11 @@ Class to deal with taxonomy of instance file.
120
120
  <div id="methods">
121
121
  <h3 class="section-bar">Public Class methods</h3>
122
122
 
123
- <div id="method-M000054" class="method-detail">
124
- <a name="M000054"></a>
123
+ <div id="method-M000066" class="method-detail">
124
+ <a name="M000066"></a>
125
125
 
126
126
  <div class="method-heading">
127
- <a href="#M000054" class="method-signature">
127
+ <a href="#M000066" class="method-signature">
128
128
  <span class="method-name">new</span><span class="method-args">(taxonomy_path, instance)</span>
129
129
  </a>
130
130
  </div>
@@ -142,8 +142,8 @@ Creates a <a href="Taxonomy.html">Taxonomy</a>.
142
142
  </td></tr>
143
143
  </table>
144
144
  <p><a class="source-toggle" href="#"
145
- onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
146
- <div class="method-source-code" id="M000054-source">
145
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
146
+ <div class="method-source-code" id="M000066-source">
147
147
  <pre>
148
148
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 29</span>
149
149
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">taxonomy_path</span>, <span class="ruby-identifier">instance</span>)
@@ -177,11 +177,11 @@ Creates a <a href="Taxonomy.html">Taxonomy</a>.
177
177
 
178
178
  <h3 class="section-bar">Public Instance methods</h3>
179
179
 
180
- <div id="method-M000059" class="method-detail">
181
- <a name="M000059"></a>
180
+ <div id="method-M000071" class="method-detail">
181
+ <a name="M000071"></a>
182
182
 
183
183
  <div class="method-heading">
184
- <a href="#M000059" class="method-signature">
184
+ <a href="#M000071" class="method-signature">
185
185
  <span class="method-name">callb</span><span class="method-args">(file_path=nil)</span>
186
186
  </a>
187
187
  </div>
@@ -191,15 +191,15 @@ Creates a <a href="Taxonomy.html">Taxonomy</a>.
191
191
  initialize and returns calculation linkbase
192
192
  </p>
193
193
  <p><a class="source-toggle" href="#"
194
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
195
- <div class="method-source-code" id="M000059-source">
194
+ onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
195
+ <div class="method-source-code" id="M000071-source">
196
196
  <pre>
197
197
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 87</span>
198
198
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">callb</span>(<span class="ruby-identifier">file_path</span>=<span class="ruby-keyword kw">nil</span>)
199
199
  <span class="ruby-identifier">file_path</span>=<span class="ruby-identifier">linkbase_href</span>(<span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">LBConstants</span><span class="ruby-operator">::</span><span class="ruby-constant">CALCULATION</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@callb</span>.<span class="ruby-identifier">nil?</span>
200
200
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@callb</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span>
201
201
  <span class="ruby-identifier">$LOG</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-value str">&quot; Calculation linkbase already initialized. Ignoring &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@callb</span>.<span class="ruby-identifier">nil?</span>
202
- <span class="ruby-ivar">@callb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">CalculationLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-ivar">@instance</span>, <span class="ruby-identifier">lablb</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@callb</span>.<span class="ruby-identifier">nil?</span>
202
+ <span class="ruby-ivar">@callb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">CalculationLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-ivar">@instance</span>, <span class="ruby-identifier">lablb</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@callb</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_path</span>)
203
203
  <span class="ruby-ivar">@callb</span>
204
204
  <span class="ruby-keyword kw">end</span>
205
205
  </pre>
@@ -207,22 +207,22 @@ initialize and returns calculation linkbase
207
207
  </div>
208
208
  </div>
209
209
 
210
- <div id="method-M000055" class="method-detail">
211
- <a name="M000055"></a>
210
+ <div id="method-M000067" class="method-detail">
211
+ <a name="M000067"></a>
212
212
 
213
213
  <div class="method-heading">
214
- <a href="#M000055" class="method-signature">
214
+ <a href="#M000067" class="method-signature">
215
215
  <span class="method-name">definition</span><span class="method-args">(name)</span>
216
216
  </a>
217
217
  </div>
218
218
 
219
219
  <div class="method-description">
220
220
  <p>
221
- gets taxonomy <a href="Taxonomy.html#M000055">definition</a>
221
+ gets taxonomy <a href="Taxonomy.html#M000067">definition</a>
222
222
  </p>
223
223
  <p><a class="source-toggle" href="#"
224
- onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
225
- <div class="method-source-code" id="M000055-source">
224
+ onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
225
+ <div class="method-source-code" id="M000067-source">
226
226
  <pre>
227
227
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 55</span>
228
228
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">definition</span>(<span class="ruby-identifier">name</span>)
@@ -233,30 +233,30 @@ gets taxonomy <a href="Taxonomy.html#M000055">definition</a>
233
233
  </div>
234
234
  </div>
235
235
 
236
- <div id="method-M000057" class="method-detail">
237
- <a name="M000057"></a>
236
+ <div id="method-M000069" class="method-detail">
237
+ <a name="M000069"></a>
238
238
 
239
239
  <div class="method-heading">
240
- <a href="#M000057" class="method-signature">
240
+ <a href="#M000069" class="method-signature">
241
241
  <span class="method-name">deflb</span><span class="method-args">(file_path=nil)</span>
242
242
  </a>
243
243
  </div>
244
244
 
245
245
  <div class="method-description">
246
246
  <p>
247
- initialize and returns <a href="Taxonomy.html#M000055">definition</a>
247
+ initialize and returns <a href="Taxonomy.html#M000067">definition</a>
248
248
  linkbase
249
249
  </p>
250
250
  <p><a class="source-toggle" href="#"
251
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
252
- <div class="method-source-code" id="M000057-source">
251
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
252
+ <div class="method-source-code" id="M000069-source">
253
253
  <pre>
254
254
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 69</span>
255
255
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deflb</span>(<span class="ruby-identifier">file_path</span>=<span class="ruby-keyword kw">nil</span>)
256
256
  <span class="ruby-identifier">file_path</span>=<span class="ruby-identifier">linkbase_href</span>(<span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">LBConstants</span><span class="ruby-operator">::</span><span class="ruby-constant">DEFINITION</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@deflb</span>.<span class="ruby-identifier">nil?</span>
257
257
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@deflb</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span>
258
258
  <span class="ruby-identifier">$LOG</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-value str">&quot; Definition linkbase already initialized. Ignoring &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@deflb</span>.<span class="ruby-identifier">nil?</span>
259
- <span class="ruby-ivar">@deflb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">DefinitionLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-identifier">lablb</span>()) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@deflb</span>.<span class="ruby-identifier">nil?</span>
259
+ <span class="ruby-ivar">@deflb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">DefinitionLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-identifier">lablb</span>()) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@deflb</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_path</span>)
260
260
  <span class="ruby-ivar">@deflb</span>
261
261
  <span class="ruby-keyword kw">end</span>
262
262
  </pre>
@@ -264,11 +264,11 @@ linkbase
264
264
  </div>
265
265
  </div>
266
266
 
267
- <div id="method-M000060" class="method-detail">
268
- <a name="M000060"></a>
267
+ <div id="method-M000072" class="method-detail">
268
+ <a name="M000072"></a>
269
269
 
270
270
  <div class="method-heading">
271
- <a href="#M000060" class="method-signature">
271
+ <a href="#M000072" class="method-signature">
272
272
  <span class="method-name">init_all_lb</span><span class="method-args">(cal_file_path=nil, pre_file_path=nil, lab_file_path=nil, def_file_path=nil)</span>
273
273
  </a>
274
274
  </div>
@@ -278,8 +278,8 @@ linkbase
278
278
  initialize all linkbases
279
279
  </p>
280
280
  <p><a class="source-toggle" href="#"
281
- onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
282
- <div class="method-source-code" id="M000060-source">
281
+ onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
282
+ <div class="method-source-code" id="M000072-source">
283
283
  <pre>
284
284
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 96</span>
285
285
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init_all_lb</span>(<span class="ruby-identifier">cal_file_path</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">pre_file_path</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">lab_file_path</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">def_file_path</span>=<span class="ruby-keyword kw">nil</span>)
@@ -294,11 +294,11 @@ initialize all linkbases
294
294
  </div>
295
295
  </div>
296
296
 
297
- <div id="method-M000056" class="method-detail">
298
- <a name="M000056"></a>
297
+ <div id="method-M000068" class="method-detail">
298
+ <a name="M000068"></a>
299
299
 
300
300
  <div class="method-heading">
301
- <a href="#M000056" class="method-signature">
301
+ <a href="#M000068" class="method-signature">
302
302
  <span class="method-name">lablb</span><span class="method-args">(file_path=nil)</span>
303
303
  </a>
304
304
  </div>
@@ -308,15 +308,15 @@ initialize all linkbases
308
308
  initialize and returns label linkbase
309
309
  </p>
310
310
  <p><a class="source-toggle" href="#"
311
- onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
312
- <div class="method-source-code" id="M000056-source">
311
+ onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
312
+ <div class="method-source-code" id="M000068-source">
313
313
  <pre>
314
314
  <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 60</span>
315
315
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lablb</span>(<span class="ruby-identifier">file_path</span>=<span class="ruby-keyword kw">nil</span>)
316
316
  <span class="ruby-identifier">file_path</span>=<span class="ruby-identifier">linkbase_href</span>(<span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">LBConstants</span><span class="ruby-operator">::</span><span class="ruby-constant">LABEL</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@lablb</span>.<span class="ruby-identifier">nil?</span>
317
317
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@lablb</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span>
318
318
  <span class="ruby-identifier">$LOG</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-value str">&quot; Label linkbase already initialized. Ignoring &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@lablb</span>.<span class="ruby-identifier">nil?</span>
319
- <span class="ruby-ivar">@lablb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">LabelLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@lablb</span>.<span class="ruby-identifier">nil?</span>
319
+ <span class="ruby-ivar">@lablb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">LabelLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@lablb</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_path</span>)
320
320
  <span class="ruby-ivar">@lablb</span>
321
321
  <span class="ruby-keyword kw">end</span>
322
322
  </pre>
@@ -324,11 +324,11 @@ initialize and returns label linkbase
324
324
  </div>
325
325
  </div>
326
326
 
327
- <div id="method-M000058" class="method-detail">
328
- <a name="M000058"></a>
327
+ <div id="method-M000070" class="method-detail">
328
+ <a name="M000070"></a>
329
329
 
330
330
  <div class="method-heading">
331
- <a href="#M000058" class="method-signature">
331
+ <a href="#M000070" class="method-signature">
332
332
  <span class="method-name">prelb</span><span class="method-args">(file_path=nil)</span>
333
333
  </a>
334
334
  </div>
@@ -338,15 +338,15 @@ initialize and returns label linkbase
338
338
  initialize and returns presentation linkbase
339
339
  </p>
340
340
  <p><a class="source-toggle" href="#"
341
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
342
- <div class="method-source-code" id="M000058-source">
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/taxonomy.rb, line 78</span>
345
345
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">prelb</span>(<span class="ruby-identifier">file_path</span>=<span class="ruby-keyword kw">nil</span>)
346
346
  <span class="ruby-identifier">file_path</span>=<span class="ruby-identifier">linkbase_href</span>(<span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">LBConstants</span><span class="ruby-operator">::</span><span class="ruby-constant">PRESENTATION</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@prelb</span>.<span class="ruby-identifier">nil?</span>
347
347
  <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@prelb</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span>
348
348
  <span class="ruby-identifier">$LOG</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-value str">&quot; Presentation linkbase already initialized. Ignoring &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file_path</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-ivar">@prelb</span>.<span class="ruby-identifier">nil?</span>
349
- <span class="ruby-ivar">@prelb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">PresentationLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-ivar">@instance</span>, <span class="ruby-identifier">deflb</span>, <span class="ruby-identifier">lablb</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@prelb</span>.<span class="ruby-identifier">nil?</span>
349
+ <span class="ruby-ivar">@prelb</span> = <span class="ruby-constant">Xbrlware</span><span class="ruby-operator">::</span><span class="ruby-constant">Linkbase</span><span class="ruby-operator">::</span><span class="ruby-constant">PresentationLinkbase</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>, <span class="ruby-ivar">@instance</span>, <span class="ruby-identifier">deflb</span>, <span class="ruby-identifier">lablb</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@prelb</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file_path</span>)
350
350
  <span class="ruby-ivar">@prelb</span>
351
351
  <span class="ruby-keyword kw">end</span>
352
352
  </pre>
@@ -86,8 +86,8 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000030">method_missing</a>&nbsp;&nbsp;
90
- <a href="#M000029">new</a>&nbsp;&nbsp;
89
+ <a href="#M000033">method_missing</a>&nbsp;&nbsp;
90
+ <a href="#M000032">new</a>&nbsp;&nbsp;
91
91
  </div>
92
92
  </div>
93
93
 
@@ -109,28 +109,28 @@
109
109
  <div id="methods">
110
110
  <h3 class="section-bar">Public Class methods</h3>
111
111
 
112
- <div id="method-M000029" class="method-detail">
113
- <a name="M000029"></a>
112
+ <div id="method-M000032" class="method-detail">
113
+ <a name="M000032"></a>
114
114
 
115
115
  <div class="method-heading">
116
- <a href="#M000029" class="method-signature">
116
+ <a href="#M000032" class="method-signature">
117
117
  <span class="method-name">new</span><span class="method-args">()</span>
118
118
  </a>
119
119
  </div>
120
120
 
121
121
  <div class="method-description">
122
122
  <p><a class="source-toggle" href="#"
123
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
124
- <div class="method-source-code" id="M000029-source">
123
+ onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
124
+ <div class="method-source-code" id="M000032-source">
125
125
  <pre>
126
- <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 120</span>
126
+ <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 123</span>
127
127
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
128
128
  <span class="ruby-identifier">taxonomy_module</span>=<span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;TAXO_NAME&quot;</span>].<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-value str">&quot;-&quot;</span>, <span class="ruby-value str">&quot;&quot;</span>) <span class="ruby-operator">+</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;TAXO_VER&quot;</span>].<span class="ruby-identifier">to_s</span>
129
129
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">eval</span>(<span class="ruby-node">&quot;defined?(Taxonomies::#{taxonomy_module}) == 'constant' and Taxonomies::#{taxonomy_module}.class == Module&quot;</span>)
130
130
  <span class="ruby-identifier">eval</span>(<span class="ruby-node">&quot;self.extend Taxonomies::#{taxonomy_module}&quot;</span>)
131
131
  <span class="ruby-keyword kw">else</span>
132
132
  <span class="ruby-identifier">$LOG</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-value str">&quot;No taxonomy found for name [&quot;</span><span class="ruby-operator">+</span><span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;TAXO_NAME&quot;</span>].<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">&quot;] and version [&quot;</span><span class="ruby-operator">+</span><span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;TAXO_VER&quot;</span>].<span class="ruby-identifier">to_s</span><span class="ruby-operator">+</span><span class="ruby-value str">&quot;]&quot;</span>)
133
- <span class="ruby-keyword kw">end</span>
133
+ <span class="ruby-keyword kw">end</span>
134
134
  <span class="ruby-keyword kw">end</span>
135
135
  </pre>
136
136
  </div>
@@ -139,21 +139,21 @@
139
139
 
140
140
  <h3 class="section-bar">Public Instance methods</h3>
141
141
 
142
- <div id="method-M000030" class="method-detail">
143
- <a name="M000030"></a>
142
+ <div id="method-M000033" class="method-detail">
143
+ <a name="M000033"></a>
144
144
 
145
145
  <div class="method-heading">
146
- <a href="#M000030" class="method-signature">
146
+ <a href="#M000033" class="method-signature">
147
147
  <span class="method-name">method_missing</span><span class="method-args">(m, *args)</span>
148
148
  </a>
149
149
  </div>
150
150
 
151
151
  <div class="method-description">
152
152
  <p><a class="source-toggle" href="#"
153
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
154
- <div class="method-source-code" id="M000030-source">
153
+ onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
154
+ <div class="method-source-code" id="M000033-source">
155
155
  <pre>
156
- <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 129</span>
156
+ <span class="ruby-comment cmt"># File lib/xbrlware/taxonomy.rb, line 132</span>
157
157
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">m</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
158
158
  <span class="ruby-keyword kw">nil</span>
159
159
  <span class="ruby-keyword kw">end</span>
@@ -94,7 +94,7 @@ instance page on xbrlware wiki</a> for more details.
94
94
  <h3 class="section-bar">Methods</h3>
95
95
 
96
96
  <div class="name-list">
97
- <a href="#M000052">new</a>&nbsp;&nbsp;
97
+ <a href="#M000064">new</a>&nbsp;&nbsp;
98
98
  </div>
99
99
  </div>
100
100
 
@@ -140,19 +140,19 @@ instance page on xbrlware wiki</a> for more details.
140
140
  <div id="methods">
141
141
  <h3 class="section-bar">Public Class methods</h3>
142
142
 
143
- <div id="method-M000052" class="method-detail">
144
- <a name="M000052"></a>
143
+ <div id="method-M000064" class="method-detail">
144
+ <a name="M000064"></a>
145
145
 
146
146
  <div class="method-heading">
147
- <a href="#M000052" class="method-signature">
147
+ <a href="#M000064" class="method-signature">
148
148
  <span class="method-name">new</span><span class="method-args">(id, measure)</span>
149
149
  </a>
150
150
  </div>
151
151
 
152
152
  <div class="method-description">
153
153
  <p><a class="source-toggle" href="#"
154
- onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
155
- <div class="method-source-code" id="M000052-source">
154
+ onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
155
+ <div class="method-source-code" id="M000064-source">
156
156
  <pre>
157
157
  <span class="ruby-comment cmt"># File lib/xbrlware/unit.rb, line 27</span>
158
158
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id</span>, <span class="ruby-identifier">measure</span>)
@@ -86,7 +86,7 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000053">new</a>&nbsp;&nbsp;
89
+ <a href="#M000065">new</a>&nbsp;&nbsp;
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-M000053" class="method-detail">
130
- <a name="M000053"></a>
129
+ <div id="method-M000065" class="method-detail">
130
+ <a name="M000065"></a>
131
131
 
132
132
  <div class="method-heading">
133
- <a href="#M000053" class="method-signature">
133
+ <a href="#M000065" class="method-signature">
134
134
  <span class="method-name">new</span><span class="method-args">(numerator, denominator)</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('M000053-source');return false;">[Source]</a></p>
141
- <div class="method-source-code" id="M000053-source">
140
+ onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
141
+ <div class="method-source-code" id="M000065-source">
142
142
  <pre>
143
143
  <span class="ruby-comment cmt"># File lib/xbrlware/unit.rb, line 36</span>
144
144
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">numerator</span>, <span class="ruby-identifier">denominator</span>)
data/doc/created.rid CHANGED
@@ -1 +1 @@
1
- Thu, 28 Jan 2010 19:57:46 +0530
1
+ Tue, 23 Feb 2010 11:38:26 +0530
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Mon Nov 23 17:07:57 +0530 2009</td>
59
+ <td>Tue Feb 23 11:28:49 +0530 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -88,6 +88,14 @@ distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
88
88
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89
89
  See the License for the specific language governing permissions and
90
90
  limitations under the License.
91
+ </p>
92
+ <p>
93
+ Get started Guide
94
+ </p>
95
+ <h6>============</h6>
96
+ <p>
97
+ <a
98
+ href="http://code.google.com/p/xbrlware/wiki/GetStarted">code.google.com/p/xbrlware/wiki/GetStarted</a>
91
99
  </p>
92
100
 
93
101
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Jan 07 15:01:42 +0530 2010</td>
59
+ <td>Mon Feb 22 18:31:22 +0530 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Tue Dec 15 09:59:13 +0530 2009</td>
59
+ <td>Mon Feb 22 18:40:07 +0530 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Jan 28 19:39:54 +0530 2010</td>
59
+ <td>Mon Feb 22 18:09:09 +0530 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Dec 11 20:17:31 +0530 2009</td>
59
+ <td>Thu Jan 28 15:15:52 +0530 2010</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>