Update version according to OSCI-883
[packages/precise/mcollective.git] / doc / MCollective / Aggregate / Base.html
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
6         <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
8         <title>Class: MCollective::Aggregate::Base</title>
9
10         <link rel="stylesheet" href="../../rdoc.css" type="text/css" media="screen" />
11
12         <script src="../../js/jquery.js" type="text/javascript"
13                 charset="utf-8"></script>
14         <script src="../../js/thickbox-compressed.js" type="text/javascript"
15                 charset="utf-8"></script>
16         <script src="../../js/quicksearch.js" type="text/javascript"
17                 charset="utf-8"></script>
18         <script src="../../js/darkfish.js" type="text/javascript"
19                 charset="utf-8"></script>
20
21 </head>
22 <body class="class">
23
24         <div id="metadata">
25                 <div id="file-metadata">
26                         <div id="file-list-section" class="section">
27                                 <h3 class="section-header">In Files</h3>
28                                 <div class="section-body">
29                                         <ul>
30                                         
31                                                 <li><a href="../../lib/mcollective/aggregate/base_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
32                                                         class="thickbox" title="lib/mcollective/aggregate/base.rb">lib/mcollective/aggregate/base.rb</a></li>
33                                         
34                                         </ul>
35                                 </div>
36                         </div>
37
38                         
39                 </div>
40
41                 <div id="class-metadata">
42
43                         <!-- Parent Class -->
44                         
45                         <div id="parent-class-section" class="section">
46                                 <h3 class="section-header">Parent</h3>
47                                 
48                                 <p class="link"><a href="../../Object.html">Object</a></p>
49                                 
50                         </div>
51                         
52
53                         <!-- Namespace Contents -->
54                         
55
56                         <!-- Method Quickref -->
57                         
58                         <div id="method-list-section" class="section">
59                                 <h3 class="section-header">Methods</h3>
60                                 <ul class="link-list">
61                                         
62                                         <li><a href="#M000249">::new</a></li>
63                                         
64                                         <li><a href="#M000251">#result_class</a></li>
65                                         
66                                         <li><a href="#M000250">#summarize</a></li>
67                                         
68                                 </ul>
69                         </div>
70                         
71
72                         <!-- Included Modules -->
73                         
74                 </div>
75
76                 <div id="project-metadata">
77                         
78                         
79                         <div id="fileindex-section" class="section project-section">
80                                 <h3 class="section-header">Files</h3>
81                                 <ul>
82                                 
83                                         <li class="file"><a href="../../COPYING.html">COPYING</a></li>
84                                 
85                                         <li class="file"><a href="../../Gemfile.html">Gemfile</a></li>
86                                 
87                                         <li class="file"><a href="../../README.html">README</a></li>
88                                 
89                                         <li class="file"><a href="../../Rakefile.html">Rakefile</a></li>
90                                 
91                                         <li class="file"><a href="../../etc/client_cfg_dist.html">client.cfg.dist</a></li>
92                                 
93                                         <li class="file"><a href="../../etc/data-help_erb.html">data-help.erb</a></li>
94                                 
95                                         <li class="file"><a href="../../etc/discovery-help_erb.html">discovery-help.erb</a></li>
96                                 
97                                         <li class="file"><a href="../../etc/facts_yaml_dist.html">facts.yaml.dist</a></li>
98                                 
99                                         <li class="file"><a href="../../etc/metadata-help_erb.html">metadata-help.erb</a></li>
100                                 
101                                         <li class="file"><a href="../../etc/msg-help_erb.html">msg-help.erb</a></li>
102                                 
103                                         <li class="file"><a href="../../etc/rpc-help_erb.html">rpc-help.erb</a></li>
104                                 
105                                         <li class="file"><a href="../../etc/server_cfg_dist.html">server.cfg.dist</a></li>
106                                 
107                                         <li class="file"><a href="../../etc/ssl/PLACEHOLDER.html">PLACEHOLDER</a></li>
108                                 
109                                         <li class="file"><a href="../../etc/ssl/clients/PLACEHOLDER.html">PLACEHOLDER</a></li>
110                                 
111                                         <li class="file"><a href="../../lib/mcollective/generators/templates/action_snippet_erb.html">action_snippet.erb</a></li>
112                                 
113                                         <li class="file"><a href="../../lib/mcollective/generators/templates/data_input_snippet_erb.html">data_input_snippet.erb</a></li>
114                                 
115                                         <li class="file"><a href="../../lib/mcollective/generators/templates/ddl_erb.html">ddl.erb</a></li>
116                                 
117                                         <li class="file"><a href="../../lib/mcollective/generators/templates/plugin_erb.html">plugin.erb</a></li>
118                                 
119                                         <li class="file"><a href="../../lib/mcollective/locales/en_yml.html">en.yml</a></li>
120                                 
121                                         <li class="file"><a href="../../mcollective_init.html">mcollective.init</a></li>
122                                 
123                                 </ul>
124                         </div>
125                         
126
127                         <div id="classindex-section" class="section project-section">
128                                 <h3 class="section-header">Class Index
129                                         <span class="search-toggle"><img src="../../images/find.png"
130                                                 height="16" width="16" alt="[+]"
131                                                 title="show/hide quicksearch" /></span></h3>
132                                 <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
133                                 <fieldset>
134                                         <legend>Quicksearch</legend>
135                                         <input type="text" name="quicksearch" value=""
136                                                 class="quicksearch-field" />
137                                 </fieldset>
138                                 </form>
139
140                                 <ul class="link-list">
141                                 
142                                         <li><a href="../../MCollective.html">MCollective</a></li>
143                                 
144                                         <li><a href="../../MCollective/Agent.html">MCollective::Agent</a></li>
145                                 
146                                         <li><a href="../../MCollective/Agents.html">MCollective::Agents</a></li>
147                                 
148                                         <li><a href="../../MCollective/Aggregate.html">MCollective::Aggregate</a></li>
149                                 
150                                         <li><a href="../../MCollective/Aggregate/Base.html">MCollective::Aggregate::Base</a></li>
151                                 
152                                         <li><a href="../../MCollective/Aggregate/Result.html">MCollective::Aggregate::Result</a></li>
153                                 
154                                         <li><a href="../../MCollective/Aggregate/Result/Base.html">MCollective::Aggregate::Result::Base</a></li>
155                                 
156                                         <li><a href="../../MCollective/Aggregate/Result/CollectionResult.html">MCollective::Aggregate::Result::CollectionResult</a></li>
157                                 
158                                         <li><a href="../../MCollective/Aggregate/Result/NumericResult.html">MCollective::Aggregate::Result::NumericResult</a></li>
159                                 
160                                         <li><a href="../../MCollective/Application.html">MCollective::Application</a></li>
161                                 
162                                         <li><a href="../../MCollective/Applications.html">MCollective::Applications</a></li>
163                                 
164                                         <li><a href="../../MCollective/Cache.html">MCollective::Cache</a></li>
165                                 
166                                         <li><a href="../../MCollective/Client.html">MCollective::Client</a></li>
167                                 
168                                         <li><a href="../../MCollective/CodedError.html">MCollective::CodedError</a></li>
169                                 
170                                         <li><a href="../../MCollective/Config.html">MCollective::Config</a></li>
171                                 
172                                         <li><a href="../../MCollective/Connector.html">MCollective::Connector</a></li>
173                                 
174                                         <li><a href="../../MCollective/Connector/Base.html">MCollective::Connector::Base</a></li>
175                                 
176                                         <li><a href="../../MCollective/DDL.html">MCollective::DDL</a></li>
177                                 
178                                         <li><a href="../../MCollective/DDL/AgentDDL.html">MCollective::DDL::AgentDDL</a></li>
179                                 
180                                         <li><a href="../../MCollective/DDL/Base.html">MCollective::DDL::Base</a></li>
181                                 
182                                         <li><a href="../../MCollective/DDL/DataDDL.html">MCollective::DDL::DataDDL</a></li>
183                                 
184                                         <li><a href="../../MCollective/DDL/DiscoveryDDL.html">MCollective::DDL::DiscoveryDDL</a></li>
185                                 
186                                         <li><a href="../../MCollective/DDL/ValidatorDDL.html">MCollective::DDL::ValidatorDDL</a></li>
187                                 
188                                         <li><a href="../../MCollective/DDLValidationError.html">MCollective::DDLValidationError</a></li>
189                                 
190                                         <li><a href="../../MCollective/Data.html">MCollective::Data</a></li>
191                                 
192                                         <li><a href="../../MCollective/Data/Base.html">MCollective::Data::Base</a></li>
193                                 
194                                         <li><a href="../../MCollective/Data/Result.html">MCollective::Data::Result</a></li>
195                                 
196                                         <li><a href="../../MCollective/Discovery.html">MCollective::Discovery</a></li>
197                                 
198                                         <li><a href="../../MCollective/Facts.html">MCollective::Facts</a></li>
199                                 
200                                         <li><a href="../../MCollective/Facts/Base.html">MCollective::Facts::Base</a></li>
201                                 
202                                         <li><a href="../../MCollective/Generators.html">MCollective::Generators</a></li>
203                                 
204                                         <li><a href="../../MCollective/Generators/AgentGenerator.html">MCollective::Generators::AgentGenerator</a></li>
205                                 
206                                         <li><a href="../../MCollective/Generators/Base.html">MCollective::Generators::Base</a></li>
207                                 
208                                         <li><a href="../../MCollective/Generators/DataGenerator.html">MCollective::Generators::DataGenerator</a></li>
209                                 
210                                         <li><a href="../../MCollective/InvalidRPCData.html">MCollective::InvalidRPCData</a></li>
211                                 
212                                         <li><a href="../../MCollective/Log.html">MCollective::Log</a></li>
213                                 
214                                         <li><a href="../../MCollective/Logger.html">MCollective::Logger</a></li>
215                                 
216                                         <li><a href="../../MCollective/Logger/Base.html">MCollective::Logger::Base</a></li>
217                                 
218                                         <li><a href="../../MCollective/Logger/Console_logger.html">MCollective::Logger::Console_logger</a></li>
219                                 
220                                         <li><a href="../../MCollective/Logger/File_logger.html">MCollective::Logger::File_logger</a></li>
221                                 
222                                         <li><a href="../../MCollective/Logger/Syslog_logger.html">MCollective::Logger::Syslog_logger</a></li>
223                                 
224                                         <li><a href="../../MCollective/Matcher.html">MCollective::Matcher</a></li>
225                                 
226                                         <li><a href="../../MCollective/Matcher/Parser.html">MCollective::Matcher::Parser</a></li>
227                                 
228                                         <li><a href="../../MCollective/Matcher/Scanner.html">MCollective::Matcher::Scanner</a></li>
229                                 
230                                         <li><a href="../../MCollective/Message.html">MCollective::Message</a></li>
231                                 
232                                         <li><a href="../../MCollective/MissingRPCData.html">MCollective::MissingRPCData</a></li>
233                                 
234                                         <li><a href="../../MCollective/MsgDoesNotMatchRequestID.html">MCollective::MsgDoesNotMatchRequestID</a></li>
235                                 
236                                         <li><a href="../../MCollective/MsgTTLExpired.html">MCollective::MsgTTLExpired</a></li>
237                                 
238                                         <li><a href="../../MCollective/NotTargettedAtUs.html">MCollective::NotTargettedAtUs</a></li>
239                                 
240                                         <li><a href="../../MCollective/Optionparser.html">MCollective::Optionparser</a></li>
241                                 
242                                         <li><a href="../../MCollective/PluginManager.html">MCollective::PluginManager</a></li>
243                                 
244                                         <li><a href="../../MCollective/PluginPackager.html">MCollective::PluginPackager</a></li>
245                                 
246                                         <li><a href="../../MCollective/PluginPackager/AgentDefinition.html">MCollective::PluginPackager::AgentDefinition</a></li>
247                                 
248                                         <li><a href="../../MCollective/PluginPackager/StandardDefinition.html">MCollective::PluginPackager::StandardDefinition</a></li>
249                                 
250                                         <li><a href="../../MCollective/RPC.html">MCollective::RPC</a></li>
251                                 
252                                         <li><a href="../../MCollective/RPC/ActionRunner.html">MCollective::RPC::ActionRunner</a></li>
253                                 
254                                         <li><a href="../../MCollective/RPC/Agent.html">MCollective::RPC::Agent</a></li>
255                                 
256                                         <li><a href="../../MCollective/RPC/Audit.html">MCollective::RPC::Audit</a></li>
257                                 
258                                         <li><a href="../../MCollective/RPC/Client.html">MCollective::RPC::Client</a></li>
259                                 
260                                         <li><a href="../../MCollective/RPC/Helpers.html">MCollective::RPC::Helpers</a></li>
261                                 
262                                         <li><a href="../../MCollective/RPC/Progress.html">MCollective::RPC::Progress</a></li>
263                                 
264                                         <li><a href="../../MCollective/RPC/Reply.html">MCollective::RPC::Reply</a></li>
265                                 
266                                         <li><a href="../../MCollective/RPC/Request.html">MCollective::RPC::Request</a></li>
267                                 
268                                         <li><a href="../../MCollective/RPC/Result.html">MCollective::RPC::Result</a></li>
269                                 
270                                         <li><a href="../../MCollective/RPC/Stats.html">MCollective::RPC::Stats</a></li>
271                                 
272                                         <li><a href="../../MCollective/RPCAborted.html">MCollective::RPCAborted</a></li>
273                                 
274                                         <li><a href="../../MCollective/RPCError.html">MCollective::RPCError</a></li>
275                                 
276                                         <li><a href="../../MCollective/Registration.html">MCollective::Registration</a></li>
277                                 
278                                         <li><a href="../../MCollective/Registration/Base.html">MCollective::Registration::Base</a></li>
279                                 
280                                         <li><a href="../../MCollective/Runner.html">MCollective::Runner</a></li>
281                                 
282                                         <li><a href="../../MCollective/RunnerStats.html">MCollective::RunnerStats</a></li>
283                                 
284                                         <li><a href="../../MCollective/SSL.html">MCollective::SSL</a></li>
285                                 
286                                         <li><a href="../../MCollective/Security.html">MCollective::Security</a></li>
287                                 
288                                         <li><a href="../../MCollective/Security/Base.html">MCollective::Security::Base</a></li>
289                                 
290                                         <li><a href="../../MCollective/SecurityValidationFailed.html">MCollective::SecurityValidationFailed</a></li>
291                                 
292                                         <li><a href="../../MCollective/Shell.html">MCollective::Shell</a></li>
293                                 
294                                         <li><a href="../../MCollective/Translatable.html">MCollective::Translatable</a></li>
295                                 
296                                         <li><a href="../../MCollective/UnixDaemon.html">MCollective::UnixDaemon</a></li>
297                                 
298                                         <li><a href="../../MCollective/UnknownRPCAction.html">MCollective::UnknownRPCAction</a></li>
299                                 
300                                         <li><a href="../../MCollective/UnknownRPCError.html">MCollective::UnknownRPCError</a></li>
301                                 
302                                         <li><a href="../../MCollective/Util.html">MCollective::Util</a></li>
303                                 
304                                         <li><a href="../../MCollective/Validator.html">MCollective::Validator</a></li>
305                                 
306                                         <li><a href="../../MCollective/ValidatorError.html">MCollective::ValidatorError</a></li>
307                                 
308                                         <li><a href="../../MCollective/WindowsDaemon.html">MCollective::WindowsDaemon</a></li>
309                                 
310                                         <li><a href="../../Array.html">Array</a></li>
311                                 
312                                         <li><a href="../../Dir.html">Dir</a></li>
313                                 
314                                         <li><a href="../../Object.html">Object</a></li>
315                                 
316                                         <li><a href="../../String.html">String</a></li>
317                                 
318                                         <li><a href="../../Symbol.html">Symbol</a></li>
319                                 
320                                 </ul>
321                                 <div id="no-class-search-results" style="display: none;">No matching classes.</div>
322                         </div>
323
324                         
325                 </div>
326         </div>
327
328         <div id="documentation">
329                 <h1 class="class">MCollective::Aggregate::Base</h1>
330
331                 <div id="description">
332                         
333                 </div>
334
335                 <!-- Constants -->
336                 
337
338                 <!-- Attributes -->
339                 
340                 <div id="attribute-method-details" class="method-section section">
341                         <h3 class="section-header">Attributes</h3>
342
343                         
344                         <div id="name-attribute-method" class="method-detail">
345                                 <a name="name"></a>
346                                 
347                                 <a name="name="></a>
348                                 
349                                 <div class="method-heading attribute-method-heading">
350                                         <span class="method-name">name</span><span
351                                                 class="attribute-access-type">[RW]</span>
352                                 </div>
353
354                                 <div class="method-description">
355                                 
356                                 <p class="missing-docs">(Not documented)</p>
357                                 
358                                 </div>
359                         </div>
360                         
361                         <div id="result-attribute-method" class="method-detail">
362                                 <a name="result"></a>
363                                 
364                                 <a name="result="></a>
365                                 
366                                 <div class="method-heading attribute-method-heading">
367                                         <span class="method-name">result</span><span
368                                                 class="attribute-access-type">[RW]</span>
369                                 </div>
370
371                                 <div class="method-description">
372                                 
373                                 <p class="missing-docs">(Not documented)</p>
374                                 
375                                 </div>
376                         </div>
377                         
378                         <div id="output-name-attribute-method" class="method-detail">
379                                 <a name="output_name"></a>
380                                 
381                                 <a name="output_name="></a>
382                                 
383                                 <div class="method-heading attribute-method-heading">
384                                         <span class="method-name">output_name</span><span
385                                                 class="attribute-access-type">[RW]</span>
386                                 </div>
387
388                                 <div class="method-description">
389                                 
390                                 <p class="missing-docs">(Not documented)</p>
391                                 
392                                 </div>
393                         </div>
394                         
395                         <div id="action-attribute-method" class="method-detail">
396                                 <a name="action"></a>
397                                 
398                                 <a name="action="></a>
399                                 
400                                 <div class="method-heading attribute-method-heading">
401                                         <span class="method-name">action</span><span
402                                                 class="attribute-access-type">[RW]</span>
403                                 </div>
404
405                                 <div class="method-description">
406                                 
407                                 <p class="missing-docs">(Not documented)</p>
408                                 
409                                 </div>
410                         </div>
411                         
412                         <div id="aggregate-format-attribute-method" class="method-detail">
413                                 <a name="aggregate_format"></a>
414                                 
415                                 <a name="aggregate_format="></a>
416                                 
417                                 <div class="method-heading attribute-method-heading">
418                                         <span class="method-name">aggregate_format</span><span
419                                                 class="attribute-access-type">[RW]</span>
420                                 </div>
421
422                                 <div class="method-description">
423                                 
424                                 <p class="missing-docs">(Not documented)</p>
425                                 
426                                 </div>
427                         </div>
428                         
429                         <div id="arguments-attribute-method" class="method-detail">
430                                 <a name="arguments"></a>
431                                 
432                                 <a name="arguments="></a>
433                                 
434                                 <div class="method-heading attribute-method-heading">
435                                         <span class="method-name">arguments</span><span
436                                                 class="attribute-access-type">[RW]</span>
437                                 </div>
438
439                                 <div class="method-description">
440                                 
441                                 <p class="missing-docs">(Not documented)</p>
442                                 
443                                 </div>
444                         </div>
445                         
446                 </div>
447                 
448
449                 <!-- Methods -->
450                 
451                 <div id="public-class-method-details" class="method-section section">
452                         <h3 class="section-header">Public Class Methods</h3>
453
454                 
455                         <div id="new-method" class="method-detail ">
456                                 <a name="M000249"></a>
457
458                                 <div class="method-heading">
459                                 
460                                         <span class="method-name">new</span><span
461                                                 class="method-args">(output_name, arguments, aggregate_format, action)</span>
462                                         <span class="method-click-advice">click to toggle source</span>
463                                 
464                                 </div>
465
466                                 <div class="method-description">
467                                         
468                                         <p class="missing-docs">(Not documented)</p>
469                                         
470
471                                         
472                                         <div class="method-source-code"
473                                                 id="new-source">
474 <pre>
475     <span class="ruby-comment cmt"># File lib/mcollective/aggregate/base.rb, line 6</span>
476  6:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">output_name</span>, <span class="ruby-identifier">arguments</span>, <span class="ruby-identifier">aggregate_format</span>, <span class="ruby-identifier">action</span>)
477  7:         <span class="ruby-ivar">@name</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">to_s</span>
478  8:         <span class="ruby-ivar">@output_name</span> = <span class="ruby-identifier">output_name</span>
479  9: 
480 10:         <span class="ruby-comment cmt"># Any additional arguments passed in the ddl after the output field will</span>
481 11:         <span class="ruby-comment cmt"># be stored in the arguments array which can be used in the function</span>
482 12:         <span class="ruby-ivar">@arguments</span> = <span class="ruby-identifier">arguments</span>
483 13:         <span class="ruby-ivar">@aggregate_format</span> = <span class="ruby-identifier">aggregate_format</span>
484 14:         <span class="ruby-ivar">@action</span> = <span class="ruby-identifier">action</span>
485 15:         <span class="ruby-ivar">@result</span> = {<span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">:output</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">output_name</span>}
486 16: 
487 17:         <span class="ruby-identifier">startup_hook</span>
488 18:       <span class="ruby-keyword kw">end</span></pre>
489                                         </div>
490                                         
491                                 </div>
492
493                                 
494                         </div>
495
496                 
497                 </div>
498         
499                 <div id="public-instance-method-details" class="method-section section">
500                         <h3 class="section-header">Public Instance Methods</h3>
501
502                 
503                         <div id="result-class-method" class="method-detail ">
504                                 <a name="M000251"></a>
505
506                                 <div class="method-heading">
507                                 
508                                         <span class="method-name">result_class</span><span
509                                                 class="method-args">(type)</span>
510                                         <span class="method-click-advice">click to toggle source</span>
511                                 
512                                 </div>
513
514                                 <div class="method-description">
515                                         
516                                         <p class="missing-docs">(Not documented)</p>
517                                         
518
519                                         
520                                         <div class="method-source-code"
521                                                 id="result-class-source">
522 <pre>
523     <span class="ruby-comment cmt"># File lib/mcollective/aggregate/base.rb, line 35</span>
524 35:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">result_class</span>(<span class="ruby-identifier">type</span>)
525 36:         <span class="ruby-constant">Result</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-node">&quot;#{type.to_s.capitalize}Result&quot;</span>)
526 37:       <span class="ruby-keyword kw">end</span></pre>
527                                         </div>
528                                         
529                                 </div>
530
531                                 
532                         </div>
533
534                 
535                         <div id="summarize-method" class="method-detail ">
536                                 <a name="M000250"></a>
537
538                                 <div class="method-heading">
539                                 
540                                         <span class="method-name">summarize</span><span
541                                                 class="method-args">()</span>
542                                         <span class="method-click-advice">click to toggle source</span>
543                                 
544                                 </div>
545
546                                 <div class="method-description">
547                                         
548                                         <p>
549 Stops execution of the function and returns a specific ResultObject,
550 aggregate functions will most likely override this but this is the simplest
551 case so we might as well default to that
552 </p>
553                                         
554
555                                         
556                                         <div class="method-source-code"
557                                                 id="summarize-source">
558 <pre>
559     <span class="ruby-comment cmt"># File lib/mcollective/aggregate/base.rb, line 29</span>
560 29:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">summarize</span>
561 30:         <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;Result type is not set while trying to summarize aggregate function results&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@result</span>[<span class="ruby-identifier">:type</span>]
562 31: 
563 32:         <span class="ruby-identifier">result_class</span>(<span class="ruby-ivar">@result</span>[<span class="ruby-identifier">:type</span>]).<span class="ruby-identifier">new</span>(<span class="ruby-ivar">@result</span>, <span class="ruby-ivar">@aggregate_format</span>, <span class="ruby-ivar">@action</span>)
564 33:       <span class="ruby-keyword kw">end</span></pre>
565                                         </div>
566                                         
567                                 </div>
568
569                                 
570                         </div>
571
572                 
573                 </div>
574         
575
576         </div>
577
578
579         <div id="rdoc-debugging-section-dump" class="debugging-section">
580         
581                 <p>Disabled; run with --debug to generate this.</p>
582         
583         </div>
584
585         <div id="validator-badges">
586                 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
587                 <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
588                         Rdoc Generator</a> 1.1.6</small>.</p>
589         </div>
590
591 </body>
592 </html>
593