Update version according to OSCI-883
[packages/precise/mcollective.git] / doc / MCollective / RPC / Helpers.html
similarity index 68%
rename from doc/classes/MCollective/RPC/Helpers.html
rename to doc/MCollective/RPC/Helpers.html
index 5e06bcefe02d7e85296927761f1b00284f48f59b..18f9afee378f7aec14dfe57018ae193ef9a72d75 100644 (file)
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html 
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-  <title>Class: MCollective::RPC::Helpers</title>
-  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-  <meta http-equiv="Content-Script-Type" content="text/javascript" />
-  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
-  <script type="text/javascript">
-  // <![CDATA[
-
-  function popupCode( url ) {
-    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
-  }
-
-  function toggleCode( id ) {
-    if ( document.getElementById )
-      elem = document.getElementById( id );
-    else if ( document.all )
-      elem = eval( "document.all." + id );
-    else
-      return false;
-
-    elemStyle = elem.style;
-    
-    if ( elemStyle.display != "block" ) {
-      elemStyle.display = "block"
-    } else {
-      elemStyle.display = "none"
-    }
-
-    return true;
-  }
-  
-  // Make codeblocks hidden by default
-  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-  
-  // ]]>
-  </script>
-
-</head>
-<body>
-
-
+       <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
 
-    <div id="classHeader">
-        <table class="header-table">
-        <tr class="top-aligned-row">
-          <td><strong>Class</strong></td>
-          <td class="class-name-in-header">MCollective::RPC::Helpers</td>
-        </tr>
-        <tr class="top-aligned-row">
-            <td><strong>In:</strong></td>
-            <td>
-                <a href="../../../files/lib/mcollective/rpc/helpers_rb.html">
-                lib/mcollective/rpc/helpers.rb
-                </a>
-        <br />
-            </td>
-        </tr>
+       <title>Class: MCollective::RPC::Helpers</title>
 
-        <tr class="top-aligned-row">
-            <td><strong>Parent:</strong></td>
-            <td>
-                Object
-            </td>
-        </tr>
-        </table>
-    </div>
-  <!-- banner header -->
+       <link rel="stylesheet" href="../../rdoc.css" type="text/css" media="screen" />
 
-  <div id="bodyContent">
+       <script src="../../js/jquery.js" type="text/javascript"
+               charset="utf-8"></script>
+       <script src="../../js/thickbox-compressed.js" type="text/javascript"
+               charset="utf-8"></script>
+       <script src="../../js/quicksearch.js" type="text/javascript"
+               charset="utf-8"></script>
+       <script src="../../js/darkfish.js" type="text/javascript"
+               charset="utf-8"></script>
 
