profligacy 0.3.2-jruby → 0.4-jruby

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. data/Rakefile +1 -1
  2. data/doc/rdoc/classes/Proc.src/M000001.html +4 -4
  3. data/doc/rdoc/classes/Proc.src/M000002.html +4 -4
  4. data/doc/rdoc/classes/Profligacy/Swing/Build.html +36 -36
  5. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000005.html +7 -26
  6. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000006.html +5 -5
  7. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000007.html +30 -9
  8. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000008.html +5 -8
  9. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000009.html +9 -11
  10. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000010.html +21 -0
  11. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000011.html +24 -0
  12. data/doc/rdoc/classes/Profligacy/Swing/LEL.html +11 -11
  13. data/doc/rdoc/classes/Profligacy/Swing/LEL.src/{M000010.html → M000012.html} +0 -0
  14. data/doc/rdoc/classes/Profligacy/Swing/LEL.src/{M000011.html → M000013.html} +6 -4
  15. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.html +10 -10
  16. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/{M000012.html → M000003.html} +0 -0
  17. data/doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/{M000013.html → M000004.html} +0 -0
  18. data/doc/rdoc/created.rid +1 -1
  19. data/doc/rdoc/files/COPYING.html +1 -1
  20. data/doc/rdoc/files/LICENSE.html +1 -1
  21. data/doc/rdoc/files/README.html +1 -1
  22. data/doc/rdoc/files/lib/profligacy/lel_rb.html +1 -1
  23. data/doc/rdoc/files/lib/profligacy/swing_rb.html +1 -1
  24. data/doc/rdoc/fr_method_index.html +13 -13
  25. data/lib/profligacy/lel.rb +2 -0
  26. data/lib/profligacy/parser.jar +0 -0
  27. data/lib/profligacy/swing.rb +4 -0
  28. metadata +7 -7
  29. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000003.html +0 -20
  30. data/doc/rdoc/classes/Profligacy/Swing/Build.src/M000004.html +0 -18
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
15
15
  desc "Does a full compile, test run"
16
16
  task :default => [:ragel, :test]
17
17
 
18
- version="0.3.2"
18
+ version="0.4"
19
19
  name="profligacy"
20
20
 
21
21
  setup_gem(name, version) do |spec|
@@ -10,9 +10,9 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 139</span>
14
- 139: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">action</span>)
15
- 140: <span class="ruby-constant">Profligacy</span><span class="ruby-operator">::</span><span class="ruby-constant">Swing</span><span class="ruby-operator">::</span><span class="ruby-constant">Listeners</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-node">&quot;#{action.to_s.capitalize}ListenerProc&quot;</span>).<span class="ruby-identifier">new</span> <span class="ruby-operator">&amp;</span><span class="ruby-keyword kw">self</span>
16
- 141: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 143</span>
14
+ 143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">action</span>)
15
+ 144: <span class="ruby-constant">Profligacy</span><span class="ruby-operator">::</span><span class="ruby-constant">Swing</span><span class="ruby-operator">::</span><span class="ruby-constant">Listeners</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-node">&quot;#{action.to_s.capitalize}ListenerProc&quot;</span>).<span class="ruby-identifier">new</span> <span class="ruby-operator">&amp;</span><span class="ruby-keyword kw">self</span>
16
+ 145: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -10,9 +10,9 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 143</span>
14
- 143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_runnable</span>
15
- 144: <span class="ruby-constant">Profligacy</span><span class="ruby-operator">::</span><span class="ruby-constant">Swing</span><span class="ruby-operator">::</span><span class="ruby-constant">RunnableProc</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">&amp;</span><span class="ruby-keyword kw">self</span>
16
- 145: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 147</span>
14
+ 147: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_runnable</span>
15
+ 148: <span class="ruby-constant">Profligacy</span><span class="ruby-operator">::</span><span class="ruby-constant">Swing</span><span class="ruby-operator">::</span><span class="ruby-constant">RunnableProc</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">&amp;</span><span class="ruby-keyword kw">self</span>
16
+ 149: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -86,13 +86,13 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000005">build</a>&nbsp;&nbsp;
90
- <a href="#M000009">configure_interactions_for</a>&nbsp;&nbsp;
91
- <a href="#M000007">each_or_one</a>&nbsp;&nbsp;
92
- <a href="#M000004">interactions</a>&nbsp;&nbsp;
93
- <a href="#M000006">method_missing</a>&nbsp;&nbsp;
94
- <a href="#M000003">new</a>&nbsp;&nbsp;
95
- <a href="#M000008">setup_children_and_interactions</a>&nbsp;&nbsp;
89
+ <a href="#M000007">build</a>&nbsp;&nbsp;
90
+ <a href="#M000011">configure_interactions_for</a>&nbsp;&nbsp;
91
+ <a href="#M000009">each_or_one</a>&nbsp;&nbsp;
92
+ <a href="#M000006">interactions</a>&nbsp;&nbsp;
93
+ <a href="#M000008">method_missing</a>&nbsp;&nbsp;
94
+ <a href="#M000005">new</a>&nbsp;&nbsp;
95
+ <a href="#M000010">setup_children_and_interactions</a>&nbsp;&nbsp;
96
96
  </div>
