doc/R509/Config/CAConfigPool.html in r509-0.9.2 vs doc/R509/Config/CAConfigPool.html in r509-0.10.0

- old
+ new

@@ -4,17 +4,17 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Class: R509::Config::CAConfigPool - &mdash; Documentation by YARD 0.8.5 + &mdash; Documentation by YARD 0.8.6.1 </title> - <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" /> - <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> hasFrames = window.top.frames.main ? true : false; relpath = '../../'; framesUrl = "../../frames.html#!" + escape(window.location.href); @@ -92,11 +92,11 @@ <dt class="r2 last">Defined in:</dt> - <dd class="r2 last">lib/r509/config.rb</dd> + <dd class="r2 last">lib/r509/config/ca_config.rb</dd> </dl> <div class="clear"></div> <h2>Overview</h2><div class="docstring"> @@ -254,10 +254,54 @@ </div></span> </li> + <li class="public "> + <span class="summary_signature"> + + <a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + + <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + </ul> <div id="constructor_details" class="method_details_list"> <h2>Constructor Details</h2> @@ -328,16 +372,16 @@ <tr> <td> <pre class="lines"> -257 -258 -259</pre> +19 +20 +21</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 257</span> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 19</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_configs'>configs</span><span class='rparen'>)</span> <span class='ivar'>@configs</span> <span class='op'>=</span> <span class='id identifier rubyid_configs'>configs</span> <span class='kw'>end</span></pre> </td> @@ -413,21 +457,21 @@ <tr> <td> <pre class="lines"> -280 -281 -282 -283 -284 -285 -286 -287</pre> +52 +53 +54 +55 +56 +57 +58 +59</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 280</span> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 52</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_yaml'>from_yaml</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_yaml_data'>yaml_data</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='id identifier rubyid_conf'>conf</span> <span class='op'>=</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_yaml_data'>yaml_data</span><span class='rparen'>)</span> <span class='id identifier rubyid_configs'>configs</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='id identifier rubyid_conf'>conf</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_ca_name'>ca_name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='op'>|</span> @@ -470,16 +514,16 @@ <tr> <td> <pre class="lines"> -267 -268 -269</pre> +29 +30 +31</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 267</span> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 29</span> <span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='ivar'>@configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> @@ -529,16 +573,16 @@ <tr> <td> <pre class="lines"> -272 -273 -274</pre> +34 +35 +36</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 272</span> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 34</span> <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span> <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span> <span class='kw'>end</span></pre> </td> @@ -570,32 +614,136 @@ <tr> <td> <pre class="lines"> -262 -263 -264</pre> +24 +25 +26</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 262</span> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 24</span> <span class='kw'>def</span> <span class='id identifier rubyid_names'>names</span> <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> + <div class="method_details "> + <h3 class="signature " id="to_h-instance_method"> + + - (<tt>Hash</tt>) <strong>to_h</strong> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + + </div> +</div> +<div class="tags"> + +<p class="tag_title">Returns:</p> +<ul class="return"> + + <li> + + + <span class='type'>(<tt>Hash</tt>)</span> + + + + </li> + +</ul> +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +39 +40 +41</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 39</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span> + <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='ivar'>@configs</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='rbrace'>}</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> </div> + + <div class="method_details "> + <h3 class="signature " id="to_yaml-instance_method"> + + - (<tt>YAML</tt>) <strong>to_yaml</strong> + + + + +</h3><div class="docstring"> + <div class="discussion"> + + + </div> +</div> +<div class="tags"> + +<p class="tag_title">Returns:</p> +<ul class="return"> + + <li> + + + <span class='type'>(<tt>YAML</tt>)</span> + + + + </li> + +</ul> + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +44 +45 +46</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 44</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span> + <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span><span class='period'>.</span><span class='id identifier rubyid_to_yaml'>to_yaml</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + </div> + +</div> + <div id="footer"> - Generated on Tue Apr 23 10:46:05 2013 by + Generated on Sun Jan 26 13:37:27 2014 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.5 (ruby-1.9.3). + 0.8.6.1 (ruby-2.0.0). </div> </body> </html> \ No newline at end of file