-
-
-  <div id="contextContent">
-
-    <div id="description">
-      <p>
+</head>
+<body class="class">
+
+       <div id="metadata">
+               <div id="file-metadata">
+                       <div id="file-list-section" class="section">
+                               <h3 class="section-header">In Files</h3>
+                               <div class="section-body">
+                                       <ul>
+                                       
+                                               <li><a href="../../lib/mcollective/rpc/helpers_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+                                                       class="thickbox" title="lib/mcollective/rpc/helpers.rb">lib/mcollective/rpc/helpers.rb</a></li>
+                                       
+                                       </ul>
+                               </div>
+                       </div>
+
+                       
+               </div>
+
+               <div id="class-metadata">
+
+                       <!-- Parent Class -->
+                       
+                       <div id="parent-class-section" class="section">
+                               <h3 class="section-header">Parent</h3>
+                               
+                               <p class="link"><a href="../../Object.html">Object</a></p>
+                               
+                       </div>
+                       
+
+                       <!-- Namespace Contents -->
+                       
+
+                       <!-- Method Quickref -->
+                       
+                       <div id="method-list-section" class="section">
+                               <h3 class="section-header">Methods</h3>
+                               <ul class="link-list">
+                                       
+                                       <li><a href="#M000453">::add_simplerpc_options</a></li>
+                                       
+                                       <li><a href="#M000442">::extract_hosts_from_array</a></li>
+                                       
+                                       <li><a href="#M000441">::extract_hosts_from_json</a></li>
+                                       
+                                       <li><a href="#M000451">::old_rpcresults</a></li>
+                                       
+                                       <li><a href="#M000444">::rpcresults</a></li>
+                                       
+                                       <li><a href="#M000450">::text_for_flattened_result</a></li>
+                                       
+                                       <li><a href="#M000445">::text_for_result</a></li>
+                                       
+                               </ul>
+                       </div>
+                       
+
+                       <!-- Included Modules -->
+                       
+               </div>
+
+               <div id="project-metadata">
+                       
+                       
+                       <div id="fileindex-section" class="section project-section">
+                               <h3 class="section-header">Files</h3>
+                               <ul>
+                               
+                                       <li class="file"><a href="../../COPYING.html">COPYING</a></li>
+                               
+                                       <li class="file"><a href="../../Gemfile.html">Gemfile</a></li>
+                               
+                                       <li class="file"><a href="../../README.html">README</a></li>
+                               
+                                       <li class="file"><a href="../../Rakefile.html">Rakefile</a></li>
+                               
+                                       <li class="file"><a href="../../etc/client_cfg_dist.html">client.cfg.dist</a></li>
+                               
+                                       <li class="file"><a href="../../etc/data-help_erb.html">data-help.erb</a></li>
+                               
+                                       <li class="file"><a href="../../etc/discovery-help_erb.html">discovery-help.erb</a></li>
+                               
+                                       <li class="file"><a href="../../etc/facts_yaml_dist.html">facts.yaml.dist</a></li>
+                               
+                                       <li class="file"><a href="../../etc/metadata-help_erb.html">metadata-help.erb</a></li>
+                               
+                                       <li class="file"><a href="../../etc/msg-help_erb.html">msg-help.erb</a></li>
+                               
+                                       <li class="file"><a href="../../etc/rpc-help_erb.html">rpc-help.erb</a></li>
+                               
+                                       <li class="file"><a href="../../etc/server_cfg_dist.html">server.cfg.dist</a></li>
+                               
+                                       <li class="file"><a href="../../etc/ssl/PLACEHOLDER.html">PLACEHOLDER</a></li>
+                               
+                                       <li class="file"><a href="../../etc/ssl/clients/PLACEHOLDER.html">PLACEHOLDER</a></li>
+                               
+                                       <li class="file"><a href="../../lib/mcollective/generators/templates/action_snippet_erb.html">action_snippet.erb</a></li>
+                               
+                                       <li class="file"><a href="../../lib/mcollective/generators/templates/data_input_snippet_erb.html">data_input_snippet.erb</a></li>
+                               
+                                       <li class="file"><a href="../../lib/mcollective/generators/templates/ddl_erb.html">ddl.erb</a></li>
+                               
+                                       <li class="file"><a href="../../lib/mcollective/generators/templates/plugin_erb.html">plugin.erb</a></li>
+                               
+                                       <li class="file"><a href="../../lib/mcollective/locales/en_yml.html">en.yml</a></li>
+                               
+                                       <li class="file"><a href="../../mcollective_init.html">mcollective.init</a></li>
+                               
+                               </ul>
+                       </div>
+                       
+
+                       <div id="classindex-section" class="section project-section">
+                               <h3 class="section-header">Class Index
+                                       <span class="search-toggle"><img src="../../images/find.png"
+                                               height="16" width="16" alt="[+]"
+                                               title="show/hide quicksearch" /></span></h3>
+                               <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
+                               <fieldset>
+                                       <legend>Quicksearch</legend>
+                                       <input type="text" name="quicksearch" value=""
+                                               class="quicksearch-field" />
+                               </fieldset>
+                               </form>
+
+                               <ul class="link-list">
+                               
+                                       <li><a href="../../MCollective.html">MCollective</a></li>
+                               
+                                       <li><a href="../../MCollective/Agent.html">MCollective::Agent</a></li>
+                               
+                                       <li><a href="../../MCollective/Agents.html">MCollective::Agents</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate.html">MCollective::Aggregate</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate/Base.html">MCollective::Aggregate::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate/Result.html">MCollective::Aggregate::Result</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate/Result/Base.html">MCollective::Aggregate::Result::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate/Result/CollectionResult.html">MCollective::Aggregate::Result::CollectionResult</a></li>
+                               
+                                       <li><a href="../../MCollective/Aggregate/Result/NumericResult.html">MCollective::Aggregate::Result::NumericResult</a></li>
+                               
+                                       <li><a href="../../MCollective/Application.html">MCollective::Application</a></li>
+                               
+                                       <li><a href="../../MCollective/Applications.html">MCollective::Applications</a></li>
+                               
+                                       <li><a href="../../MCollective/Cache.html">MCollective::Cache</a></li>
+                               
+                                       <li><a href="../../MCollective/Client.html">MCollective::Client</a></li>
+                               
+                                       <li><a href="../../MCollective/CodedError.html">MCollective::CodedError</a></li>
+                               
+                                       <li><a href="../../MCollective/Config.html">MCollective::Config</a></li>
+                               
+                                       <li><a href="../../MCollective/Connector.html">MCollective::Connector</a></li>
+                               
+                                       <li><a href="../../MCollective/Connector/Base.html">MCollective::Connector::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL.html">MCollective::DDL</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL/AgentDDL.html">MCollective::DDL::AgentDDL</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL/Base.html">MCollective::DDL::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL/DataDDL.html">MCollective::DDL::DataDDL</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL/DiscoveryDDL.html">MCollective::DDL::DiscoveryDDL</a></li>
+                               
+                                       <li><a href="../../MCollective/DDL/ValidatorDDL.html">MCollective::DDL::ValidatorDDL</a></li>
+                               
+                                       <li><a href="../../MCollective/DDLValidationError.html">MCollective::DDLValidationError</a></li>
+                               
+                                       <li><a href="../../MCollective/Data.html">MCollective::Data</a></li>
+                               
+                                       <li><a href="../../MCollective/Data/Base.html">MCollective::Data::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Data/Result.html">MCollective::Data::Result</a></li>
+                               
+                                       <li><a href="../../MCollective/Discovery.html">MCollective::Discovery</a></li>
+                               
+                                       <li><a href="../../MCollective/Facts.html">MCollective::Facts</a></li>
+                               
+                                       <li><a href="../../MCollective/Facts/Base.html">MCollective::Facts::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Generators.html">MCollective::Generators</a></li>
+                               
+                                       <li><a href="../../MCollective/Generators/AgentGenerator.html">MCollective::Generators::AgentGenerator</a></li>
+                               
+                                       <li><a href="../../MCollective/Generators/Base.html">MCollective::Generators::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Generators/DataGenerator.html">MCollective::Generators::DataGenerator</a></li>
+                               
+                                       <li><a href="../../MCollective/InvalidRPCData.html">MCollective::InvalidRPCData</a></li>
+                               
+                                       <li><a href="../../MCollective/Log.html">MCollective::Log</a></li>
+                               
+                                       <li><a href="../../MCollective/Logger.html">MCollective::Logger</a></li>
+                               
+                                       <li><a href="../../MCollective/Logger/Base.html">MCollective::Logger::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Logger/Console_logger.html">MCollective::Logger::Console_logger</a></li>
+                               
+                                       <li><a href="../../MCollective/Logger/File_logger.html">MCollective::Logger::File_logger</a></li>
+                               
+                                       <li><a href="../../MCollective/Logger/Syslog_logger.html">MCollective::Logger::Syslog_logger</a></li>
+                               
+                                       <li><a href="../../MCollective/Matcher.html">MCollective::Matcher</a></li>
+                               
+                                       <li><a href="../../MCollective/Matcher/Parser.html">MCollective::Matcher::Parser</a></li>
+                               
+                                       <li><a href="../../MCollective/Matcher/Scanner.html">MCollective::Matcher::Scanner</a></li>
+                               
+                                       <li><a href="../../MCollective/Message.html">MCollective::Message</a></li>
+                               
+                                       <li><a href="../../MCollective/MissingRPCData.html">MCollective::MissingRPCData</a></li>
+                               
+                                       <li><a href="../../MCollective/MsgDoesNotMatchRequestID.html">MCollective::MsgDoesNotMatchRequestID</a></li>
+                               
+                                       <li><a href="../../MCollective/MsgTTLExpired.html">MCollective::MsgTTLExpired</a></li>
+                               
+                                       <li><a href="../../MCollective/NotTargettedAtUs.html">MCollective::NotTargettedAtUs</a></li>
+                               
+                                       <li><a href="../../MCollective/Optionparser.html">MCollective::Optionparser</a></li>
+                               
+                                       <li><a href="../../MCollective/PluginManager.html">MCollective::PluginManager</a></li>
+                               
+                                       <li><a href="../../MCollective/PluginPackager.html">MCollective::PluginPackager</a></li>
+                               
+                                       <li><a href="../../MCollective/PluginPackager/AgentDefinition.html">MCollective::PluginPackager::AgentDefinition</a></li>
+                               
+                                       <li><a href="../../MCollective/PluginPackager/StandardDefinition.html">MCollective::PluginPackager::StandardDefinition</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC.html">MCollective::RPC</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/ActionRunner.html">MCollective::RPC::ActionRunner</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Agent.html">MCollective::RPC::Agent</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Audit.html">MCollective::RPC::Audit</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Client.html">MCollective::RPC::Client</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Helpers.html">MCollective::RPC::Helpers</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Progress.html">MCollective::RPC::Progress</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Reply.html">MCollective::RPC::Reply</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Request.html">MCollective::RPC::Request</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Result.html">MCollective::RPC::Result</a></li>
+                               
+                                       <li><a href="../../MCollective/RPC/Stats.html">MCollective::RPC::Stats</a></li>
+                               
+                                       <li><a href="../../MCollective/RPCAborted.html">MCollective::RPCAborted</a></li>
+                               
+                                       <li><a href="../../MCollective/RPCError.html">MCollective::RPCError</a></li>
+                               
+                                       <li><a href="../../MCollective/Registration.html">MCollective::Registration</a></li>
+                               
+                                       <li><a href="../../MCollective/Registration/Base.html">MCollective::Registration::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/Runner.html">MCollective::Runner</a></li>
+                               
+                                       <li><a href="../../MCollective/RunnerStats.html">MCollective::RunnerStats</a></li>
+                               
+                                       <li><a href="../../MCollective/SSL.html">MCollective::SSL</a></li>
+                               
+                                       <li><a href="../../MCollective/Security.html">MCollective::Security</a></li>
+                               
+                                       <li><a href="../../MCollective/Security/Base.html">MCollective::Security::Base</a></li>
+                               
+                                       <li><a href="../../MCollective/SecurityValidationFailed.html">MCollective::SecurityValidationFailed</a></li>
+                               
+                                       <li><a href="../../MCollective/Shell.html">MCollective::Shell</a></li>
+                               
+                                       <li><a href="../../MCollective/Translatable.html">MCollective::Translatable</a></li>
+                               
+                                       <li><a href="../../MCollective/UnixDaemon.html">MCollective::UnixDaemon</a></li>
+                               
+                                       <li><a href="../../MCollective/UnknownRPCAction.html">MCollective::UnknownRPCAction</a></li>
+                               
+                                       <li><a href="../../MCollective/UnknownRPCError.html">MCollective::UnknownRPCError</a></li>
+                               
+                                       <li><a href="../../MCollective/Util.html">MCollective::Util</a></li>
+                               
+                                       <li><a href="../../MCollective/Validator.html">MCollective::Validator</a></li>
+                               
+                                       <li><a href="../../MCollective/ValidatorError.html">MCollective::ValidatorError</a></li>
+                               
+                                       <li><a href="../../MCollective/WindowsDaemon.html">MCollective::WindowsDaemon</a></li>
+                               
+                                       <li><a href="../../Array.html">Array</a></li>
+                               
+                                       <li><a href="../../Dir.html">Dir</a></li>
+                               
+                                       <li><a href="../../Object.html">Object</a></li>
+                               
+                                       <li><a href="../../String.html">String</a></li>
+                               
+                                       <li><a href="../../Symbol.html">Symbol</a></li>
+                               
+                               </ul>
+                               <div id="no-class-search-results" style="display: none;">No matching classes.</div>
+                       </div>
+
+                       
+               </div>
+       </div>
+
+       <div id="documentation">
+               <h1 class="class">MCollective::RPC::Helpers</h1>
+
+               <div id="description">
+                       <p>
 Various utilities for the <a href="../RPC.html">RPC</a> system
 </p>
 