97
97
  </div>
98
98
 
@@ -147,12 +147,12 @@
147
147
  <div id="methods">
148
148
  <h3 class="section-bar">Public Class methods</h3>
149
149
 
150
- <div id="method-M000003" class="method-detail">
151
- <a name="M000003"></a>
150
+ <div id="method-M000005" class="method-detail">
151
+ <a name="M000005"></a>
152
152
 
153
153
  <div class="method-heading">
154
- <a href="Build.src/M000003.html" target="Code" class="method-signature"
155
- onclick="popupCode('Build.src/M000003.html');return false;">
154
+ <a href="Build.src/M000005.html" target="Code" class="method-signature"
155
+ onclick="popupCode('Build.src/M000005.html');return false;">
156
156
  <span class="method-name">new</span><span class="method-args">(*children) {|@contents, @interactions| ...}</span>
157
157
  </a>
158
158
  </div>
@@ -163,13 +163,13 @@
163
163
 
164
164
  <h3 class="section-bar">Public Instance methods</h3>
165
165
 
166
- <div id="method-M000005" class="method-detail">
167
- <a name="M000005"></a>
166
+ <div id="method-M000007" class="method-detail">
167
+ <a name="M000007"></a>
168
168
 
169
169
  <div class="method-heading">
170
- <a href="Build.src/M000005.html" target="Code" class="method-signature"
171
- onclick="popupCode('Build.src/M000005.html');return false;">
172
- <span class="method-name">build</span><span class="method-args">(*args)</span>
170
+ <a href="Build.src/M000007.html" target="Code" class="method-signature"
171
+ onclick="popupCode('Build.src/M000007.html');return false;">
172
+ <span class="method-name">build</span><span class="method-args">(*args) {|@container if block_given?| ...}</span>
173
173
  </a>
174
174
  </div>
175
175
 
@@ -177,12 +177,12 @@
177
177
  </div>
178
178
  </div>
179
179
 
180
- <div id="method-M000004" class="method-detail">
181
- <a name="M000004"></a>
180
+ <div id="method-M000006" class="method-detail">
181
+ <a name="M000006"></a>
182
182
 
183
183
  <div class="method-heading">
184
- <a href="Build.src/M000004.html" target="Code" class="method-signature"
185
- onclick="popupCode('Build.src/M000004.html');return false;">
184
+ <a href="Build.src/M000006.html" target="Code" class="method-signature"
185
+ onclick="popupCode('Build.src/M000006.html');return false;">
186
186
  <span class="method-name">interactions</span><span class="method-args">() {|@contents, @interactions| ...}</span>
187
187
  </a>
188
188
  </div>
@@ -191,12 +191,12 @@
191
191
  </div>
192
192
  </div>
193
193
 
194
- <div id="method-M000006" class="method-detail">
195
- <a name="M000006"></a>
194
+ <div id="method-M000008" class="method-detail">
195
+ <a name="M000008"></a>
196
196
 
197
197
  <div class="method-heading">
198
- <a href="Build.src/M000006.html" target="Code" class="method-signature"
199
- onclick="popupCode('Build.src/M000006.html');return false;">
198
+ <a href="Build.src/M000008.html" target="Code" class="method-signature"
199
+ onclick="popupCode('Build.src/M000008.html');return false;">
200
200
  <span class="method-name">method_missing</span><span class="method-args">(symb, *args)</span>
201
201
  </a>
202
202
  </div>
