doc/R509/Cert/Extensions/PolicyInformation.html in r509-0.10.0 vs doc/R509/Cert/Extensions/PolicyInformation.html in r509-1.0
- old
+ new
@@ -1,106 +1,108 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: R509::Cert::Extensions::PolicyInformation
- — Documentation by YARD 0.8.6.1
+ — Documentation by YARD 0.9.5
</title>
<link rel="stylesheet" href="../../../css/style.css" type="text/css" 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;
+ pathId = "R509::Cert::Extensions::PolicyInformation";
relpath = '../../../';
- framesUrl = "../../../frames.html#!" + escape(window.location.href);
</script>
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
</head>
<body>
- <div id="header">
- <div id="menu">
+ <div class="nav_wrap">
+ <iframe id="nav" src="../../../class_list.html"></iframe>
+ <div id="resizer"></div>
+ </div>
+
+ <div id="main" tabindex="-1">
+ <div id="header">
+ <div id="menu">
<a href="../../../_index.html">Index (P)</a> »
<span class='title'><span class='object_link'><a href="../../../R509.html" title="R509 (module)">R509</a></span></span> » <span class='title'><span class='object_link'><a href="../../Cert.html" title="R509::Cert (class)">Cert</a></span></span> » <span class='title'><span class='object_link'><a href="../Extensions.html" title="R509::Cert::Extensions (module)">Extensions</a></span></span>
»
<span class="title">PolicyInformation</span>
-
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
- <div id="search">
+ <div id="search">
<a class="full_list_link" id="class_list_link"
href="../../../class_list.html">
- Class List
+
+ <svg width="24" height="24">
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
+ </svg>
</a>
- <a class="full_list_link" id="method_list_link"
- href="../../../method_list.html">
- Method List
- </a>
-
- <a class="full_list_link" id="file_list_link"
- href="../../../file_list.html">
- File List
- </a>
-
</div>
- <div class="clear"></div>
- </div>
+ <div class="clear"></div>
+ </div>
- <iframe id="search_frame"></iframe>
+ <iframe id="search_frame" src="../../../class_list.html"></iframe>
- <div id="content"><h1>Class: R509::Cert::Extensions::PolicyInformation
+ <div id="content"><h1>Class: R509::Cert::Extensions::PolicyInformation
</h1>
-
-<dl class="box">
+<div class="box_info">
- <dt class="r1">Inherits:</dt>
- <dd class="r1">
+ <dl>
+ <dt>Inherits:</dt>
+ <dd>
<span class="inheritName">Object</span>
<ul class="fullTree">
<li>Object</li>
<li class="next">R509::Cert::Extensions::PolicyInformation</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
- </dd>
-
+ </dd>
+ </dl>
+
-
-
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/r509/cert/extensions/certificate_policies.rb</dd>
+
-</dl>
-<div class="clear"></div>
+
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>lib/r509/cert/extensions/certificate_policies.rb</dd>
+ </dl>
+
+</div>
+
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>This class is used to help build the certificate policies extension</p>
@@ -117,17 +119,17 @@
</div>
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#policy_identifier-instance_method" title="#policy_identifier (instance method)">- (Object) <strong>policy_identifier</strong> </a>
+ <a href="#policy_identifier-instance_method" title="#policy_identifier (instance method)">#<strong>policy_identifier</strong> ⇒ Object </a>
</span>
@@ -152,11 +154,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#policy_qualifiers-instance_method" title="#policy_qualifiers (instance method)">- (Object) <strong>policy_qualifiers</strong> </a>
+ <a href="#policy_qualifiers-instance_method" title="#policy_qualifiers (instance method)">#<strong>policy_qualifiers</strong> ⇒ Object </a>
</span>
@@ -186,19 +188,19 @@
<h2>
Instance Method Summary
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ <small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (PolicyInformation) <strong>initialize</strong>(data) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data) ⇒ PolicyInformation </a>
</span>
@@ -220,11 +222,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a>
+ <a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
</span>
@@ -242,11 +244,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
+ <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
</span>
@@ -270,20 +272,20 @@
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::PolicyInformation (class)">PolicyInformation</a></span></tt>) <strong>initialize</strong>(data)
+ #<strong>initialize</strong>(data) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::PolicyInformation (class)">PolicyInformation</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
-<p>A new instance of PolicyInformation</p>
+<p>Returns a new instance of PolicyInformation</p>
</div>
</div>
<div class="tags">
@@ -311,16 +313,16 @@
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line 131</span>
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
<span class='comment'># store the policy identifier OID
</span> <span class='ivar'>@policy_identifier</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
+
<span class='comment'># iterate the policy qualifiers if any exist
-</span> <span class='kw'>if</span> <span class='kw'>not</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
- <span class='ivar'>@policy_qualifiers</span> <span class='op'>=</span> <span class='const'>PolicyQualifiers</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
- <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pq'>pq</span><span class='op'>|</span>
- <span class='ivar'>@policy_qualifiers</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_pq'>pq</span><span class='rparen'>)</span>
- <span class='kw'>end</span>
+</span> <span class='kw'>return</span> <span class='kw'>if</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
+ <span class='ivar'>@policy_qualifiers</span> <span class='op'>=</span> <span class='const'>PolicyQualifiers</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
+ <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pq'>pq</span><span class='op'>|</span>
+ <span class='ivar'>@policy_qualifiers</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_pq'>pq</span><span class='rparen'>)</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -334,11 +336,11 @@
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="policy_identifier-instance_method">
- - (<tt>Object</tt>) <strong>policy_identifier</strong> <span class="extras">(readonly)</span>
+ #<strong>policy_identifier</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
@@ -377,11 +379,11 @@
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="policy_qualifiers-instance_method">
- - (<tt>Object</tt>) <strong>policy_qualifiers</strong> <span class="extras">(readonly)</span>
+ #<strong>policy_qualifiers</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
@@ -425,11 +427,11 @@
<div class="method_details first">
<h3 class="signature first" id="to_h-instance_method">
- - (<tt>Hash</tt>) <strong>to_h</strong>
+ #<strong>to_h</strong> ⇒ <tt>Hash</tt>
@@ -483,11 +485,11 @@
</div>
<div class="method_details ">
<h3 class="signature " id="to_yaml-instance_method">
- - (<tt>YAML</tt>) <strong>to_yaml</strong>
+ #<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
@@ -536,13 +538,14 @@
</div>
</div>
- <div id="footer">
- Generated on Sun Jan 26 13:37:29 2014 by
+ <div id="footer">
+ Generated on Tue Dec 6 17:27:42 2016 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.6.1 (ruby-2.0.0).
+ 0.9.5 (ruby-2.4.0).
</div>
+ </div>
</body>
</html>
\ No newline at end of file