-    </div>
-
-
-   </div>
-
-    <div id="method-list">
-      <h3 class="section-bar">Methods</h3>
-
-      <div class="name-list">
-      <a href="#M000050">add_simplerpc_options</a>&nbsp;&nbsp;
-      <a href="#M000045">extract_hosts_from_array</a>&nbsp;&nbsp;
-      <a href="#M000044">extract_hosts_from_json</a>&nbsp;&nbsp;
-      <a href="#M000049">old_rpcresults</a>&nbsp;&nbsp;
-      <a href="#M000046">rpcresults</a>&nbsp;&nbsp;
-      <a href="#M000048">text_for_flattened_result</a>&nbsp;&nbsp;
-      <a href="#M000047">text_for_result</a>&nbsp;&nbsp;
-      </div>
-    </div>
-
-  </div>
-
-
-    <!-- if includes -->
-
-    <div id="section">
-
+               </div>
 
+               <!-- Constants -->
+               
 
+               <!-- Attributes -->
+               
 
+               <!-- Methods -->
+               
+               <div id="public-class-method-details" class="method-section section">
+                       <h3 class="section-header">Public Class Methods</h3>
 
-      
+               
+                       <div id="add-simplerpc-options-method" class="method-detail ">
+                               <a name="M000453"></a>
 
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">add_simplerpc_options</span><span
+                                               class="method-args">(parser, options)</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
 