@@ -207,12 +207,12 @@
207
207
 
208
208
  <h3 class="section-bar">Protected Instance methods</h3>
209
209
 
210
- <div id="method-M000009" class="method-detail">
211
- <a name="M000009"></a>
210
+ <div id="method-M000011" class="method-detail">
211
+ <a name="M000011"></a>
212
212
 
213
213
  <div class="method-heading">
214
- <a href="Build.src/M000009.html" target="Code" class="method-signature"
215
- onclick="popupCode('Build.src/M000009.html');return false;">
214
+ <a href="Build.src/M000011.html" target="Code" class="method-signature"
215
+ onclick="popupCode('Build.src/M000011.html');return false;">
216
216
  <span class="method-name">configure_interactions_for</span><span class="method-args">(child,component)</span>
217
217
  </a>
218
218
  </div>
@@ -221,12 +221,12 @@
221
221
  </div>
222
222
  </div>
223
223
 
224
- <div id="method-M000007" class="method-detail">
225
- <a name="M000007"></a>
224
+ <div id="method-M000009" class="method-detail">
225
+ <a name="M000009"></a>
226
226
 
227
227
  <div class="method-heading">
228
- <a href="Build.src/M000007.html" target="Code" class="method-signature"
229
- onclick="popupCode('Build.src/M000007.html');return false;">
228
+ <a href="Build.src/M000009.html" target="Code" class="method-signature"
229
+ onclick="popupCode('Build.src/M000009.html');return false;">
230
230
  <span class="method-name">each_or_one</span><span class="method-args">(component) {|c| ...}</span>
231
231
  </a>
232
232
  </div>
@@ -239,12 +239,12 @@ to each, or just on one item
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000008" class="method-detail">
243
- <a name="M000008"></a>
242
+ <div id="method-M000010" class="method-detail">
243
+ <a name="M000010"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="Build.src/M000008.html" target="Code" class="method-signature"
247
- onclick="popupCode('Build.src/M000008.html');return false;">
246
+ <a href="Build.src/M000010.html" target="Code" class="method-signature"
247
+ onclick="popupCode('Build.src/M000010.html');return false;">
248
248
  <span class="method-name">setup_children_and_interactions</span><span class="method-args">(children)</span>
249
249
  </a>
250
250
  </div>
@@ -5,35 +5,16 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>build (Profligacy::Swing::Build)</title>
8
+ <title>new (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 77</span>
14
- 77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
- 78: <span class="ruby-comment cmt"># create the container they ask for with these args</span>
16
- 79: <span class="ruby-ivar">@container</span> = <span class="ruby-ivar">@container_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
17
- 80: <span class="ruby-comment cmt"># tack on the layout they wanted</span>
18
- 81: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">layout</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">layout</span>
19
- 82:
20
- 83: <span class="ruby-comment cmt"># go through all the children, add them on and tack on the callbacks</span>
21
- 84: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
22
- 85: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
23
- 86: <span class="ruby-comment cmt"># if this component answers the each call then go through all</span>
24
- 87: <span class="ruby-identifier">component</span> = <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
25
- 88: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">c</span>) }
26
- 89:
27
- 90: <span class="ruby-identifier">configure_interactions_for</span> <span class="ruby-identifier">child</span>, <span class="ruby-identifier">component</span>
28
- 91: <span class="ruby-keyword kw">end</span>
29
- 92: }
30
- 93:
31
- 94: <span class="ruby-comment cmt"># even though swing doesn't do this, we do</span>
32
- 95: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:pack</span>
33
- 96: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
34
- 97:
35
- 98: <span class="ruby-comment cmt"># and now they can do whatever they want to the container</span>
36
- 99: <span class="ruby-ivar">@container</span>
37
- 100: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 67</span>
14
+ 67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">children</span>)
15
+ 68: <span class="ruby-ivar">@container_class</span> = <span class="ruby-identifier">children</span>.<span class="ruby-identifier">shift</span>
16
+ 69: <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
17
+ 70: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
18
+ 71: <span class="ruby-keyword kw">end</span></pre>
38
19
  </body>
