docs/EC2/Host.html in ec2-host-0.6.0 vs docs/EC2/Host.html in ec2-host-1.0.0
- old
+ new
@@ -1,111 +1,112 @@
-<!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: EC2::Host
- — Documentation by YARD 0.8.7.6
+ — Documentation by YARD 0.9.9
</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 = "EC2::Host";
relpath = '../';
- framesUrl = "../frames.html#!EC2/Host.html";
</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?1"></iframe>
+ <div id="resizer"></div>
+ </div>
+
+ <div id="main" tabindex="-1">
+ <div id="header">
+ <div id="menu">
<a href="../_index.html">Index (H)</a> »
<span class='title'><span class='object_link'><a href="../EC2.html" title="EC2 (class)">EC2</a></span></span>
»
<span class="title">Host</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>
-
- <div id="content"><h1>Class: EC2::Host
+ <div id="content"><h1>Class: EC2::Host
</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">EC2::Host</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
- </dd>
-
+ </dd>
+ </dl>
+
-
-
- <dt class="r2">Includes:</dt>
- <dd class="r2">Enumerable</dd>
-
-
+ <dl>
+ <dt>Includes:</dt>
+ <dd>Enumerable</dd>
+ </dl>
- <dt class="r1 last">Defined in:</dt>
- <dd class="r1 last">lib/ec2/host.rb<span class="defines">,<br />
- lib/ec2/host/cli.rb,<br /> lib/ec2/host/config.rb,<br /> lib/ec2/host/version.rb,<br /> lib/ec2/host/host_data.rb,<br /> lib/ec2/host/role_data.rb,<br /> lib/ec2/host/hash_util.rb,<br /> lib/ec2/host/ec2_client.rb,<br /> lib/ec2/host/string_util.rb</span>
+
+
+
+
+
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>lib/ec2/host.rb<span class="defines">,<br />
+ lib/ec2/host/cli.rb,<br /> lib/ec2/host/config.rb,<br /> lib/ec2/host/version.rb,<br /> lib/ec2/host/hash_util.rb,<br /> lib/ec2/host/host_data.rb,<br /> lib/ec2/host/role_data.rb,<br /> lib/ec2/host/ec2_client.rb,<br /> lib/ec2/host/string_util.rb</span>
</dd>
+ </dl>
-</dl>
-<div class="clear"></div>
+</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Search EC2 hosts from tags</p>
@@ -163,31 +164,29 @@
</p>
<h2>Constant Summary</h2>
-
- <dl class="constants">
-
- <dt id="VERSION-constant" class="">VERSION =
-
- </dt>
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.5.1</span><span class='tstring_end'>'</span></span></pre></dd>
-
- </dl>
-
+ <dl class="constants">
+
+ <dt id="VERSION-constant" class="">VERSION =
+
+ </dt>
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.6.0</span><span class='tstring_end'>'</span></span></pre></dd>
+
+ </dl>
- <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="#conditions-instance_method" title="#conditions (instance method)">- (Object) <strong>conditions</strong> </a>
+ <a href="#conditions-instance_method" title="#conditions (instance method)">#<strong>conditions</strong> ⇒ Object </a>
</span>
@@ -212,11 +211,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#options-instance_method" title="#options (instance method)">- (Object) <strong>options</strong> </a>
+ <a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Object </a>
</span>
@@ -246,19 +245,19 @@
<h2>
Class 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="#configure-class_method" title="configure (class method)">+ (Object) <strong>configure</strong>(params = {}) </a>
+ <a href="#configure-class_method" title="configure (class method)">.<strong>configure</strong>(params = {}) ⇒ Object </a>
</span>
@@ -278,11 +277,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#ec2_client-class_method" title="ec2_client (class method)">+ (Object) <strong>ec2_client</strong> </a>
+ <a href="#ec2_client-class_method" title="ec2_client (class method)">.<strong>ec2_client</strong> ⇒ Object </a>
</span>
@@ -300,11 +299,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#me-class_method" title="me (class method)">+ (Host::Data) <strong>me</strong> </a>
+ <a href="#me-class_method" title="me (class method)">.<strong>me</strong> ⇒ Host::Data </a>
</span>
@@ -325,19 +324,19 @@
</ul>
<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="#each-instance_method" title="#each (instance method)">- (Object) <strong>each</strong> {|data| ... }</a>
+ <a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> {|data| ... } ⇒ Object </a>
</span>
@@ -355,11 +354,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#ec2_client-instance_method" title="#ec2_client (instance method)">- (Object) <strong>ec2_client</strong> </a>
+ <a href="#ec2_client-instance_method" title="#ec2_client (instance method)">#<strong>ec2_client</strong> ⇒ Object </a>
</span>
@@ -377,11 +376,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Host) <strong>initialize</strong>(*conditions) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(*conditions) ⇒ Host </a>
</span>
@@ -410,11 +409,11 @@
<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="EC2::Host (class)">Host</a></span></tt>) <strong>initialize</strong>(*conditions)
+ #<strong>initialize</strong>(*conditions) ⇒ <tt><span class='object_link'><a href="" title="EC2::Host (class)">Host</a></span></tt>
@@ -519,11 +518,11 @@
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_conditions'>conditions</span><span class='period'>.</span><span class='id identifier rubyid_delete_at'>delete_at</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='symbol'>:options</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_index'>index</span>
<span class='kw'>end</span>
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Hash expected (options)</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
<span class='ivar'>@conditions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
<span class='id identifier rubyid_conditions'>conditions</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_condition'>condition</span><span class='op'>|</span>
- <span class='ivar'>@conditions</span> <span class='op'><<</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_condition'>condition</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</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='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_s</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='rbracket'>]</span>
+ <span class='ivar'>@conditions</span> <span class='op'><<</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_condition'>condition</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</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='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="Host/StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_stringify_symbols'><span class='object_link'><a href="Host/StringUtil.html#stringify_symbols-class_method" title="EC2::Host::StringUtil.stringify_symbols (method)">stringify_symbols</a></span></span><span class='lparen'>(</span><span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='rbracket'>]</span>
<span class='kw'>end</span>
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Array of Hash, or Hash expected (conditions)</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='ivar'>@conditions</span><span class='period'>.</span><span class='id identifier rubyid_all?'>all?</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span><span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
@@ -538,11 +537,11 @@
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="conditions-instance_method">
- - (<tt>Object</tt>) <strong>conditions</strong> <span class="extras">(readonly)</span>
+ #<strong>conditions</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
@@ -581,11 +580,11 @@
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="options-instance_method">
- - (<tt>Object</tt>) <strong>options</strong> <span class="extras">(readonly)</span>
+ #<strong>options</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
@@ -629,11 +628,11 @@
<div class="method_details first">
<h3 class="signature first" id="configure-class_method">
- + (<tt>Object</tt>) <strong>configure</strong>(params = {})
+ .<strong>configure</strong>(params = {}) ⇒ <tt>Object</tt>
@@ -682,21 +681,21 @@
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/ec2/host.rb', line 52</span>
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
- <span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
+ <span class='const'><span class='object_link'><a href="Host/Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configure'><span class='object_link'><a href="Host/Config.html#configure-class_method" title="EC2::Host::Config.configure (method)">configure</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="ec2_client-class_method">
- + (<tt>Object</tt>) <strong>ec2_client</strong>
+ .<strong>ec2_client</strong> ⇒ <tt>Object</tt>
@@ -712,21 +711,21 @@
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/ec2/host.rb', line 56</span>
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ec2_client'>ec2_client</span>
- <span class='ivar'>@ec2_client</span> <span class='op'>||=</span> <span class='const'>EC2Client</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
+ <span class='ivar'>@ec2_client</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="Host/EC2Client.html" title="EC2::Host::EC2Client (class)">EC2Client</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="EC2::Host#initialize (method)">new</a></span></span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="me-class_method">
- + (<tt>Host::Data</tt>) <strong>me</strong>
+ .<strong>me</strong> ⇒ <tt>Host::Data</tt>
@@ -793,11 +792,11 @@
<div class="method_details first">
<h3 class="signature first" id="each-instance_method">
- - (<tt>Object</tt>) <strong>each</strong> {|data| ... }
+ #<strong>each</strong> {|data| ... } ⇒ <tt>Object</tt>
@@ -858,11 +857,11 @@
</div>
<div class="method_details ">
<h3 class="signature " id="ec2_client-instance_method">
- - (<tt>Object</tt>) <strong>ec2_client</strong>
+ #<strong>ec2_client</strong> ⇒ <tt>Object</tt>
@@ -889,13 +888,14 @@
</div>
</div>
- <div id="footer">
- Generated on Fri Dec 2 11:53:59 2016 by
+ <div id="footer">
+ Generated on Sat May 20 00:23:52 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.7.6 (ruby-2.3.2).
+ 0.9.9 (ruby-2.4.1).
</div>
+ </div>
</body>
</html>
\ No newline at end of file