-    <!-- if method_list -->
-    <div id="methods">
-      <h3 class="section-bar">Public Class methods</h3>
-
-      <div id="method-M000050" class="method-detail">
-        <a name="M000050"></a>
-
-        <div class="method-heading">
-          <a href="#M000050" class="method-signature">
-          <span class="method-name">add_simplerpc_options</span><span class="method-args">(parser, options)</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+                               <div class="method-description">
+                                       
+                                       <p>
 Add SimpleRPC common options
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000050-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="add-simplerpc-options-source">
 <pre>
      <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 254</span>
 254:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add_simplerpc_options</span>(<span class="ruby-identifier">parser</span>, <span class="ruby-identifier">options</span>)
@@ -187,29 +427,37 @@ Add SimpleRPC common options
 300: 
 301:           <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;--display has to be one of 'ok', 'all' or 'failed'&quot;</span> <span class="ruby-keyword kw">unless</span> [<span class="ruby-identifier">:ok</span>, <span class="ruby-identifier">:failed</span>, <span class="ruby-identifier">:always</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:force_display_mode</span>])
 302:         <span class="ruby-keyword kw">end</span>
-303:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000045" class="method-detail">
-        <a name="M000045"></a>
-
-        <div class="method-heading">
-          <a href="#M000045" class="method-signature">
-          <span class="method-name">extract_hosts_from_array</span><span class="method-args">(hosts)</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+303:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="extract-hosts-from-array-method" class="method-detail ">
+                               <a name="M000442"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">extract_hosts_from_array</span><span
+                                               class="method-args">(hosts)</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Given an array of something, make sure each is a string chomp off any new
 lines and return just the array of hosts
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000045-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="extract-hosts-from-array-source">
 <pre>
     <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 29</span>
 29:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">extract_hosts_from_array</span>(<span class="ruby-identifier">hosts</span>)