39
20
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>method_missing (Profligacy::Swing::Build)</title>
8
+ <title>interactions (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 102</span>
14
- 102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">symb</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
- 103: <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">symb</span>]
16
- 104: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 73</span>
14
+ 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">interactions</span>
15
+ 74: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
16
+ 75: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -5,18 +5,39 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>each_or_one (Profligacy::Swing::Build)</title>
8
+ <title>build (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 110</span>
14
- 110: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>)
15
- 111: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:each</span>
16
- 112: <span class="ruby-identifier">component</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">c</span> }
17
- 113: <span class="ruby-keyword kw">else</span>
18
- 114: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">component</span>
19
- 115: <span class="ruby-keyword kw">end</span>
20
- 116: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 77</span>
14
+ 77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ 78: <span class="ruby-comment cmt"># create the container they ask for with these args</span>
16
+ 79: <span class="ruby-ivar">@container</span> = <span class="ruby-ivar">@container_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
17
+ 80: <span class="ruby-comment cmt"># tack on the layout they wanted</span>
18
+ 81: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">layout</span> = <span class="ruby-identifier">layout</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">layout</span>
19
+ 82:
20
+ 83: <span class="ruby-comment cmt"># go through all the children, add them on and tack on the callbacks</span>
21
+ 84: <span class="ruby-ivar">@children</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">child</span><span class="ruby-operator">|</span>
22
+ 85: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
23
+ 86: <span class="ruby-comment cmt"># if this component answers the each call then go through all</span>
24
+ 87: <span class="ruby-identifier">component</span> = <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
25
+ 88: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">c</span>) }
26
+ 89:
27
+ 90: <span class="ruby-identifier">configure_interactions_for</span> <span class="ruby-identifier">child</span>, <span class="ruby-identifier">component</span>
28
+ 91: <span class="ruby-keyword kw">end</span>
29
+ 92: }
30
+ 93:
31
+ 94: <span class="ruby-comment cmt"># yield to the caller so that they can configure more before</span>
32
+ 95: <span class="ruby-comment cmt"># we make it visible and pack it</span>
33
+ 96: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@container</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
34
+ 97:
35
+ 98: <span class="ruby-comment cmt"># even though swing doesn't do this, we do</span>
36
+ 99: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:pack</span>
37
+ 100: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
38
+ 101:
39
+ 102: <span class="ruby-comment cmt"># and now they can do whatever they want to the container</span>
40
+ 103: <span class="ruby-ivar">@container</span>
41
+ 104: <span class="ruby-keyword kw">end</span></pre>
21
42
  </body>
22
43
  </html>
@@ -5,17 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>setup_children_and_interactions (Profligacy::Swing::Build)</title>
8
+ <title>method_missing (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 118</span>
14
- 118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
15
- 119: <span class="ruby-ivar">@children</span> = <span class="ruby-identifier">children</span>
16
- 120: <span class="ruby-ivar">@klass</span> = <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@children</span>
17
- 121: <span class="ruby-ivar">@contents</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
18
- 122: <span class="ruby-ivar">@interactions</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
19
- 123: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 106</span>
14
+ 106: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">symb</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ 107: <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">symb</span>]
16
+ 108: <span class="ruby-keyword kw">end</span></pre>
20
17
  </body>
21
18
  </html>
@@ -5,20 +5,18 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>configure_interactions_for (Profligacy::Swing::Build)</title>
8
+ <title>each_or_one (Profligacy::Swing::Build)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 125</span>
14
- 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-identifier">component</span>)
15
- 126: <span class="ruby-identifier">actions</span> = <span class="ruby-ivar">@interactions</span>[<span class="ruby-identifier">child</span>]
16
- 127: <span class="ruby-comment cmt"># now we tack on the callback</span>
17
- 128: <span class="ruby-identifier">actions</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span>, <span class="ruby-identifier">callback</span><span class="ruby-operator">|</span>
18
- 129: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
19
- 130: <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;add_#{type}_listener&quot;</span>, <span class="ruby-identifier">callback</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">type</span>))
20
- 131: <span class="ruby-keyword kw">end</span>
21
- 132: } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">actions</span>
22
- 133: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/profligacy/swing.rb, line 114</span>
14
+ 114: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>)
15
+ 115: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:each</span>
16
+ 116: <span class="ruby-identifier">component</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">c</span> }
17
+ 117: <span class="ruby-keyword kw">else</span>
18
+ 118: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">component</span>
19
+ 119: <span class="ruby-keyword kw">end</span>
20
+ 120: <span class="ruby-keyword kw">end</span></pre>
23
21
  </body>
