ruby-vpi 12.0.2 → 12.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. data/README +1 -0
  2. data/Rakefile +3 -1
  3. data/doc/history.html +246 -185
  4. data/doc/history.yml +27 -0
  5. data/doc/manual.doc +65 -3
  6. data/doc/manual.html +127 -11
  7. data/doc/readme.html +1 -1
  8. data/doc/rss.xml +7 -0
  9. data/index.html +1 -0
  10. data/lib/ruby-vpi.rb +36 -11
  11. data/lib/ruby-vpi/rcov.rb +2 -2
  12. data/lib/ruby-vpi/rdoc.rb +1 -1
  13. data/ref/c/annotated.html +1 -1
  14. data/ref/c/common_8h.html +1 -1
  15. data/ref/c/files.html +1 -1
  16. data/ref/c/functions.html +1 -1
  17. data/ref/c/functions_vars.html +1 -1
  18. data/ref/c/globals.html +1 -1
  19. data/ref/c/globals_0x62.html +1 -1
  20. data/ref/c/globals_0x63.html +1 -1
  21. data/ref/c/globals_0x65.html +1 -1
  22. data/ref/c/globals_0x66.html +1 -1
  23. data/ref/c/globals_0x67.html +1 -1
  24. data/ref/c/globals_0x69.html +1 -1
  25. data/ref/c/globals_0x6c.html +1 -1
  26. data/ref/c/globals_0x6d.html +1 -1
  27. data/ref/c/globals_0x6e.html +1 -1
  28. data/ref/c/globals_0x70.html +1 -1
  29. data/ref/c/globals_0x72.html +1 -1
  30. data/ref/c/globals_0x73.html +1 -1
  31. data/ref/c/globals_0x74.html +1 -1
  32. data/ref/c/globals_0x75.html +1 -1
  33. data/ref/c/globals_0x76.html +1 -1
  34. data/ref/c/globals_0x78.html +1 -1
  35. data/ref/c/globals_defs.html +1 -1
  36. data/ref/c/globals_defs_0x65.html +1 -1
  37. data/ref/c/globals_defs_0x6c.html +1 -1
  38. data/ref/c/globals_defs_0x6e.html +1 -1
  39. data/ref/c/globals_defs_0x70.html +1 -1
  40. data/ref/c/globals_defs_0x72.html +1 -1
  41. data/ref/c/globals_defs_0x73.html +1 -1
  42. data/ref/c/globals_defs_0x75.html +1 -1
  43. data/ref/c/globals_defs_0x76.html +1 -1
  44. data/ref/c/globals_defs_0x78.html +1 -1
  45. data/ref/c/globals_enum.html +1 -1
  46. data/ref/c/globals_eval.html +1 -1
  47. data/ref/c/globals_func.html +1 -1
  48. data/ref/c/globals_func_0x66.html +1 -1
  49. data/ref/c/globals_func_0x67.html +1 -1
  50. data/ref/c/globals_func_0x69.html +1 -1
  51. data/ref/c/globals_func_0x70.html +1 -1
  52. data/ref/c/globals_func_0x72.html +1 -1
  53. data/ref/c/globals_func_0x73.html +1 -1
  54. data/ref/c/globals_func_0x76.html +1 -1
  55. data/ref/c/globals_type.html +1 -1
  56. data/ref/c/globals_vars.html +1 -1
  57. data/ref/c/index.html +1 -1
  58. data/ref/c/relay_8c.html +1 -1
  59. data/ref/c/relay_8h.html +1 -1
  60. data/ref/c/structrelay____RubyOptions____def.html +1 -1
  61. data/ref/c/structswig__cast__info.html +1 -1
  62. data/ref/c/structswig__class.html +1 -1
  63. data/ref/c/structswig__module__info.html +1 -1
  64. data/ref/c/structswig__type__info.html +1 -1
  65. data/ref/c/structt__cb__data.html +1 -1
  66. data/ref/c/structt__vpi__delay.html +1 -1
  67. data/ref/c/structt__vpi__error__info.html +1 -1
  68. data/ref/c/structt__vpi__strengthval.html +1 -1
  69. data/ref/c/structt__vpi__systf__data.html +1 -1
  70. data/ref/c/structt__vpi__time.html +1 -1
  71. data/ref/c/structt__vpi__value.html +1 -1
  72. data/ref/c/structt__vpi__vecval.html +1 -1
  73. data/ref/c/structt__vpi__vlog__info.html +1 -1
  74. data/ref/c/swig_8c.html +1 -1
  75. data/ref/c/swig_8h.html +1 -1
  76. data/ref/c/swig__vpi_8h.html +1 -1
  77. data/ref/c/swig__wrap_8cin.html +1 -1
  78. data/ref/c/unions__vpi__value__value.html +1 -1
  79. data/ref/c/verilog_8h.html +1 -1
  80. data/ref/c/vlog_8c.html +1 -1
  81. data/ref/c/vlog_8h.html +1 -1
  82. data/ref/c/vpi__user_8h.html +1 -1
  83. data/ref/ruby/classes/ERB.html +5 -5
  84. data/ref/ruby/classes/ERB.src/{M000036.html → M000032.html} +0 -0
  85. data/ref/ruby/classes/FileUtils.html +10 -10
  86. data/ref/ruby/classes/FileUtils.src/{M000083.html → M000034.html} +0 -0
  87. data/ref/ruby/classes/FileUtils.src/{M000084.html → M000035.html} +0 -0
  88. data/ref/ruby/classes/Float.html +5 -5
  89. data/ref/ruby/classes/Float.src/{M000031.html → M000027.html} +0 -0
  90. data/ref/ruby/classes/OutputInfo.html +5 -5
  91. data/ref/ruby/classes/OutputInfo.src/{M000030.html → M000026.html} +0 -0
  92. data/ref/ruby/classes/RDoc.html +5 -5
  93. data/ref/ruby/classes/RDoc.src/{M000099.html → M000050.html} +0 -0
  94. data/ref/ruby/classes/RubyVpi.html +10 -10
  95. data/ref/ruby/classes/RubyVpi.src/M000036.html +107 -0
  96. data/ref/ruby/classes/RubyVpi.src/{M000086.html → M000037.html} +0 -0
  97. data/ref/ruby/classes/String.html +15 -15
  98. data/ref/ruby/classes/String.src/{M000033.html → M000029.html} +0 -0
  99. data/ref/ruby/classes/String.src/{M000034.html → M000030.html} +0 -0
  100. data/ref/ruby/classes/String.src/{M000035.html → M000031.html} +0 -0
  101. data/ref/ruby/classes/Template.html +5 -5
  102. data/ref/ruby/classes/Template.src/{M000032.html → M000028.html} +0 -0
  103. data/ref/ruby/classes/Vpi/Handle.html +56 -56
  104. data/ref/ruby/classes/Vpi/Handle.src/{M000087.html → M000038.html} +0 -0
  105. data/ref/ruby/classes/Vpi/Handle.src/{M000088.html → M000039.html} +0 -0
  106. data/ref/ruby/classes/Vpi/Handle.src/{M000089.html → M000040.html} +0 -0
  107. data/ref/ruby/classes/Vpi/Handle.src/{M000090.html → M000041.html} +0 -0
  108. data/ref/ruby/classes/Vpi/Handle.src/{M000091.html → M000042.html} +0 -0
  109. data/ref/ruby/classes/Vpi/Handle.src/{M000092.html → M000043.html} +0 -0
  110. data/ref/ruby/classes/Vpi/Handle.src/{M000093.html → M000044.html} +0 -0
  111. data/ref/ruby/classes/Vpi/Handle.src/{M000094.html → M000045.html} +0 -0
  112. data/ref/ruby/classes/Vpi/Handle.src/{M000095.html → M000046.html} +0 -0
  113. data/ref/ruby/classes/Vpi/Handle.src/{M000097.html → M000048.html} +0 -0
  114. data/ref/ruby/classes/Vpi/Handle/Property.html +5 -5
  115. data/ref/ruby/classes/Vpi/Handle/Property.src/{M000098.html → M000049.html} +0 -0
  116. data/ref/ruby/classes/XX.html +1 -28
  117. data/ref/ruby/classes/XX/XMLish.html +6 -6
  118. data/ref/ruby/classes/XX/XMLish.src/{M000044.html → M000033.html} +0 -0
  119. data/ref/ruby/created.rid +1 -1
  120. data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +2 -2
  121. data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
  122. data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
  123. data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
  124. data/ref/ruby/files/lib/ruby-vpi/vpi_rb.html +1 -1
  125. data/ref/ruby/files/lib/ruby-vpi_rb.html +4 -3
  126. data/ref/ruby/fr_class_index.html +0 -13
  127. data/ref/ruby/fr_file_index.html +0 -2
  128. data/ref/ruby/fr_method_index.html +27 -76
  129. data/samp/pipelined_alu/hw5_unit_test_design.rb +0 -10
  130. metadata +50 -112
  131. data/lib/ruby-vpi/rspec.rb +0 -37
  132. data/lib/ruby-vpi/xx.rb +0 -761
  133. data/ref/ruby/classes/RubyVpi.src/M000085.html +0 -82
  134. data/ref/ruby/classes/Table.html +0 -191
  135. data/ref/ruby/classes/Table.src/M000026.html +0 -38
  136. data/ref/ruby/classes/Table.src/M000027.html +0 -18
  137. data/ref/ruby/classes/Table.src/M000028.html +0 -18
  138. data/ref/ruby/classes/Table.src/M000029.html +0 -18
  139. data/ref/ruby/classes/XX/Document.html +0 -295
  140. data/ref/ruby/classes/XX/Document.src/M000074.html +0 -22
  141. data/ref/ruby/classes/XX/Document.src/M000075.html +0 -20
  142. data/ref/ruby/classes/XX/Document.src/M000076.html +0 -20
  143. data/ref/ruby/classes/XX/Document.src/M000077.html +0 -20
  144. data/ref/ruby/classes/XX/Document.src/M000078.html +0 -22
  145. data/ref/ruby/classes/XX/Document.src/M000079.html +0 -21
  146. data/ref/ruby/classes/XX/Document.src/M000080.html +0 -21
  147. data/ref/ruby/classes/XX/Document.src/M000081.html +0 -34
  148. data/ref/ruby/classes/XX/Document.src/M000082.html +0 -98
  149. data/ref/ruby/classes/XX/HTML4.html +0 -145
  150. data/ref/ruby/classes/XX/HTML4.src/M000038.html +0 -20
  151. data/ref/ruby/classes/XX/HTML4/Strict.html +0 -138
  152. data/ref/ruby/classes/XX/HTML4/Strict.src/M000040.html +0 -20
  153. data/ref/ruby/classes/XX/HTML4/Transitional.html +0 -138
  154. data/ref/ruby/classes/XX/HTML4/Transitional.src/M000039.html +0 -20
  155. data/ref/ruby/classes/XX/Markup.html +0 -160
  156. data/ref/ruby/classes/XX/Markup.src/M000045.html +0 -28
  157. data/ref/ruby/classes/XX/Markup/ClassMethods.html +0 -236
  158. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000046.html +0 -22
  159. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000047.html +0 -20
  160. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000048.html +0 -25
  161. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000049.html +0 -20
  162. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000050.html +0 -27
  163. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000051.html +0 -20
  164. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000052.html +0 -27
  165. data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000053.html +0 -22
  166. data/ref/ruby/classes/XX/Markup/Error.html +0 -111
  167. data/ref/ruby/classes/XX/Markup/InstanceMethods.html +0 -474
  168. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +0 -56
  169. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +0 -33
  170. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000056.html +0 -31
  171. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000057.html +0 -48
  172. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000058.html +0 -20
  173. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000059.html +0 -31
  174. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000060.html +0 -32
  175. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000061.html +0 -32
  176. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000062.html +0 -28
  177. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000063.html +0 -23
  178. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000064.html +0 -26
  179. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000065.html +0 -20
  180. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000066.html +0 -20
  181. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000067.html +0 -20
  182. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000068.html +0 -20
  183. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000069.html +0 -20
  184. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000070.html +0 -21
  185. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000071.html +0 -20
  186. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000072.html +0 -20
  187. data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000073.html +0 -20
  188. data/ref/ruby/classes/XX/XHTML.html +0 -145
  189. data/ref/ruby/classes/XX/XHTML.src/M000041.html +0 -36
  190. data/ref/ruby/classes/XX/XHTML/Strict.html +0 -138
  191. data/ref/ruby/classes/XX/XHTML/Strict.src/M000043.html +0 -20
  192. data/ref/ruby/classes/XX/XHTML/Transitional.html +0 -138
  193. data/ref/ruby/classes/XX/XHTML/Transitional.src/M000042.html +0 -20
  194. data/ref/ruby/classes/XX/XML.html +0 -138
  195. data/ref/ruby/classes/XX/XML.src/M000037.html +0 -20
  196. data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +0 -115
  197. data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +0 -148