@@ -217,25 +465,31 @@ lines and return just the array of hosts
 31:           <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;#{host} should be a string&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">host</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
 32:           <span class="ruby-identifier">host</span>.<span class="ruby-identifier">chomp</span>
 33:         <span class="ruby-keyword kw">end</span>
-34:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000044" class="method-detail">
-        <a name="M000044"></a>
-
-        <div class="method-heading">
-          <a href="#M000044" class="method-signature">
-          <span class="method-name">extract_hosts_from_json</span><span class="method-args">(json)</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+34:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="extract-hosts-from-json-method" class="method-detail ">
+                               <a name="M000441"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">extract_hosts_from_json</span><span
+                                               class="method-args">(json)</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Parse JSON output as produced by printrpc and extract the
-&quot;sender&quot; of each rpc response
+&#8220;sender&#8221; of each rpc response
 </p>
 <p>
 The simplist valid JSON based data would be:
@@ -250,9 +504,11 @@ The simplist valid JSON based data would be:
 <p>
 ]
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000044-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="extract-hosts-from-json-source">
 <pre>
     <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 14</span>
 14:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">extract_hosts_from_json</span>(<span class="ruby-identifier">json</span>)
@@ -266,29 +522,37 @@ The simplist valid JSON based data would be:
 22: 
 23:           <span class="ruby-identifier">host</span>[<span class="ruby-value str">&quot;sender&quot;</span>]
 24:         <span class="ruby-keyword kw">end</span>.<span class="ruby-identifier">uniq</span>