24
22
  </html>
@@ -0,0 +1,21 @@
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>setup_children_and_interactions (Profligacy::Swing::Build)</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 lib/profligacy/swing.rb, line 122</span>
14
+ 122: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
15
+ 123: <span class="ruby-ivar">@children</span> = <span class="ruby-identifier">children</span>
16
+ 124: <span class="ruby-ivar">@klass</span> = <span class="ruby-constant">Struct</span>.<span class="ruby-identifier">new</span> <span class="ruby-operator">*</span><span class="ruby-ivar">@children</span>
17
+ 125: <span class="ruby-ivar">@contents</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
18
+ 126: <span class="ruby-ivar">@interactions</span> = <span class="ruby-ivar">@klass</span>.<span class="ruby-identifier">new</span>
19
+ 127: <span class="ruby-keyword kw">end</span></pre>
20
+ </body>
21
+ </html>
@@ -0,0 +1,24 @@
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>configure_interactions_for (Profligacy::Swing::Build)</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 lib/profligacy/swing.rb, line 129</span>
14
+ 129: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-identifier">component</span>)
15
+ 130: <span class="ruby-identifier">actions</span> = <span class="ruby-ivar">@interactions</span>[<span class="ruby-identifier">child</span>]
16
+ 131: <span class="ruby-comment cmt"># now we tack on the callback</span>
17
+ 132: <span class="ruby-identifier">actions</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">type</span>, <span class="ruby-identifier">callback</span><span class="ruby-operator">|</span>
18
+ 133: <span class="ruby-identifier">each_or_one</span>(<span class="ruby-identifier">component</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
19
+ 134: <span class="ruby-identifier">c</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;add_#{type}_listener&quot;</span>, <span class="ruby-identifier">callback</span>.<span class="ruby-identifier">to_proc</span>.<span class="ruby-identifier">to_listener</span>(<span class="ruby-identifier">type</span>))
20
+ 135: <span class="ruby-keyword kw">end</span>
21
+ 136: } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">actions</span>
22
+ 137: <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -88,8 +88,8 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000011">build</a>&nbsp;&nbsp;
92
- <a href="#M000010">new</a>&nbsp;&nbsp;
91
+ <a href="#M000013">build</a>&nbsp;&nbsp;
92
+ <a href="#M000012">new</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -124,12 +124,12 @@
124
124
  <div id="methods">
125
125
  <h3 class="section-bar">Public Class methods</h3>
126
126
 
127
- <div id="method-M000010" class="method-detail">
128
- <a name="M000010"></a>
127
+ <div id="method-M000012" class="method-detail">
128
+ <a name="M000012"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="LEL.src/M000010.html" target="Code" class="method-signature"
132
- onclick="popupCode('LEL.src/M000010.html');return false;">
131
+ <a href="LEL.src/M000012.html" target="Code" class="method-signature"
132
+ onclick="popupCode('LEL.src/M000012.html');return false;">
133
133
  <span class="method-name">new</span><span class="method-args">(type, expr) {|@contents, @interactions| ...}</span>
134
134
  </a>
135
135
  </div>
@@ -140,13 +140,13 @@
140
140
 
141
141
  <h3 class="section-bar">Public Instance methods</h3>
142
142
 
143
- <div id="method-M000011" class="method-detail">
144
- <a name="M000011"></a>
143
+ <div id="method-M000013" class="method-detail">
144
+ <a name="M000013"></a>
145
145
 
146
146
  <div class="method-heading">
147
- <a href="LEL.src/M000011.html" target="Code" class="method-signature"
148
- onclick="popupCode('LEL.src/M000011.html');return false;">
149
- <span class="method-name">build</span><span class="method-args">(prefs={})</span>
147
+ <a href="LEL.src/M000013.html" target="Code" class="method-signature"
148
+ onclick="popupCode('LEL.src/M000013.html');return false;">
149
+ <span class="method-name">build</span><span class="method-args">(prefs={}) {|@container if block_given?| ...}</span>
150
150
  </a>
151
151
  </div>
152
152
 
@@ -28,9 +28,11 @@
28
28
  182: <span class="ruby-identifier">configure_interactions_for</span>(<span class="ruby-identifier">child</span>,<span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@contents</span>[<span class="ruby-identifier">child</span>]
29
29
  183: }
30
30
  184:
