trimurti 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/trimurti-0.1/docs/classes/Array.html +176 -0
  2. data/trimurti-0.1/docs/classes/Array.src/M000005.html +19 -0
  3. data/trimurti-0.1/docs/classes/Array.src/M000006.html +19 -0
  4. data/trimurti-0.1/docs/classes/Asserter.html +136 -0
  5. data/trimurti-0.1/docs/classes/Brahma.html +360 -0
  6. data/trimurti-0.1/docs/classes/Brahma.src/M000029.html +21 -0
  7. data/trimurti-0.1/docs/classes/Brahma.src/M000030.html +20 -0
  8. data/trimurti-0.1/docs/classes/Brahma.src/M000031.html +36 -0
  9. data/trimurti-0.1/docs/classes/Brahma.src/M000032.html +18 -0
  10. data/trimurti-0.1/docs/classes/Brahma.src/M000033.html +20 -0
  11. data/trimurti-0.1/docs/classes/Brahma.src/M000034.html +21 -0
  12. data/trimurti-0.1/docs/classes/Brahma.src/M000035.html +25 -0
  13. data/trimurti-0.1/docs/classes/Brahma.src/M000036.html +22 -0
  14. data/trimurti-0.1/docs/classes/Brahma.src/M000037.html +22 -0
  15. data/trimurti-0.1/docs/classes/ComponentSpec.html +275 -0
  16. data/trimurti-0.1/docs/classes/ComponentSpec.src/M000001.html +21 -0
  17. data/trimurti-0.1/docs/classes/ComponentSpec.src/M000002.html +18 -0
  18. data/trimurti-0.1/docs/classes/DRb.html +165 -0
  19. data/trimurti-0.1/docs/classes/DRb.src/M000062.html +18 -0
  20. data/trimurti-0.1/docs/classes/DRb.src/M000063.html +18 -0
  21. data/trimurti-0.1/docs/classes/GUID.html +129 -0
  22. data/trimurti-0.1/docs/classes/Linda.html +444 -0
  23. data/trimurti-0.1/docs/classes/Linda.src/M000007.html +16 -0
  24. data/trimurti-0.1/docs/classes/Linda.src/M000008.html +16 -0
  25. data/trimurti-0.1/docs/classes/Linda.src/M000009.html +20 -0
  26. data/trimurti-0.1/docs/classes/Linda.src/M000010.html +16 -0
  27. data/trimurti-0.1/docs/classes/Linda.src/M000011.html +18 -0
  28. data/trimurti-0.1/docs/classes/Linda.src/M000012.html +21 -0
  29. data/trimurti-0.1/docs/classes/Linda.src/M000013.html +18 -0
  30. data/trimurti-0.1/docs/classes/Linda.src/M000014.html +18 -0
  31. data/trimurti-0.1/docs/classes/Linda.src/M000015.html +18 -0
  32. data/trimurti-0.1/docs/classes/Linda.src/M000016.html +18 -0
  33. data/trimurti-0.1/docs/classes/Linda.src/M000017.html +20 -0
  34. data/trimurti-0.1/docs/classes/Linda.src/M000018.html +20 -0
  35. data/trimurti-0.1/docs/classes/Object.html +153 -0
  36. data/trimurti-0.1/docs/classes/Object.src/M000021.html +18 -0
  37. data/trimurti-0.1/docs/classes/Plugins.html +174 -0
  38. data/trimurti-0.1/docs/classes/Plugins.src/M000024.html +32 -0
  39. data/trimurti-0.1/docs/classes/Plugins.src/M000025.html +32 -0
  40. data/trimurti-0.1/docs/classes/Plugins/Spec.html +267 -0
  41. data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000026.html +22 -0
  42. data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000027.html +18 -0
  43. data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000028.html +20 -0
  44. data/trimurti-0.1/docs/classes/QBE_ID.html +147 -0
  45. data/trimurti-0.1/docs/classes/QBE_ID.src/M000059.html +18 -0
  46. data/trimurti-0.1/docs/classes/QueryByExample.html +270 -0
  47. data/trimurti-0.1/docs/classes/QueryByExample.src/M000054.html +17 -0
  48. data/trimurti-0.1/docs/classes/QueryByExample.src/M000055.html +17 -0
  49. data/trimurti-0.1/docs/classes/QueryByExample.src/M000056.html +17 -0
  50. data/trimurti-0.1/docs/classes/QueryByExample.src/M000057.html +17 -0
  51. data/trimurti-0.1/docs/classes/QueryByExample.src/M000058.html +17 -0
  52. data/trimurti-0.1/docs/classes/Shiva.html +159 -0
  53. data/trimurti-0.1/docs/classes/Shiva.src/M000060.html +18 -0
  54. data/trimurti-0.1/docs/classes/Shiva.src/M000061.html +19 -0
  55. data/trimurti-0.1/docs/classes/String.html +176 -0
  56. data/trimurti-0.1/docs/classes/String.src/M000022.html +16 -0
  57. data/trimurti-0.1/docs/classes/String.src/M000023.html +16 -0
  58. data/trimurti-0.1/docs/classes/Symbol.html +176 -0
  59. data/trimurti-0.1/docs/classes/Symbol.src/M000003.html +16 -0
  60. data/trimurti-0.1/docs/classes/Symbol.src/M000004.html +16 -0
  61. data/trimurti-0.1/docs/classes/Trimurti.html +189 -0
  62. data/trimurti-0.1/docs/classes/Trimurti.src/M000019.html +16 -0
  63. data/trimurti-0.1/docs/classes/Trimurti.src/M000020.html +16 -0
  64. data/trimurti-0.1/docs/classes/Vishnu.html +563 -0
  65. data/trimurti-0.1/docs/classes/Vishnu.src/M000038.html +18 -0
  66. data/trimurti-0.1/docs/classes/Vishnu.src/M000039.html +18 -0
  67. data/trimurti-0.1/docs/classes/Vishnu.src/M000040.html +18 -0
  68. data/trimurti-0.1/docs/classes/Vishnu.src/M000041.html +22 -0
  69. data/trimurti-0.1/docs/classes/Vishnu.src/M000042.html +23 -0
  70. data/trimurti-0.1/docs/classes/Vishnu.src/M000043.html +24 -0
  71. data/trimurti-0.1/docs/classes/Vishnu.src/M000044.html +24 -0
  72. data/trimurti-0.1/docs/classes/Vishnu.src/M000045.html +18 -0
  73. data/trimurti-0.1/docs/classes/Vishnu.src/M000046.html +22 -0
  74. data/trimurti-0.1/docs/classes/Vishnu.src/M000047.html +20 -0
  75. data/trimurti-0.1/docs/classes/Vishnu.src/M000048.html +18 -0
  76. data/trimurti-0.1/docs/classes/Vishnu.src/M000049.html +22 -0
  77. data/trimurti-0.1/docs/classes/Vishnu.src/M000050.html +20 -0
  78. data/trimurti-0.1/docs/classes/Vishnu.src/M000051.html +19 -0
  79. data/trimurti-0.1/docs/classes/Vishnu.src/M000052.html +30 -0
  80. data/trimurti-0.1/docs/classes/Vishnu.src/M000053.html +21 -0
  81. data/trimurti-0.1/docs/created.rid +1 -0
  82. data/trimurti-0.1/docs/dot/f_0.dot +14 -0
  83. data/trimurti-0.1/docs/dot/f_0.png +0 -0
  84. data/trimurti-0.1/docs/dot/f_1.dot +14 -0
  85. data/trimurti-0.1/docs/dot/f_1.png +0 -0
  86. data/trimurti-0.1/docs/dot/f_2.dot +14 -0
  87. data/trimurti-0.1/docs/dot/f_2.png +0 -0
  88. data/trimurti-0.1/docs/dot/f_3.dot +39 -0
  89. data/trimurti-0.1/docs/dot/f_3.png +0 -0
  90. data/trimurti-0.1/docs/dot/f_4.dot +39 -0
  91. data/trimurti-0.1/docs/dot/f_4.png +0 -0
  92. data/trimurti-0.1/docs/dot/f_5.dot +69 -0
  93. data/trimurti-0.1/docs/dot/f_5.png +0 -0
  94. data/trimurti-0.1/docs/dot/f_6.dot +149 -0
  95. data/trimurti-0.1/docs/dot/f_6.png +0 -0
  96. data/trimurti-0.1/docs/dot/m_3_0.dot +30 -0
  97. data/trimurti-0.1/docs/dot/m_3_0.png +0 -0
  98. data/trimurti-0.1/docs/dot/m_4_0.dot +39 -0
  99. data/trimurti-0.1/docs/dot/m_4_0.png +0 -0
  100. data/trimurti-0.1/docs/dot/m_5_0.dot +40 -0
  101. data/trimurti-0.1/docs/dot/m_5_0.png +0 -0
  102. data/trimurti-0.1/docs/dot/m_5_1.dot +30 -0
  103. data/trimurti-0.1/docs/dot/m_5_1.png +0 -0
  104. data/trimurti-0.1/docs/dot/m_6_0.dot +40 -0
  105. data/trimurti-0.1/docs/dot/m_6_0.png +0 -0
  106. data/trimurti-0.1/docs/dot/m_6_1.dot +30 -0
  107. data/trimurti-0.1/docs/dot/m_6_1.png +0 -0
  108. data/trimurti-0.1/docs/dot/m_6_2.dot +30 -0
  109. data/trimurti-0.1/docs/dot/m_6_2.png +0 -0
  110. data/trimurti-0.1/docs/files/License_txt.html +132 -0
  111. data/trimurti-0.1/docs/files/ReadMe_Amber_txt.html +491 -0
  112. data/trimurti-0.1/docs/files/ReadMe_txt.html +694 -0
  113. data/trimurti-0.1/docs/files/nist/trimurti/linda_rb.html +129 -0
  114. data/trimurti-0.1/docs/files/nist/trimurti/plugins_rb.html +129 -0
  115. data/trimurti-0.1/docs/files/nist/trimurti/queryByExample_rb.html +128 -0
  116. data/trimurti-0.1/docs/files/nist/trimurti/trimurti_rb.html +151 -0
  117. data/trimurti-0.1/docs/fr_class_index.html +43 -0
  118. data/trimurti-0.1/docs/fr_file_index.html +33 -0
  119. data/trimurti-0.1/docs/fr_method_index.html +89 -0
  120. data/trimurti-0.1/docs/images/overview.jpg +0 -0
  121. data/trimurti-0.1/docs/index.html +24 -0
  122. data/trimurti-0.1/docs/rdoc-style.css +208 -0
  123. data/trimurti-0.1/lib/nist/trimurti/linda.rb +163 -0
  124. data/trimurti-0.1/lib/nist/trimurti/plugins.rb +107 -0
  125. data/trimurti-0.1/lib/nist/trimurti/queryByExample.rb +81 -0
  126. data/trimurti-0.1/lib/nist/trimurti/trimurti.rb +433 -0
  127. data/trimurti-0.1/tests/test_linda.rb +111 -0
  128. data/trimurti-0.1/tests/test_trimurti.rb +247 -0
  129. metadata +241 -0
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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>find_on_load_path (Plugins)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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 nist/trimurti/plugins.rb, line 64</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_on_load_path</span>(<span class="ruby-identifier">pluginGlob</span>, <span class="ruby-identifier">suffix</span>=<span class="ruby-value str">'.*'</span>)
15
+ <span class="ruby-identifier">answer</span> = []
16
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">pluginGlob</span>
17
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">String</span>
18
+ <span class="ruby-identifier">local_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">pluginGlob</span>)
19
+ <span class="ruby-identifier">answer</span> = <span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">collect</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">root</span><span class="ruby-operator">|</span>
20
+ <span class="ruby-identifier">sought</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">root</span>, <span class="ruby-identifier">pluginGlob</span>)
21
+ <span class="ruby-identifier">globMatches</span> = <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">sought</span>)
22
+ <span class="ruby-identifier">globMatches</span>.<span class="ruby-identifier">collect</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">local_path</span>, <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">f</span>, <span class="ruby-identifier">suffix</span>)) }
23
+ }
24
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Array</span>
25
+ <span class="ruby-identifier">answer</span> = <span class="ruby-identifier">pluginGlob</span>.<span class="ruby-identifier">collect</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">relPath</span><span class="ruby-operator">|</span> <span class="ruby-identifier">plugin_dirs</span>(<span class="ruby-identifier">relPath</span>) }
26
+ <span class="ruby-keyword kw">else</span>
27
+ <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Incomprehensible argument to plugins (should be String or Array, was #{pluginGlob.class.name})&quot;</span>
28
+ <span class="ruby-keyword kw">end</span>
29
+ <span class="ruby-identifier">answer</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">uniq</span>.<span class="ruby-identifier">sort</span>
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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>require_plugins (Plugins)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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 nist/trimurti/plugins.rb, line 88</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">require_plugins</span>(<span class="ruby-identifier">pluginGlob</span>, <span class="ruby-identifier">io</span>=<span class="ruby-constant">STDOUT</span>)
15
+ <span class="ruby-identifier">parts</span> = <span class="ruby-identifier">find_on_load_path</span>(<span class="ruby-identifier">pluginGlob</span>)
16
+ <span class="ruby-identifier">io</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
17
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">empty?</span>
18
+ <span class="ruby-identifier">io</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\nDid not find any plugins matching #{pluginGlob.inspect}&quot;</span>
19
+ <span class="ruby-identifier">io</span>.<span class="ruby-identifier">flush</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">io</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:flush</span>)
20
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parts</span>
21
+ <span class="ruby-keyword kw">end</span>
22
+ <span class="ruby-identifier">parts</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">part</span><span class="ruby-operator">|</span>
23
+ <span class="ruby-identifier">io</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\nRequiring plugin: '#{part}'&quot;</span>
24
+ <span class="ruby-identifier">io</span>.<span class="ruby-identifier">flush</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">io</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:flush</span>)
25
+ <span class="ruby-identifier">require</span> <span class="ruby-identifier">part</span>
26
+ <span class="ruby-keyword kw">next</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">block_given?</span>
27
+ <span class="ruby-keyword kw">yield</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">part</span>)
28
+ }
29
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">parts</span>
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,267 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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: Plugins::Spec</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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">Plugins::Spec</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/nist/trimurti/plugins_rb.html">
59
+ nist/trimurti/plugins.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
+ <a href="../Object.html">
69
+ Object
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="RECT" coords="29,52,101,100" href="Spec.html" alt="Spec">
85
+ <area shape="RECT" coords="18,18,138,110" href="../Plugins.html" alt="Plugins">
86
+ </map>
87
+ <img src="../../dot/m_4_0.png" usemap="#map" border=0 alt="Module: Plugins">
88
+ </div>
89
+
90
+ <div id="description">
91
+ <p>
92
+ Provides information an application can use to:
93
+ </p>
94
+ <ul>
95
+ <li>Initialize the plugin
96
+
97
+ </li>
98
+ <li>Add the plugin to a menu
99
+
100
+ </li>
101
+ <li>Describe the pugin in an &quot;About&#8230;&quot; dialog
102
+
103
+ </li>
104
+ </ul>
105
+ <p>
106
+ Intended to be passed to the application through the $PLUGINS global.
107
+ </p>
108
+
109
+ </div>
110
+
111
+
112
+ </div>
113
+
114
+ <div id="method-list">
115
+ <h3 class="section-bar">Methods</h3>
116
+
117
+ <div class="name-list">
118
+ <a href="#M000027">init</a>&nbsp;&nbsp;
119
+ <a href="#M000026">new</a>&nbsp;&nbsp;
120
+ <a href="#M000028">to_s</a>&nbsp;&nbsp;
121
+ </div>
122
+ </div>
123
+
124
+ </div>
125
+
126
+
127
+ <!-- if includes -->
128
+
129
+ <div id="section">
130
+
131
+
132
+
133
+
134
+
135
+ <div id="attribute-list">
136
+ <h3 class="section-bar">Attributes</h3>
137
+
138
+ <div class="name-list">
139
+ <table>
140
+ <tr class="top-aligned-row context-row">
141
+ <td class="context-item-name">actions</td>
142
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
143
+ <td class="context-item-desc">
144
+ A Hash with:
145
+
146
+ <ul>
147
+ <li>keys are menu labels
148
+
149
+ </li>
150
+ <li>values depend on the application in which the plugin is to be embedded
151
+
152
+ </li>
153
+ </ul>
154
+ </td>
155
+ </tr>
156
+ <tr class="top-aligned-row context-row">
157
+ <td class="context-item-name">author</td>
158
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
159
+ <td class="context-item-desc">
160
+ Who wrote the plugin
161
+
162
+ </td>
163
+ </tr>
164
+ <tr class="top-aligned-row context-row">
165
+ <td class="context-item-name">description</td>
166
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
167
+ <td class="context-item-desc">
168
+ A <a href="../String.html">String</a> describing the plugin. Can be to be
169
+ nil.
170
+
171
+ </td>
172
+ </tr>
173
+ <tr class="top-aligned-row context-row">
174
+ <td class="context-item-name">init_proc</td>
175
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
176
+ <td class="context-item-desc">
177
+ A proc the application can use to initialize the plugin. can be nil.
178
+
179
+ </td>
180
+ </tr>
181
+ <tr class="top-aligned-row context-row">
182
+ <td class="context-item-name">name</td>
183
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
184
+ <td class="context-item-desc">
185
+ Identifies the plugin
186
+
187
+ </td>
188
+ </tr>
189
+ </table>
190
+ </div>
191
+ </div>
192
+
193
+
194
+
195
+ <!-- if method_list -->
196
+ <div id="methods">
197
+ <h3 class="section-bar">Public Class methods</h3>
198
+
199
+ <div id="method-M000026" class="method-detail">
200
+ <a name="M000026"></a>
201
+
202
+ <div class="method-heading">
203
+ <a href="Spec.src/M000026.html" target="Code" class="method-signature"
204
+ onclick="popupCode('Spec.src/M000026.html');return false;">
205
+ <span class="method-name">new</span><span class="method-args">(name, author, description=nil, actions=RBTree.new, init_proc=nil)</span>
206
+ </a>
207
+ </div>
208
+
209
+ <div class="method-description">
210
+ <p>
211
+ Name and Author are required Strings. Description can be nil. Actions must
212
+ be a Hash, but it can be empty.
213
+ </p>
214
+ </div>
215
+ </div>
216
+
217
+ <h3 class="section-bar">Public Instance methods</h3>
218
+
219
+ <div id="method-M000027" class="method-detail">
220
+ <a name="M000027"></a>
221
+
222
+ <div class="method-heading">
223
+ <a href="Spec.src/M000027.html" target="Code" class="method-signature"
224
+ onclick="popupCode('Spec.src/M000027.html');return false;">
225
+ <span class="method-name">init</span><span class="method-args">(*args)</span>
226
+ </a>
227
+ </div>
228
+
229
+ <div class="method-description">
230
+ <p>
231
+ Calls the init_proc. Any arguments provided are passed on to the init_proc.
232
+ Plugin developers need to know what arguments the appliction will use.
233
+ </p>
234
+ </div>
235
+ </div>
236
+
237
+ <div id="method-M000028" class="method-detail">
238
+ <a name="M000028"></a>
239
+
240
+ <div class="method-heading">
241
+ <a href="Spec.src/M000028.html" target="Code" class="method-signature"
242
+ onclick="popupCode('Spec.src/M000028.html');return false;">
243
+ <span class="method-name">to_s</span><span class="method-args">(str=String.new)</span>
244
+ </a>
245
+ </div>
246
+
247
+ <div class="method-description">
248
+ <p>
249
+ Returns a <a href="../String.html">String</a> representation of the plugin,
250
+ suitable for use in an &quot;About&#8230;&quot; dialog.
251
+ </p>
252
+ </div>
253
+ </div>
254
+
255
+
256
+ </div>
257
+
258
+
259
+ </div>
260
+
261
+
262
+ <div id="validator-badges">
263
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
264
+ </div>
265
+
266
+ </body>
267
+ </html>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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>new (Plugins::Spec)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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 nist/trimurti/plugins.rb, line 40</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">author</span>, <span class="ruby-identifier">description</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">actions</span>=<span class="ruby-constant">RBTree</span>.<span class="ruby-identifier">new</span>, <span class="ruby-identifier">init_proc</span>=<span class="ruby-keyword kw">nil</span>)
15
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">name</span>=<span class="ruby-identifier">name</span>
16
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">author</span>=<span class="ruby-identifier">author</span>
17
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">description</span>=<span class="ruby-identifier">description</span>
18
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">actions</span>=<span class="ruby-identifier">actions</span>
19
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">init_proc</span>=<span class="ruby-identifier">init_proc</span>
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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 (Plugins::Spec)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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 nist/trimurti/plugins.rb, line 49</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ <span class="ruby-identifier">init_proc</span>.<span class="ruby-identifier">call</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">init_proc</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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_s (Plugins::Spec)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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 nist/trimurti/plugins.rb, line 53</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>(<span class="ruby-identifier">str</span>=<span class="ruby-constant">String</span>.<span class="ruby-identifier">new</span>)
15
+ <span class="ruby-identifier">str</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">' plugin written by '</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">author</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'.'</span>
16
+ <span class="ruby-identifier">str</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">description</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">description</span>
17
+ <span class="ruby-identifier">str</span>
18
+ <span class="ruby-keyword kw">end</span></pre>
19
+ </body>
20
+ </html>
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
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>Module: QBE_ID</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
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>Module</strong></td>
53
+ <td class="class-name-in-header">QBE_ID</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/nist/trimurti/queryByExample_rb.html">
59
+ nist/trimurti/queryByExample.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+ <div id="diagram">
75
+ <map id="map" name="map">
76
+ <area shape="RECT" coords="18,18,112,65" href="QBE_ID.html" alt="QBE_ID">
77
+ </map>
78
+ <img src="../dot/m_5_1.png" usemap="#map" border=0 alt="Module: QBE_ID">
79
+ </div>
80
+
81
+ <div id="description">
82
+ <p>
83
+ Mix this into classes that can act like ids.
84
+ </p>
85
+
86
+ </div>
87
+
88
+
89
+ </div>
90
+
91
+ <div id="method-list">
92
+ <h3 class="section-bar">Methods</h3>
93
+
94
+ <div class="name-list">
95
+ <a href="#M000059">resolve_within</a>&nbsp;&nbsp;
96
+ </div>
97
+ </div>
98
+
99
+ </div>
100
+
101
+
102
+ <!-- if includes -->
103
+
104
+ <div id="section">
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <!-- if method_list -->
114
+ <div id="methods">
115
+ <h3 class="section-bar">Public Instance methods</h3>
116
+
117
+ <div id="method-M000059" class="method-detail">
118
+ <a name="M000059"></a>
119
+
120
+ <div class="method-heading">
121
+ <a href="QBE_ID.src/M000059.html" target="Code" class="method-signature"
122
+ onclick="popupCode('QBE_ID.src/M000059.html');return false;">
123
+ <span class="method-name">resolve_within</span><span class="method-args">(container)</span>
124
+ </a>
125
+ </div>
126
+
127
+ <div class="method-description">
128
+ <p>
129
+ Since this is an id rather than a literal, look up (in the container) the
130
+ thing to which this correspondes.
131
+ </p>
132
+ </div>
133
+ </div>
134
+
135
+
136
+ </div>
137
+
138
+
139
+ </div>
140
+
141
+
142
+ <div id="validator-badges">
143
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
144
+ </div>
145
+
146
+ </body>
147
+ </html>