-25:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000049" class="method-detail">
-        <a name="M000049"></a>
-
-        <div class="method-heading">
-          <a href="#M000049" class="method-signature">
-          <span class="method-name">old_rpcresults</span><span class="method-args">(result, flags = {})</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+25:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="old-rpcresults-method" class="method-detail ">
+                               <a name="M000451"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">old_rpcresults</span><span
+                                               class="method-args">(result, flags = {})</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Backward compatible display block for results without a <a
 href="../DDL.html">DDL</a>
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000049-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="old-rpcresults-source">
 <pre>
      <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 202</span>
 202:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">old_rpcresults</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">flags</span> = {})
@@ -340,23 +604,29 @@ href="../DDL.html">DDL</a>
 248:         <span class="ruby-keyword kw">end</span>
 249: 
 250:         <span class="ruby-identifier">result_text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&quot;</span>
-251:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000046" class="method-detail">
-        <a name="M000046"></a>
-
-        <div class="method-heading">
-          <a href="#M000046" class="method-signature">
-          <span class="method-name">rpcresults</span><span class="method-args">(result, flags = {})</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+251:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="rpcresults-method" class="method-detail ">
+                               <a name="M000444"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">rpcresults</span><span
+                                               class="method-args">(result, flags = {})</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Returns a blob of text representing the results in a standard way
 </p>
 <p>
@@ -378,13 +648,15 @@ flags:
    printrpc exim.mailq, :verbose =&gt; true
 </pre>
 <p>