31
- 185: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:pack</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:pack</span>))
32
- 186: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:visible</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
33
- 187: <span class="ruby-ivar">@container</span>
34
- 188: <span class="ruby-keyword kw">end</span></pre>
31
+ 185: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@container</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
32
+ 186:
33
+ 187: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">pack</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:pack</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:pack</span>))
34
+ 188: <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">visible</span> = <span class="ruby-identifier">prefs</span>[<span class="ruby-identifier">:visible</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@container</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:visible</span>
35
+ 189: <span class="ruby-ivar">@container</span>
36
+ 190: <span class="ruby-keyword kw">end</span></pre>
35
37
  </body>
36
38
  </html>
@@ -86,8 +86,8 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000012">new</a>&nbsp;&nbsp;
90
- <a href="#M000013">run</a>&nbsp;&nbsp;
89
+ <a href="#M000003">new</a>&nbsp;&nbsp;
90
+ <a href="#M000004">run</a>&nbsp;&nbsp;
91
91
  </div>
92
92
  </div>
93
93
 
@@ -116,12 +116,12 @@
116
116
  <div id="methods">
117
117
  <h3 class="section-bar">Public Class methods</h3>
118
118
 
119
- <div id="method-M000012" class="method-detail">
120
- <a name="M000012"></a>
119
+ <div id="method-M000003" class="method-detail">
120
+ <a name="M000003"></a>
121
121
 
122
122
  <div class="method-heading">
123
- <a href="RunnableProc.src/M000012.html" target="Code" class="method-signature"
124
- onclick="popupCode('RunnableProc.src/M000012.html');return false;">
123
+ <a href="RunnableProc.src/M000003.html" target="Code" class="method-signature"
124
+ onclick="popupCode('RunnableProc.src/M000003.html');return false;">
125
125
  <span class="method-name">new</span><span class="method-args">(&amp;block)</span>
126
126
  </a>
127
127
  </div>
@@ -132,12 +132,12 @@
132
132
 
133
133
  <h3 class="section-bar">Public Instance methods</h3>
134
134
 
135
- <div id="method-M000013" class="method-detail">
136
- <a name="M000013"></a>
135
+ <div id="method-M000004" class="method-detail">
136
+ <a name="M000004"></a>
137
137
 
138
138
  <div class="method-heading">
139
- <a href="RunnableProc.src/M000013.html" target="Code" class="method-signature"
140
- onclick="popupCode('RunnableProc.src/M000013.html');return false;">
139
+ <a href="RunnableProc.src/M000004.html" target="Code" class="method-signature"
140
+ onclick="popupCode('RunnableProc.src/M000004.html');return false;">
141
141
  <span class="method-name">run</span><span class="method-args">()</span>
142
142
  </a>
143
143
  </div>
data/doc/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Sat Jul 07 15:00:47 EDT 2007
1
+ Sat, 07 Jul 2007 20:33:57 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Jul 04 17:54:24 EDT 2007</td>
59
+ <td>Wed Jul 04 17:54:24 -0400 2007</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>Wed Jul 04 17:54:36 EDT 2007</td>
59
+ <td>Wed Jul 04 17:54:36 -0400 2007</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>Wed Jul 04 17:53:07 EDT 2007</td>
59
+ <td>Wed Jul 04 17:53:07 -0400 2007</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>Sat Jul 07 03:56:24 EDT 2007</td>
59
+ <td>Sat Jul 07 20:22:30 -0400 2007</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>Sat Jul 07 03:56:18 EDT 2007</td>
59
+ <td>Sat Jul 07 20:19:40 -0400 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -21,28 +21,28 @@
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
23
  <a href="classes/Profligacy/LELGroupLayout.html#M000020">align (Profligacy::LELGroupLayout)</a><br />
24
- <a href="classes/Profligacy/Swing/Build.html#M000005">build (Profligacy::Swing::Build)</a><br />
25
- <a href="classes/Profligacy/Swing/LEL.html#M000011">build (Profligacy::Swing::LEL)</a><br />
24
+ <a href="classes/Profligacy/Swing/Build.html#M000007">build (Profligacy::Swing::Build)</a><br />
25
+ <a href="classes/Profligacy/Swing/LEL.html#M000013">build (Profligacy::Swing::LEL)</a><br />
26
26
  <a href="classes/Profligacy/LELGroupLayout.html#M000015">col (Profligacy::LELGroupLayout)</a><br />