@@ -1,82 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>init_bench (RubyVpi)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi.rb, line 29</span>
14
- 29: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RubyVpi</span>.<span class="ruby-identifier">init_bench</span> <span class="ruby-identifier">aDesignId</span>, <span class="ruby-identifier">aSpecFormat</span>
15
- 30: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">caller</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^(.*?)_bench.rb:/</span>}
16
- 31: <span class="ruby-identifier">testName</span> = <span class="ruby-identifier">$1</span>
17
- 32: <span class="ruby-keyword kw">else</span>
18
- 33: <span class="ruby-identifier">raise</span> <span class="ruby-value str">'Unable to determine name of test.'</span>
19
- 34: <span class="ruby-keyword kw">end</span>
20
- 35:
21
- 36: <span class="ruby-comment cmt"># set up the VPI utility layer</span>
22
- 37: <span class="ruby-identifier">require</span> <span class="ruby-value str">'ruby-vpi/vpi'</span>
23
- 38:
24
- 39: <span class="ruby-constant">Object</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-keyword kw">do</span>
25
- 40: <span class="ruby-identifier">include</span> <span class="ruby-constant">Vpi</span>
26
- 41: <span class="ruby-keyword kw">end</span>
27
- 42:
28
- 43: <span class="ruby-comment cmt"># service the $ruby_init() task</span>
29
- 44: <span class="ruby-identifier">relay_verilog</span>
30
- 45:
31
- 46: <span class="ruby-comment cmt"># set up code coverage analysis</span>
32
- 47: <span class="ruby-keyword kw">unless</span> (<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'COVERAGE'</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>).<span class="ruby-identifier">empty?</span>
33
- 48: <span class="ruby-identifier">require</span> <span class="ruby-value str">'ruby-vpi/rcov'</span>
34
- 49:
35
- 50: <span class="ruby-constant">RubyVpi</span>.<span class="ruby-identifier">with_coverage_analysis</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
36
- 51: <span class="ruby-identifier">a</span>.<span class="ruby-identifier">dump_coverage_info</span> [
37
- 52: <span class="ruby-constant">Rcov</span><span class="ruby-operator">::</span><span class="ruby-constant">TextReport</span>.<span class="ruby-identifier">new</span>,
38
- 53: <span class="ruby-constant">Rcov</span><span class="ruby-operator">::</span><span class="ruby-constant">HTMLCoverage</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:destdir</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{testName}_coverage&quot;</span>)
39
- 54: ]
40
- 55: <span class="ruby-keyword kw">end</span>
41
- 56: <span class="ruby-keyword kw">end</span>
42
- 57:
43
- 58: <span class="ruby-comment cmt"># set up the specification library</span>
44
- 59: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">aSpecFormat</span>
45
- 60: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:xUnit</span>
46
- 61: <span class="ruby-identifier">require</span> <span class="ruby-value str">'test/unit'</span>
47
- 62:
48
- 63: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:rSpec</span>
49
- 64: <span class="ruby-constant">ARGV</span>.<span class="ruby-identifier">concat</span> <span class="ruby-node">%w[-f s]</span>
50
- 65: <span class="ruby-identifier">require</span> <span class="ruby-value str">'ruby-vpi/rspec'</span>
51
- 66:
52
- 67: <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:tSpec</span>
53
- 68: <span class="ruby-constant">ARGV</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-rs'</span>
54
- 69: <span class="ruby-identifier">require</span> <span class="ruby-value str">'test/spec'</span>
55
- 70: <span class="ruby-keyword kw">end</span>
56
- 71:
57
- 72: <span class="ruby-comment cmt"># load the design under test</span>
58
- 73: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">design</span> = <span class="ruby-identifier">vpi_handle_by_name</span>(<span class="ruby-node">&quot;#{testName}_bench&quot;</span>, <span class="ruby-keyword kw">nil</span>)
59
- 74: <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Verilog bench for test #{testName.inspect} is inaccessible.&quot;</span>
60
- 75: <span class="ruby-keyword kw">end</span>
61
- 76:
62
- 77: <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">const_set</span>(<span class="ruby-identifier">aDesignId</span>, <span class="ruby-identifier">design</span>)
63
- 78: <span class="ruby-identifier">require</span> <span class="ruby-node">&quot;#{testName}_design.rb&quot;</span>
64
- 79:
65
- 80: <span class="ruby-comment cmt"># load the design's prototype</span>
66
- 81: <span class="ruby-keyword kw">unless</span> (<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'PROTOTYPE'</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>).<span class="ruby-identifier">empty?</span>
67
- 82: <span class="ruby-identifier">require</span> <span class="ruby-node">&quot;#{testName}_proto.rb&quot;</span>
68
- 83:
69
- 84: <span class="ruby-constant">Vpi</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-keyword kw">do</span>
70
- 85: <span class="ruby-identifier">define_method</span> <span class="ruby-identifier">:relay_verilog</span> <span class="ruby-keyword kw">do</span>
71
- 86: <span class="ruby-identifier">design</span>.<span class="ruby-identifier">simulate!</span>
72
- 87: <span class="ruby-keyword kw">end</span>
73
- 88: <span class="ruby-keyword kw">end</span>
74
- 89:
75
- 90: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{Config::PROJECT_NAME}: prototype has been enabled for test #{testName.inspect}&quot;</span>
76
- 91: <span class="ruby-keyword kw">end</span>
77
- 92:
78
- 93: <span class="ruby-comment cmt"># load the design's specification</span>
79
- 94: <span class="ruby-identifier">require</span> <span class="ruby-node">&quot;#{testName}_spec.rb&quot;</span>
80
- 95: <span class="ruby-keyword kw">end</span></pre>
81
- </body>
82
- </html>
@@ -1,191 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Table</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Table</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/ruby-vpi/xx_rb.html">
59
- lib/ruby-vpi/xx.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- ::Array
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000026">doc</a>&nbsp;&nbsp;
90
- <a href="#M000028">to_html4</a>&nbsp;&nbsp;
91
- <a href="#M000027">to_xhtml</a>&nbsp;&nbsp;
92
- <a href="#M000029">to_xml</a>&nbsp;&nbsp;
93
- </div>
94
- </div>
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
- <div id="includes">
101
- <h3 class="section-bar">Included Modules</h3>
102
-
103
- <div id="includes-list">
104
- <span class="include-name"><a href="XX/XHTML/Strict.html">XX::XHTML::Strict</a></span>
105
- <span class="include-name"><a href="XX/HTML4/Strict.html">XX::HTML4::Strict</a></span>
106
- <span class="include-name"><a href="XX/XML.html">XX::XML</a></span>
107
- </div>
108
- </div>
109
-
110
- <div id="section">
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- <!-- if method_list -->
120
- <div id="methods">
121
- <h3 class="section-bar">Public Instance methods</h3>
122
-
123
- <div id="method-M000026" class="method-detail">
124
- <a name="M000026"></a>
125
-
126
- <div class="method-heading">
127
- <a href="Table.src/M000026.html" target="Code" class="method-signature"
128
- onclick="popupCode('Table.src/M000026.html');return false;">
129
- <span class="method-name">doc</span><span class="method-args">()</span>
130
- </a>
131
- </div>
132
-
133
- <div class="method-description">
134
- </div>
135
- </div>
136
-
137
- <div id="method-M000028" class="method-detail">
138
- <a name="M000028"></a>
139
-
140
- <div class="method-heading">
141
- <a href="Table.src/M000028.html" target="Code" class="method-signature"
142
- onclick="popupCode('Table.src/M000028.html');return false;">
143
- <span class="method-name">to_html4</span><span class="method-args">()</span>
144
- </a>
145
- </div>
146
-
147
- <div class="method-description">
148
- </div>
149
- </div>
150
-
151
- <div id="method-M000027" class="method-detail">
152
- <a name="M000027"></a>
153
-
154
- <div class="method-heading">
155
- <a href="Table.src/M000027.html" target="Code" class="method-signature"
156
- onclick="popupCode('Table.src/M000027.html');return false;">
157
- <span class="method-name">to_xhtml</span><span class="method-args">()</span>
158
- </a>
159
- </div>
160
-
161
- <div class="method-description">
162
- </div>
163
- </div>
164
-
165
- <div id="method-M000029" class="method-detail">
166
- <a name="M000029"></a>
167
-
168
- <div class="method-heading">
169
- <a href="Table.src/M000029.html" target="Code" class="method-signature"
170
- onclick="popupCode('Table.src/M000029.html');return false;">
171
- <span class="method-name">to_xml</span><span class="method-args">()</span>
172
- </a>
173
- </div>
174
-
175
- <div class="method-description">
176
- </div>
177
- </div>
178
-
179
-
180
- </div>
181
-
182
-
183
- </div>
184
-
185
-
186
- <div id="validator-badges">
187
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
188
- </div>
189
-
190
- </body>
191
- </html>
@@ -1,38 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>doc (Table)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 718</span>
14
- 718: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">doc</span>
15
- 719: <span class="ruby-identifier">html_</span>{
16
- 720: <span class="ruby-identifier">head_</span>{ <span class="ruby-identifier">title_</span>{ <span class="ruby-value str">&quot;xhtml/html4/xml demo&quot;</span> } }
17
- 721:
18
- 722: <span class="ruby-identifier">div_</span>{
19
- 723: <span class="ruby-identifier">h_</span>{ <span class="ruby-value str">&quot;&lt; malformed html &amp; un-escaped symbols&quot;</span> }
20
- 724: }
21
- 725:
22
- 726: <span class="ruby-identifier">t_</span>{ <span class="ruby-value str">&quot;escaped &amp; text &gt; &lt;&quot;</span> }
23
- 727:
24
- 728: <span class="ruby-identifier">x_</span>{ <span class="ruby-value str">&quot;&lt;any_valid&gt; xml &lt;/any_valid&gt;&quot;</span> }
25
- 729:
26
- 730: <span class="ruby-identifier">div_</span>(<span class="ruby-identifier">:style</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:sweet</span>){
27
- 731: <span class="ruby-identifier">em_</span> <span class="ruby-value str">&quot;this is a table&quot;</span>
28
- 732:
29
- 733: <span class="ruby-identifier">table_</span>(<span class="ruby-identifier">:width</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">42</span>, <span class="ruby-identifier">:height</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">42</span>){
30
- 734: <span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">row</span><span class="ruby-operator">|</span> <span class="ruby-identifier">tr_</span>{ <span class="ruby-identifier">row</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">cell</span><span class="ruby-operator">|</span> <span class="ruby-identifier">td_</span> <span class="ruby-identifier">cell</span> } } }
31
- 735: }
32
- 736: }
33
- 737:
34
- 738: <span class="ruby-identifier">script_</span>(<span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:dangerous</span>){ <span class="ruby-identifier">cdata_</span>{ <span class="ruby-value str">&quot;javascript&quot;</span> } }
35
- 739: }
36
- 740: <span class="ruby-keyword kw">end</span></pre>
37
- </body>
38
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>to_xhtml (Table)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 741</span>
14
- 741: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_xhtml</span>
15
- 742: <span class="ruby-identifier">xhtml_</span>{ <span class="ruby-identifier">doc</span> }
16
- 743: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>to_html4 (Table)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 744</span>
14
- 744: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_html4</span>
15
- 745: <span class="ruby-identifier">html4_</span>{ <span class="ruby-identifier">doc</span> }
16
- 746: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>to_xml (Table)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 747</span>
14
- 747: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_xml</span>
15
- 748: <span class="ruby-identifier">xml_</span>{ <span class="ruby-identifier">doc</span> }
16
- 749: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,295 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: XX::Document</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">XX::Document</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/ruby-vpi/xx_rb.html">
59
- lib/ruby-vpi/xx.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000082">&lt;&lt;</a>&nbsp;&nbsp;
90
- <a href="#M000081">create</a>&nbsp;&nbsp;
91
- <a href="#M000074">new</a>&nbsp;&nbsp;
92
- <a href="#M000077">pop</a>&nbsp;&nbsp;
93
- <a href="#M000080">pretty</a>&nbsp;&nbsp;
94
- <a href="#M000076">push</a>&nbsp;&nbsp;
95
- <a href="#M000079">to_str</a>&nbsp;&nbsp;
96
- <a href="#M000075">top</a>&nbsp;&nbsp;
97
- <a href="#M000078">tracking_additions</a>&nbsp;&nbsp;
98
- </div>
99
- </div>
100
-
101
- </div>
102
-
103
-
104
- <!-- if includes -->
105
-
106
- <div id="section">
107
-
108
-
109
-
110
- <div id="aliases-list">
111
- <h3 class="section-bar">External Aliases</h3>
112
-
113
- <div class="name-list">
114
- <table summary="aliases">
115
- <tr class="top-aligned-row context-row">
116
- <td class="context-item-name">"to_str"</td>
117
- <td>-></td>
118
- <td class="context-item-value">"to_s"</td>
119
- </tr>
120
- </table>
121
- </div>
122
- </div>
123
-
124
-
125
- <div id="attribute-list">
126
- <h3 class="section-bar">Attributes</h3>
127
-
128
- <div class="name-list">
129
- <table>
130
- <tr class="top-aligned-row context-row">
131
- <td class="context-item-name">doc</td>
132
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
133
- <td class="context-item-desc"></td>
134
- </tr>
135
- <tr class="top-aligned-row context-row">
136
- <td class="context-item-name">size</td>
137
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
138
- <td class="context-item-desc"></td>
139
- </tr>
140
- <tr class="top-aligned-row context-row">
141
- <td class="context-item-name">stack</td>
142
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
143
- <td class="context-item-desc"></td>
144
- </tr>
145
- </table>
146
- </div>
147
- </div>
148
-
149
-
150
-
151
- <!-- if method_list -->
152
- <div id="methods">
153
- <h3 class="section-bar">Public Class methods</h3>
154
-
155
- <div id="method-M000074" class="method-detail">
156
- <a name="M000074"></a>
157
-
158
- <div class="method-heading">
159
- <a href="Document.src/M000074.html" target="Code" class="method-signature"
160
- onclick="popupCode('Document.src/M000074.html');return false;">
161
- <span class="method-name">new</span><span class="method-args">(*a, &amp;b)</span>
162
- </a>
163
- </div>
164
-
165
- <div class="method-description">
166
- </div>
167
- </div>
168
-
169
- <h3 class="section-bar">Public Instance methods</h3>
170
-
171
- <div id="method-M000082" class="method-detail">
172
- <a name="M000082"></a>
173
-
174
- <div class="method-heading">
175
- <a href="Document.src/M000082.html" target="Code" class="method-signature"
176
- onclick="popupCode('Document.src/M000082.html');return false;">
177
- <span class="method-name">&lt;&lt;</span><span class="method-args">(object)</span>
178
- </a>
179
- </div>
180
-
181
- <div class="method-description">
182
- </div>
183
- </div>
184
-
185
- <div id="method-M000081" class="method-detail">
186
- <a name="M000081"></a>
187
-
188
- <div class="method-heading">
189
- <a href="Document.src/M000081.html" target="Code" class="method-signature"
190
- onclick="popupCode('Document.src/M000081.html');return false;">
191
- <span class="method-name">create</span><span class="method-args">(element) {|element if block_given?| ...}</span>
192
- </a>
193
- </div>
194
-
195
- <div class="method-description">
196
- </div>
197
- </div>
198
-
199
- <div id="method-M000077" class="method-detail">
200
- <a name="M000077"></a>
201
-
202
- <div class="method-heading">
203
- <a href="Document.src/M000077.html" target="Code" class="method-signature"
204
- onclick="popupCode('Document.src/M000077.html');return false;">
205
- <span class="method-name">pop</span><span class="method-args">()</span>
206
- </a>
207
- </div>
208
-
209
- <div class="method-description">
210
- </div>
211
- </div>
212
-
213
- <div id="method-M000080" class="method-detail">
214
- <a name="M000080"></a>
215
-
216
- <div class="method-heading">
217
- <a href="Document.src/M000080.html" target="Code" class="method-signature"
218
- onclick="popupCode('Document.src/M000080.html');return false;">
219
- <span class="method-name">pretty</span><span class="method-args">(port = '')</span>
220
- </a>
221
- </div>
222
-
223
- <div class="method-description">
224
- </div>
225
- </div>
226
-
227
- <div id="method-M000076" class="method-detail">
228
- <a name="M000076"></a>
229
-
230
- <div class="method-heading">
231
- <a href="Document.src/M000076.html" target="Code" class="method-signature"
232
- onclick="popupCode('Document.src/M000076.html');return false;">
233
- <span class="method-name">push</span><span class="method-args">(element)</span>
234
- </a>
235
- </div>
236
-
237
- <div class="method-description">
238
- </div>
239
- </div>
240
-
241
- <div id="method-M000079" class="method-detail">
242
- <a name="M000079"></a>
243
-
244
- <div class="method-heading">
245
- <a href="Document.src/M000079.html" target="Code" class="method-signature"
246
- onclick="popupCode('Document.src/M000079.html');return false;">
247
- <span class="method-name">to_str</span><span class="method-args">(port = &quot;&quot;)</span>
248
- </a>
249
- </div>
250
-
251
- <div class="method-description">
252
- </div>
253
- </div>
254
-
255
- <div id="method-M000075" class="method-detail">
256
- <a name="M000075"></a>
257
-
258
- <div class="method-heading">
259
- <a href="Document.src/M000075.html" target="Code" class="method-signature"
260
- onclick="popupCode('Document.src/M000075.html');return false;">
261
- <span class="method-name">top</span><span class="method-args">()</span>
262
- </a>
263
- </div>
264
-
265
- <div class="method-description">
266
- </div>
267
- </div>
268
-
269
- <div id="method-M000078" class="method-detail">
270
- <a name="M000078"></a>
271
-
272
- <div class="method-heading">
273
- <a href="Document.src/M000078.html" target="Code" class="method-signature"
274
- onclick="popupCode('Document.src/M000078.html');return false;">
275
- <span class="method-name">tracking_additions</span><span class="method-args">() {|| ...}</span>
276
- </a>
277
- </div>
278
-
279
- <div class="method-description">
280
- </div>
281
- </div>
282
-
283
-
284
- </div>
285
-
286
-
287
- </div>
288
-
289
-
290
- <div id="validator-badges">
291
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
292
- </div>
293
-
294
- </body>
295
- </html>