-If you&#8216;ve asked it to flatten the result it will not print sender
-hostnames, it will just print the result as if it&#8216;s one huge result,
+If you&#8217;ve asked it to flatten the result it will not print sender
+hostnames, it will just print the result as if it&#8217;s one huge result,
 handy for things like showing a combined mailq.
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000046-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="rpcresults-source">
 <pre>
      <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 54</span>
  54:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">rpcresults</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">flags</span> = {})
@@ -449,28 +721,36 @@ handy for things like showing a combined mailq.
 113:         <span class="ruby-keyword kw">end</span>
 114: 
 115:         <span class="ruby-identifier">result_text</span>
-116:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000048" class="method-detail">
-        <a name="M000048"></a>
-
-        <div class="method-heading">
-          <a href="#M000048" class="method-signature">
-          <span class="method-name">text_for_flattened_result</span><span class="method-args">(status, result)</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+116:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="text-for-flattened-result-method" class="method-detail ">
+                               <a name="M000450"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">text_for_flattened_result</span><span
+                                               class="method-args">(status, result)</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Returns text representing a flattened result of only good data
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000048-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="text-for-flattened-result-source">
 <pre>
      <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 189</span>
 189:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">text_for_flattened_result</span>(<span class="ruby-identifier">status</span>, <span class="ruby-identifier">result</span>)
@@ -483,28 +763,36 @@ Returns text representing a flattened result of only good data
 196:             <span class="ruby-identifier">result_text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">result</span>
 197:           <span class="ruby-keyword kw">end</span>
 198:         <span class="ruby-keyword kw">end</span>
-199:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
-
-      <div id="method-M000047" class="method-detail">
-        <a name="M000047"></a>
-
-        <div class="method-heading">
-          <a href="#M000047" class="method-signature">
-          <span class="method-name">text_for_result</span><span class="method-args">(sender, status, msg, result, ddl)</span>
-          </a>
-        </div>
-      
-        <div class="method-description">
-          <p>
+199:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
+
+                               
+                       </div>
+
+               
+                       <div id="text-for-result-method" class="method-detail ">
+                               <a name="M000445"></a>
+
+                               <div class="method-heading">
+                               
+                                       <span class="method-name">text_for_result</span><span
+                                               class="method-args">(sender, status, msg, result, ddl)</span>
+                                       <span class="method-click-advice">click to toggle source</span>
+                               
+                               </div>
+
+                               <div class="method-description">
+                                       
+                                       <p>
 Return text representing a result
 </p>
-          <p><a class="source-toggle" href="#"
-            onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
-          <div class="method-source-code" id="M000047-source">
+                                       
+
+                                       
+                                       <div class="method-source-code"
+                                               id="text-for-result-source">
 <pre>
      <span class="ruby-comment cmt"># File lib/mcollective/rpc/helpers.rb, line 119</span>
 119:       <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">text_for_result</span>(<span class="ruby-identifier">sender</span>, <span class="ruby-identifier">status</span>, <span class="ruby-identifier">msg</span>, <span class="ruby-identifier">result</span>, <span class="ruby-identifier">ddl</span>)
@@ -574,22 +862,33 @@ Return text representing a result
 183: 
 184:         <span class="ruby-identifier">result_text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
 185:         <span class="ruby-identifier">result_text</span>
-186:       <span class="ruby-keyword kw">end</span>
-</pre>
-          </div>
-        </div>
-      </div>
+186:       <span class="ruby-keyword kw">end</span></pre>
+                                       </div>
+                                       
+                               </div>
 
+                               
+                       </div>
 
-    </div>
+               
+               </div>
+       
 
+       </div>
 
-  </div>
 
+       <div id="rdoc-debugging-section-dump" class="debugging-section">
+       
+               <p>Disabled; run with --debug to generate this.</p>
+       
+       </div>
 
-<div id="validator-badges">
-  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
+       <div id="validator-badges">
+               <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+               <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
+                       Rdoc Generator</a> 1.1.6</small>.</p>
+       </div>
 
 </body>
-</html>
\ No newline at end of file
+</html>
+