27
- <a href="classes/Profligacy/Swing/Build.html#M000009">configure_interactions_for (Profligacy::Swing::Build)</a><br />
28
- <a href="classes/Profligacy/Swing/Build.html#M000007">each_or_one (Profligacy::Swing::Build)</a><br />
27
+ <a href="classes/Profligacy/Swing/Build.html#M000011">configure_interactions_for (Profligacy::Swing::Build)</a><br />
28
+ <a href="classes/Profligacy/Swing/Build.html#M000009">each_or_one (Profligacy::Swing::Build)</a><br />
29
29
  <a href="classes/Profligacy/LELGroupLayout.html#M000023">expand (Profligacy::LELGroupLayout)</a><br />
30
30
  <a href="classes/Profligacy/LELGroupLayout.html#M000024">finished (Profligacy::LELGroupLayout)</a><br />
31
- <a href="classes/Profligacy/LELGroupLayout.html#M000018">id (Profligacy::LELGroupLayout)</a><br />
32
31
  <a href="classes/Profligacy/LELNameScanner.html#M000026">id (Profligacy::LELNameScanner)</a><br />
33
- <a href="classes/Profligacy/Swing/Build.html#M000004">interactions (Profligacy::Swing::Build)</a><br />
32
+ <a href="classes/Profligacy/LELGroupLayout.html#M000018">id (Profligacy::LELGroupLayout)</a><br />
33
+ <a href="classes/Profligacy/Swing/Build.html#M000006">interactions (Profligacy::Swing::Build)</a><br />
34
34
  <a href="classes/Profligacy/LELGroupLayout.html#M000016">ltab (Profligacy::LELGroupLayout)</a><br />
35
- <a href="classes/Profligacy/Swing/Build.html#M000006">method_missing (Profligacy::Swing::Build)</a><br />
35
+ <a href="classes/Profligacy/Swing/Build.html#M000008">method_missing (Profligacy::Swing::Build)</a><br />
36
36
  <a href="classes/Profligacy/LELNameScanner.html#M000027">method_missing (Profligacy::LELNameScanner)</a><br />
37
- <a href="classes/Profligacy/Swing/Build.html#M000003">new (Profligacy::Swing::Build)</a><br />
38
- <a href="classes/Profligacy/Swing/LEL.html#M000010">new (Profligacy::Swing::LEL)</a><br />
39
- <a href="classes/Profligacy/Swing/RunnableProc.html#M000012">new (Profligacy::Swing::RunnableProc)</a><br />
40
- <a href="classes/Profligacy/LELGroupLayout.html#M000014">new (Profligacy::LELGroupLayout)</a><br />
37
+ <a href="classes/Profligacy/Swing/Build.html#M000005">new (Profligacy::Swing::Build)</a><br />
38
+ <a href="classes/Profligacy/Swing/LEL.html#M000012">new (Profligacy::Swing::LEL)</a><br />
39
+ <a href="classes/Profligacy/Swing/RunnableProc.html#M000003">new (Profligacy::Swing::RunnableProc)</a><br />
41
40
  <a href="classes/Profligacy/LELNameScanner.html#M000025">new (Profligacy::LELNameScanner)</a><br />
41
+ <a href="classes/Profligacy/LELGroupLayout.html#M000014">new (Profligacy::LELGroupLayout)</a><br />
42
42
  <a href="classes/Profligacy/LELGroupLayout.html#M000019">row (Profligacy::LELGroupLayout)</a><br />
43
- <a href="classes/Profligacy/Swing/RunnableProc.html#M000013">run (Profligacy::Swing::RunnableProc)</a><br />
43
+ <a href="classes/Profligacy/Swing/RunnableProc.html#M000004">run (Profligacy::Swing::RunnableProc)</a><br />
44
44
  <a href="classes/Profligacy/LELGroupLayout.html#M000022">setheight (Profligacy::LELGroupLayout)</a><br />
45
- <a href="classes/Profligacy/Swing/Build.html#M000008">setup_children_and_interactions (Profligacy::Swing::Build)</a><br />
45
+ <a href="classes/Profligacy/Swing/Build.html#M000010">setup_children_and_interactions (Profligacy::Swing::Build)</a><br />
46
46
  <a href="classes/Profligacy/LELGroupLayout.html#M000021">setwidth (Profligacy::LELGroupLayout)</a><br />
47
47
  <a href="classes/Proc.html#M000001">to_listener (Proc)</a><br />
48
48
  <a href="classes/Proc.html#M000002">to_runnable (Proc)</a><br />
@@ -182,6 +182,8 @@ module Profligacy
182
182
  configure_interactions_for(child,@contents[child]) if @contents[child]
183
183
  }
184
184
 
185
+ yield @container if block_given?
186
+
185
187
  @container.pack if (prefs[:pack] && @container.respond_to?(:pack))
186
188
  @container.visible = prefs[:visible] if @container.respond_to? :visible
187
189
  @container
Binary file
@@ -90,6 +90,10 @@ module Profligacy
90
90
  end
91
91
  }
92
92
 
93
+ # yield to the caller so that they can configure more before
94
+ # we make it visible and pack it
95
+ yield @container if block_given?
96
+
93
97
  # even though swing doesn't do this, we do
94
98
  @container.pack if @container.respond_to? :pack
95
99
  @container.visible = true if @container.respond_to? :visible
metadata CHANGED
@@ -66,17 +66,17 @@ files:
66
66
  - doc/rdoc/classes/Profligacy/Swing/Listeners.html
67
67
  - doc/rdoc/classes/Profligacy/Swing/RunnableProc.html
68
68
  - doc/rdoc/classes/Profligacy/Swing/RunnableProc.src
69
- - doc/rdoc/classes/Profligacy/Swing/Build.src/M000003.html
70
- - doc/rdoc/classes/Profligacy/Swing/Build.src/M000004.html
71
69
  - doc/rdoc/classes/Profligacy/Swing/Build.src/M000005.html
72
70
  - doc/rdoc/classes/Profligacy/Swing/Build.src/M000006.html
73
71
  - doc/rdoc/classes/Profligacy/Swing/Build.src/M000007.html
74
72
  - doc/rdoc/classes/Profligacy/Swing/Build.src/M000008.html
75
73
  - doc/rdoc/classes/Profligacy/Swing/Build.src/M000009.html
76
- - doc/rdoc/classes/Profligacy/Swing/LEL.src/M000010.html
77
- - doc/rdoc/classes/Profligacy/Swing/LEL.src/M000011.html
78
- - doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/M000012.html
79
- - doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/M000013.html
74
+ - doc/rdoc/classes/Profligacy/Swing/Build.src/M000010.html
75
+ - doc/rdoc/classes/Profligacy/Swing/Build.src/M000011.html
76
+ - doc/rdoc/classes/Profligacy/Swing/LEL.src/M000012.html
77
+ - doc/rdoc/classes/Profligacy/Swing/LEL.src/M000013.html
78
+ - doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/M000003.html
79
+ - doc/rdoc/classes/Profligacy/Swing/RunnableProc.src/M000004.html
80
80
  - doc/rdoc/files/COPYING.html
81
81
  - doc/rdoc/files/LICENSE.html
82
82
  - doc/rdoc/files/README.html
@@ -114,7 +114,7 @@ date: 2007-07-07 04:00:00 +00:00
114
114
  require_paths:
115
115
  - lib
116
116
  version: !ruby/object:Gem::Version
117
- version: 0.3.2
117
+ version: !str 0.4
118
118
  test_files: []
119
119
  bindir: bin
120
120
  dependencies: []
@@ -1,20 +0,0 @@
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 (Profligacy::Swing::Build)</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 lib/profligacy/swing.rb, line 67</span>
14
- 67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">children</span>)
15
- 68: <span class="ruby-ivar">@container_class</span> = <span class="ruby-identifier">children</span>.<span class="ruby-identifier">shift</span>
16
- 69: <span class="ruby-identifier">setup_children_and_interactions</span>(<span class="ruby-identifier">children</span>)
17
- 70: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
18
- 71: <span class="ruby-keyword kw">end</span></pre>
19
- </body>
20
- </html>
@@ -1,18 +0,0 @@
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>interactions (Profligacy::Swing::Build)</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 lib/profligacy/swing.rb, line 73</span>
14
- 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">interactions</span>
15
- 74: <span class="ruby-keyword kw">yield</span> <span class="ruby-ivar">@contents</span>, <span class="ruby-ivar">@interactions</span>
16
- 75: <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>