ec2-host 0.6.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: EC2::Host::CLI
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; Documentation by YARD 0.9.9
10
10
 
11
11
  </title>
12
12
 
@@ -15,9 +15,8 @@
15
15
  <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "EC2::Host::CLI";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!EC2/Host/CLI.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,48 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
33
38
 
34
39
  <a href="../../_index.html">Index (C)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">CLI</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: EC2::Host::CLI
62
+ <div id="content"><h1>Class: EC2::Host::CLI
67
63
 
68
64
 
69
65
 
70
66
  </h1>
71
-
72
- <dl class="box">
67
+ <div class="box_info">
73
68
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
76
72
  <span class="inheritName">Object</span>
77
73
 
78
74
  <ul class="fullTree">
@@ -83,33 +79,37 @@
83
79
  </ul>
84
80
  <a href="#" class="inheritanceTree">show all</a>
85
81
 
86
- </dd>
87
-
82
+ </dd>
83
+ </dl>
88
84
 
85
+
89
86
 
90
-
91
87
 
92
-
93
88
 
94
89
 
95
90
 
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/ec2/host/cli.rb</dd>
91
+
98
92
 
99
- </dl>
100
- <div class="clear"></div>
101
93
 
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/ec2/host/cli.rb</dd>
98
+ </dl>
99
+
100
+ </div>
102
101
 
103
102
 
104
103
 
105
104
 
106
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
105
+
106
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
107
  <ul class="summary">
108
108
 
109
109
  <li class="public ">
110
110
  <span class="summary_signature">
111
111
 
112
- <a href="#options-instance_method" title="#options (instance method)">- (Object) <strong>options</strong> </a>
112
+ <a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> &#x21d2; Object </a>
113
113
 
114
114
 
115
115
 
@@ -143,7 +143,7 @@
143
143
 
144
144
  <h2>
145
145
  Instance Method Summary
146
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
146
+ <small><a href="#" class="summary_toggle">collapse</a></small>
147
147
  </h2>
148
148
 
149
149
  <ul class="summary">
@@ -151,7 +151,7 @@
151
151
  <li class="public ">
152
152
  <span class="summary_signature">
153
153
 
154
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (CLI) <strong>initialize</strong>(argv = ARGV) </a>
154
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(argv = ARGV) &#x21d2; CLI </a>
155
155
 
156
156
 
157
157
 
@@ -177,7 +177,7 @@
177
177
  <li class="public ">
178
178
  <span class="summary_signature">
179
179
 
180
- <a href="#parse_options-instance_method" title="#parse_options (instance method)">- (Object) <strong>parse_options</strong>(argv = ARGV) </a>
180
+ <a href="#parse_options-instance_method" title="#parse_options (instance method)">#<strong>parse_options</strong>(argv = ARGV) &#x21d2; Object </a>
181
181
 
182
182
 
183
183
 
@@ -199,7 +199,7 @@
199
199
  <li class="public ">
200
200
  <span class="summary_signature">
201
201
 
202
- <a href="#run-instance_method" title="#run (instance method)">- (Object) <strong>run</strong> </a>
202
+ <a href="#run-instance_method" title="#run (instance method)">#<strong>run</strong> &#x21d2; Object </a>
203
203
 
204
204
 
205
205
 
@@ -227,7 +227,7 @@
227
227
  <div class="method_details first">
228
228
  <h3 class="signature first" id="initialize-instance_method">
229
229
 
230
- - (<tt><span class='object_link'><a href="" title="EC2::Host::CLI (class)">CLI</a></span></tt>) <strong>initialize</strong>(argv = ARGV)
230
+ #<strong>initialize</strong>(argv = ARGV) &#x21d2; <tt><span class='object_link'><a href="" title="EC2::Host::CLI (class)">CLI</a></span></tt>
231
231
 
232
232
 
233
233
 
@@ -275,7 +275,7 @@
275
275
  <div class="method_details first">
276
276
  <h3 class="signature first" id="options-instance_method">
277
277
 
278
- - (<tt>Object</tt>) <strong>options</strong> <span class="extras">(readonly)</span>
278
+ #<strong>options</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
279
279
 
280
280
 
281
281
 
@@ -323,7 +323,7 @@
323
323
  <div class="method_details first">
324
324
  <h3 class="signature first" id="parse_options-instance_method">
325
325
 
326
- - (<tt>Object</tt>) <strong>parse_options</strong>(argv = ARGV)
326
+ #<strong>parse_options</strong>(argv = ARGV) &#x21d2; <tt>Object</tt>
327
327
 
328
328
 
329
329
 
@@ -422,7 +422,14 @@
422
422
  97
423
423
  98
424
424
  99
425
- 100</pre>
425
+ 100
426
+ 101
427
+ 102
428
+ 103
429
+ 104
430
+ 105
431
+ 106
432
+ 107</pre>
426
433
  </td>
427
434
  <td>
428
435
  <pre class="code"><span class="info file"># File 'lib/ec2/host/cli.rb', line 13</span>
@@ -448,21 +455,24 @@
448
455
  <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-r</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--role one,two,three</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>role</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
449
456
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:role</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
450
457
  <span class='rbrace'>}</span>
451
- <span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'>role_max_depth</span><span class='rparen'>)</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_i'>i</span><span class='op'>|</span>
452
- <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--r</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>th part of role delimited by </span><span class='embexpr_beg'>#{</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_tag_delimiter'>role_tag_delimiter</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
458
+ <span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'><span class='object_link'><a href="Config.html#role_max_depth-class_method" title="EC2::Host::Config.role_max_depth (method)">role_max_depth</a></span></span><span class='rparen'>)</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_i'>i</span><span class='op'>|</span>
459
+ <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--r</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_content'>th part of role delimited by </span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_tag_delimiter'><span class='object_link'><a href="Config.html#role_tag_delimiter-class_method" title="EC2::Host::Config.role_tag_delimiter (method)">role_tag_delimiter</a></span></span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
453
460
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
454
461
  <span class='rbrace'>}</span>
455
462
  <span class='kw'>end</span>
456
463
  <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--instance-id one,two,three</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>instance_id</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
457
464
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:instance_id</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
458
465
  <span class='rbrace'>}</span>
459
- <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--state one,two,three</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>filter with instance state (default: running)</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
466
+ <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--state one,two,three</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>filter with instance state such as running, stopped (default: running)</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
460
467
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:state</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
461
468
  <span class='rbrace'>}</span>
462
469
  <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--monitoring one,two,three</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>filter with instance monitoring</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
463
470
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:monitoring</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
464
471
  <span class='rbrace'>}</span>
465
- <span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_options'>optional_options</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_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
472
+ <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--[no-]spot</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>filter to spot or non-spot instances</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
473
+ <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:spot</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
474
+ <span class='rbrace'>}</span>
475
+ <span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_options'><span class='object_link'><a href="Config.html#optional_options-class_method" title="EC2::Host::Config.optional_options (method)">optional_options</a></span></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_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
466
476
  <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>--</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>_</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'> one,two,three</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='id identifier rubyid_opt'>opt</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
467
477
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
468
478
  <span class='rbrace'>}</span>
@@ -471,10 +481,10 @@
471
481
  <span class='lbracket'>[</span><span class='symbol'>:hostname</span><span class='comma'>,</span> <span class='symbol'>:role</span><span class='comma'>,</span> <span class='symbol'>:instance_id</span><span class='comma'>,</span> <span class='symbol'>:state</span><span class='comma'>,</span> <span class='symbol'>:monitoring</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_key'>key</span><span class='op'>|</span>
472
482
  <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='rparen'>)</span>
473
483
  <span class='kw'>end</span>
474
- <span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'>role_max_depth</span><span class='rparen'>)</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_i'>i</span><span class='op'>|</span>
484
+ <span class='int'>1</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_role_max_depth'><span class='object_link'><a href="Config.html#role_max_depth-class_method" title="EC2::Host::Config.role_max_depth (method)">role_max_depth</a></span></span><span class='rparen'>)</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_i'>i</span><span class='op'>|</span>
475
485
  <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>role</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_i'>i</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rparen'>)</span>
476
486
  <span class='kw'>end</span>
477
- <span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_optional_options'>optional_options</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_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
487
+ <span class='const'><span class='object_link'><a href="Config.html" title="EC2::Host::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_optional_options'><span class='object_link'><a href="Config.html#optional_options-class_method" title="EC2::Host::Config.optional_options (method)">optional_options</a></span></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_opt'>opt</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='op'>|</span>
478
488
  <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_opt'>opt</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rparen'>)</span>
479
489
  <span class='kw'>end</span>
480
490
  <span class='rbrace'>}</span>
@@ -502,6 +512,10 @@
502
512
  <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-h</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--help</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>show help</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
503
513
  <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:help</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
504
514
  <span class='rbrace'>}</span>
515
+ <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-v</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--version</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>show version</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
516
+ <span class='id identifier rubyid_puts'>puts</span> <span class='const'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Host.html#VERSION-constant" title="EC2::Host::VERSION (constant)">VERSION</a></span></span>
517
+ <span class='id identifier rubyid_exit'>exit</span> <span class='int'>0</span>
518
+ <span class='rbrace'>}</span>
505
519
 
506
520
  <span class='kw'>begin</span>
507
521
  <span class='id identifier rubyid_args'>args</span> <span class='op'>=</span> <span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_argv'>argv</span><span class='rparen'>)</span>
@@ -523,7 +537,7 @@
523
537
  <div class="method_details ">
524
538
  <h3 class="signature " id="run-instance_method">
525
539
 
526
- - (<tt>Object</tt>) <strong>run</strong>
540
+ #<strong>run</strong> &#x21d2; <tt>Object</tt>
527
541
 
528
542
 
529
543
 
@@ -535,13 +549,6 @@
535
549
  <pre class="lines">
536
550
 
537
551
 
538
- 102
539
- 103
540
- 104
541
- 105
542
- 106
543
- 107
544
- 108
545
552
  109
546
553
  110
547
554
  111
@@ -562,13 +569,20 @@
562
569
  126
563
570
  127
564
571
  128
565
- 129</pre>
572
+ 129
573
+ 130
574
+ 131
575
+ 132
576
+ 133
577
+ 134
578
+ 135
579
+ 136</pre>
566
580
  </td>
567
581
  <td>
568
- <pre class="code"><span class="info file"># File 'lib/ec2/host/cli.rb', line 102</span>
582
+ <pre class="code"><span class="info file"># File 'lib/ec2/host/cli.rb', line 109</span>
569
583
 
570
584
  <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
571
- <span class='id identifier rubyid_hosts'>hosts</span> <span class='op'>=</span> <span class='const'>EC2</span><span class='op'>::</span><span class='const'>Host</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_condition'>condition</span><span class='rparen'>)</span>
585
+ <span class='id identifier rubyid_hosts'>hosts</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Host.html#initialize-instance_method" title="EC2::Host#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_condition'>condition</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_sort_by'>sort_by</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_host'>host</span><span class='op'>|</span> <span class='id identifier rubyid_host'>host</span><span class='period'>.</span><span class='id identifier rubyid_hostname'>hostname</span> <span class='rbrace'>}</span>
572
586
  <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:info</span><span class='rbracket'>]</span>
573
587
  <span class='id identifier rubyid_hosts'>hosts</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_host'>host</span><span class='op'>|</span>
574
588
  <span class='gvar'>$stdout</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_host'>host</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span>
@@ -604,11 +618,12 @@
604
618
 
605
619
  </div>
606
620
 
607
- <div id="footer">
608
- Generated on Fri Dec 2 11:53:59 2016 by
621
+ <div id="footer">
622
+ Generated on Sat May 20 00:23:53 2017 by
609
623
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
610
- 0.8.7.6 (ruby-2.3.2).
624
+ 0.9.9 (ruby-2.4.1).
611
625
  </div>
612
626
 
627
+ </div>
613
628
  </body>
614
629
  </html>
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: EC2::Host::Config
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; Documentation by YARD 0.9.9
10
10
 
11
11
  </title>
12
12
 
@@ -15,9 +15,8 @@
15
15
  <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "EC2::Host::Config";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!EC2/Host/Config.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,48 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
33
38
 
34
39
  <a href="../../_index.html">Index (C)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">Config</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: EC2::Host::Config
62
+ <div id="content"><h1>Class: EC2::Host::Config
67
63
 
68
64
 
69
65
 
70
66
  </h1>
71
-
72
- <dl class="box">
67
+ <div class="box_info">
73
68
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
76
72
  <span class="inheritName">Object</span>
77
73
 
78
74
  <ul class="fullTree">
@@ -83,33 +79,37 @@
83
79
  </ul>
84
80
  <a href="#" class="inheritanceTree">show all</a>
85
81
 
86
- </dd>
87
-
82
+ </dd>
83
+ </dl>
88
84
 
85
+
89
86
 
90
-
91
87
 
92
-
93
88
 
94
89
 
95
90
 
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/ec2/host/config.rb</dd>
91
+
98
92
 
99
- </dl>
100
- <div class="clear"></div>
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/ec2/host/config.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
101
 
102
102
 
103
103
 
104
104
 
105
105
 
106
- <h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
106
+ <h2>Class Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
107
  <ul class="summary">
108
108
 
109
109
  <li class="public ">
110
110
  <span class="summary_signature">
111
111
 
112
- <a href="#aws_access_key_id-class_method" title="aws_access_key_id (class method)">+ (Object) <strong>aws_access_key_id</strong> </a>
112
+ <a href="#aws_access_key_id-class_method" title="aws_access_key_id (class method)">.<strong>aws_access_key_id</strong> &#x21d2; Object </a>
113
113
 
114
114
 
115
115
 
@@ -134,7 +134,7 @@
134
134
  <li class="public ">
135
135
  <span class="summary_signature">
136
136
 
137
- <a href="#aws_credential_file-class_method" title="aws_credential_file (class method)">+ (Object) <strong>aws_credential_file</strong> </a>
137
+ <a href="#aws_credential_file-class_method" title="aws_credential_file (class method)">.<strong>aws_credential_file</strong> &#x21d2; Object </a>
138
138
 
139
139
 
140
140
 
@@ -159,7 +159,7 @@
159
159
  <li class="public ">
160
160
  <span class="summary_signature">
161
161
 
162
- <a href="#aws_profile-class_method" title="aws_profile (class method)">+ (Object) <strong>aws_profile</strong> </a>
162
+ <a href="#aws_profile-class_method" title="aws_profile (class method)">.<strong>aws_profile</strong> &#x21d2; Object </a>
163
163
 
164
164
 
165
165
 
@@ -184,7 +184,7 @@
184
184
  <li class="public ">
185
185
  <span class="summary_signature">
186
186
 
187
- <a href="#aws_region-class_method" title="aws_region (class method)">+ (Object) <strong>aws_region</strong> </a>
187
+ <a href="#aws_region-class_method" title="aws_region (class method)">.<strong>aws_region</strong> &#x21d2; Object </a>
188
188
 
189
189
 
190
190
 
@@ -209,7 +209,7 @@
209
209
  <li class="public ">
210
210
  <span class="summary_signature">
211
211
 
212
- <a href="#aws_secret_access_key-class_method" title="aws_secret_access_key (class method)">+ (Object) <strong>aws_secret_access_key</strong> </a>
212
+ <a href="#aws_secret_access_key-class_method" title="aws_secret_access_key (class method)">.<strong>aws_secret_access_key</strong> &#x21d2; Object </a>
213
213
 
214
214
 
215
215
 
@@ -234,7 +234,7 @@
234
234
  <li class="public ">
235
235
  <span class="summary_signature">
236
236
 
237
- <a href="#config_file-class_method" title="config_file (class method)">+ (Object) <strong>config_file</strong> </a>
237
+ <a href="#config_file-class_method" title="config_file (class method)">.<strong>config_file</strong> &#x21d2; Object </a>
238
238
 
239
239
 
240
240
 
@@ -259,7 +259,7 @@
259
259
  <li class="public ">
260
260
  <span class="summary_signature">
261
261
 
262
- <a href="#hostname_tag-class_method" title="hostname_tag (class method)">+ (Object) <strong>hostname_tag</strong> </a>
262
+ <a href="#hostname_tag-class_method" title="hostname_tag (class method)">.<strong>hostname_tag</strong> &#x21d2; Object </a>
263
263
 
264
264
 
265
265
 
@@ -284,7 +284,7 @@
284
284
  <li class="public ">
285
285
  <span class="summary_signature">
286
286
 
287
- <a href="#log_level-class_method" title="log_level (class method)">+ (Object) <strong>log_level</strong> </a>
287
+ <a href="#log_level-class_method" title="log_level (class method)">.<strong>log_level</strong> &#x21d2; Object </a>
288
288
 
289
289
 
290
290
 
@@ -309,7 +309,7 @@
309
309
  <li class="public ">
310
310
  <span class="summary_signature">
311
311
 
312
- <a href="#optional_array_tags-class_method" title="optional_array_tags (class method)">+ (Object) <strong>optional_array_tags</strong> </a>
312
+ <a href="#optional_array_tags-class_method" title="optional_array_tags (class method)">.<strong>optional_array_tags</strong> &#x21d2; Object </a>
313
313
 
314
314
 
315
315
 
@@ -334,7 +334,7 @@
334
334
  <li class="public ">
335
335
  <span class="summary_signature">
336
336
 
337
- <a href="#optional_string_tags-class_method" title="optional_string_tags (class method)">+ (Object) <strong>optional_string_tags</strong> </a>
337
+ <a href="#optional_string_tags-class_method" title="optional_string_tags (class method)">.<strong>optional_string_tags</strong> &#x21d2; Object </a>
338
338
 
339
339
 
340
340
 
@@ -359,7 +359,7 @@
359
359
  <li class="public ">
360
360
  <span class="summary_signature">
361
361
 
362
- <a href="#roles_tag-class_method" title="roles_tag (class method)">+ (Object) <strong>roles_tag</strong> </a>
362
+ <a href="#roles_tag-class_method" title="roles_tag (class method)">.<strong>roles_tag</strong> &#x21d2; Object </a>
363
363
 
364
364
 
365
365
 
@@ -389,7 +389,7 @@
389
389
 
390
390
  <h2>
391
391
  Class Method Summary
392
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
392
+ <small><a href="#" class="summary_toggle">collapse</a></small>
393
393
  </h2>
394
394
 
395
395
  <ul class="summary">
@@ -397,7 +397,7 @@
397
397
  <li class="public ">
398
398
  <span class="summary_signature">
399
399
 
400
- <a href="#array_tag_delimiter-class_method" title="array_tag_delimiter (class method)">+ (Object) <strong>array_tag_delimiter</strong> </a>
400
+ <a href="#array_tag_delimiter-class_method" title="array_tag_delimiter (class method)">.<strong>array_tag_delimiter</strong> &#x21d2; Object </a>
401
401
 
402
402
 
403
403
 
@@ -419,7 +419,7 @@
419
419
  <li class="public ">
420
420
  <span class="summary_signature">
421
421
 
422
- <a href="#aws_config-class_method" title="aws_config (class method)">+ (Object) <strong>aws_config</strong> </a>
422
+ <a href="#aws_config-class_method" title="aws_config (class method)">.<strong>aws_config</strong> &#x21d2; Object </a>
423
423
 
424
424
 
425
425
 
@@ -441,7 +441,7 @@
441
441
  <li class="public ">
442
442
  <span class="summary_signature">
443
443
 
444
- <a href="#aws_config_file-class_method" title="aws_config_file (class method)">+ (Object) <strong>aws_config_file</strong> </a>
444
+ <a href="#aws_config_file-class_method" title="aws_config_file (class method)">.<strong>aws_config_file</strong> &#x21d2; Object </a>
445
445
 
446
446
 
447
447
 
@@ -463,7 +463,7 @@
463
463
  <li class="public ">
464
464
  <span class="summary_signature">
465
465
 
466
- <a href="#config-class_method" title="config (class method)">+ (Object) <strong>config</strong> </a>
466
+ <a href="#config-class_method" title="config (class method)">.<strong>config</strong> &#x21d2; Object </a>
467
467
 
468
468
 
469
469
 
@@ -485,7 +485,7 @@
485
485
  <li class="public ">
486
486
  <span class="summary_signature">
487
487
 
488
- <a href="#configure-class_method" title="configure (class method)">+ (Object) <strong>configure</strong>(params) </a>
488
+ <a href="#configure-class_method" title="configure (class method)">.<strong>configure</strong>(params) &#x21d2; Object </a>
489
489
 
490
490
 
491
491
 
@@ -507,7 +507,7 @@
507
507
  <li class="public ">
508
508
  <span class="summary_signature">
509
509
 
510
- <a href="#optional_array_options-class_method" title="optional_array_options (class method)">+ (Object) <strong>optional_array_options</strong> </a>
510
+ <a href="#optional_array_options-class_method" title="optional_array_options (class method)">.<strong>optional_array_options</strong> &#x21d2; Object </a>
511
511
 
512
512
 
513
513
 
@@ -531,7 +531,7 @@
531
531
  <li class="public ">
532
532
  <span class="summary_signature">
533
533
 
534
- <a href="#optional_options-class_method" title="optional_options (class method)">+ (Object) <strong>optional_options</strong> </a>
534
+ <a href="#optional_options-class_method" title="optional_options (class method)">.<strong>optional_options</strong> &#x21d2; Object </a>
535
535
 
536
536
 
537
537
 
@@ -553,7 +553,7 @@
553
553
  <li class="public ">
554
554
  <span class="summary_signature">
555
555
 
556
- <a href="#optional_string_options-class_method" title="optional_string_options (class method)">+ (Object) <strong>optional_string_options</strong> </a>
556
+ <a href="#optional_string_options-class_method" title="optional_string_options (class method)">.<strong>optional_string_options</strong> &#x21d2; Object </a>
557
557
 
558
558
 
559
559
 
@@ -575,7 +575,7 @@
575
575
  <li class="public ">
576
576
  <span class="summary_signature">
577
577
 
578
- <a href="#role_max_depth-class_method" title="role_max_depth (class method)">+ (Object) <strong>role_max_depth</strong> </a>
578
+ <a href="#role_max_depth-class_method" title="role_max_depth (class method)">.<strong>role_max_depth</strong> &#x21d2; Object </a>
579
579
 
580
580
 
581
581
 
@@ -597,7 +597,7 @@
597
597
  <li class="public ">
598
598
  <span class="summary_signature">
599
599
 
600
- <a href="#role_tag_delimiter-class_method" title="role_tag_delimiter (class method)">+ (Object) <strong>role_tag_delimiter</strong> </a>
600
+ <a href="#role_tag_delimiter-class_method" title="role_tag_delimiter (class method)">.<strong>role_tag_delimiter</strong> &#x21d2; Object </a>
601
601
 
602
602
 
603
603
 
@@ -628,7 +628,7 @@
628
628
  <div class="method_details first">
629
629
  <h3 class="signature first" id="aws_access_key_id-class_method">
630
630
 
631
- + (<tt>Object</tt>) <strong>aws_access_key_id</strong>
631
+ .<strong>aws_access_key_id</strong> &#x21d2; <tt>Object</tt>
632
632
 
633
633
 
634
634
 
@@ -662,7 +662,7 @@
662
662
  <div class="method_details ">
663
663
  <h3 class="signature " id="aws_credential_file-class_method">
664
664
 
665
- + (<tt>Object</tt>) <strong>aws_credential_file</strong>
665
+ .<strong>aws_credential_file</strong> &#x21d2; <tt>Object</tt>
666
666
 
667
667
 
668
668
 
@@ -700,7 +700,7 @@
700
700
  <div class="method_details ">
701
701
  <h3 class="signature " id="aws_profile-class_method">
702
702
 
703
- + (<tt>Object</tt>) <strong>aws_profile</strong>
703
+ .<strong>aws_profile</strong> &#x21d2; <tt>Object</tt>
704
704
 
705
705
 
706
706
 
@@ -736,7 +736,7 @@
736
736
  <div class="method_details ">
737
737
  <h3 class="signature " id="aws_region-class_method">
738
738
 
739
- + (<tt>Object</tt>) <strong>aws_region</strong>
739
+ .<strong>aws_region</strong> &#x21d2; <tt>Object</tt>
740
740
 
741
741
 
742
742
 
@@ -774,7 +774,7 @@
774
774
  <div class="method_details ">
775
775
  <h3 class="signature " id="aws_secret_access_key-class_method">
776
776
 
777
- + (<tt>Object</tt>) <strong>aws_secret_access_key</strong>
777
+ .<strong>aws_secret_access_key</strong> &#x21d2; <tt>Object</tt>
778
778
 
779
779
 
780
780
 
@@ -808,7 +808,7 @@
808
808
  <div class="method_details ">
809
809
  <h3 class="signature " id="config_file-class_method">
810
810
 
811
- + (<tt>Object</tt>) <strong>config_file</strong>
811
+ .<strong>config_file</strong> &#x21d2; <tt>Object</tt>
812
812
 
813
813
 
814
814
 
@@ -840,7 +840,7 @@
840
840
  <div class="method_details ">
841
841
  <h3 class="signature " id="hostname_tag-class_method">
842
842
 
843
- + (<tt>Object</tt>) <strong>hostname_tag</strong>
843
+ .<strong>hostname_tag</strong> &#x21d2; <tt>Object</tt>
844
844
 
845
845
 
846
846
 
@@ -872,7 +872,7 @@
872
872
  <div class="method_details ">
873
873
  <h3 class="signature " id="log_level-class_method">
874
874
 
875
- + (<tt>Object</tt>) <strong>log_level</strong>
875
+ .<strong>log_level</strong> &#x21d2; <tt>Object</tt>
876
876
 
877
877
 
878
878
 
@@ -904,7 +904,7 @@
904
904
  <div class="method_details ">
905
905
  <h3 class="signature " id="optional_array_tags-class_method">
906
906
 
907
- + (<tt>Object</tt>) <strong>optional_array_tags</strong>
907
+ .<strong>optional_array_tags</strong> &#x21d2; <tt>Object</tt>
908
908
 
909
909
 
910
910
 
@@ -936,7 +936,7 @@
936
936
  <div class="method_details ">
937
937
  <h3 class="signature " id="optional_string_tags-class_method">
938
938
 
939
- + (<tt>Object</tt>) <strong>optional_string_tags</strong>
939
+ .<strong>optional_string_tags</strong> &#x21d2; <tt>Object</tt>
940
940
 
941
941
 
942
942
 
@@ -968,7 +968,7 @@
968
968
  <div class="method_details ">
969
969
  <h3 class="signature " id="roles_tag-class_method">
970
970
 
971
- + (<tt>Object</tt>) <strong>roles_tag</strong>
971
+ .<strong>roles_tag</strong> &#x21d2; <tt>Object</tt>
972
972
 
973
973
 
974
974
 
@@ -1005,7 +1005,7 @@
1005
1005
  <div class="method_details first">
1006
1006
  <h3 class="signature first" id="array_tag_delimiter-class_method">
1007
1007
 
1008
- + (<tt>Object</tt>) <strong>array_tag_delimiter</strong>
1008
+ .<strong>array_tag_delimiter</strong> &#x21d2; <tt>Object</tt>
1009
1009
 
1010
1010
 
1011
1011
 
@@ -1035,7 +1035,7 @@
1035
1035
  <div class="method_details ">
1036
1036
  <h3 class="signature " id="aws_config-class_method">
1037
1037
 
1038
- + (<tt>Object</tt>) <strong>aws_config</strong>
1038
+ .<strong>aws_config</strong> &#x21d2; <tt>Object</tt>
1039
1039
 
1040
1040
 
1041
1041
 
@@ -1083,7 +1083,7 @@
1083
1083
  <div class="method_details ">
1084
1084
  <h3 class="signature " id="aws_config_file-class_method">
1085
1085
 
1086
- + (<tt>Object</tt>) <strong>aws_config_file</strong>
1086
+ .<strong>aws_config_file</strong> &#x21d2; <tt>Object</tt>
1087
1087
 
1088
1088
 
1089
1089
 
@@ -1113,7 +1113,7 @@
1113
1113
  <div class="method_details ">
1114
1114
  <h3 class="signature " id="config-class_method">
1115
1115
 
1116
- + (<tt>Object</tt>) <strong>config</strong>
1116
+ .<strong>config</strong> &#x21d2; <tt>Object</tt>
1117
1117
 
1118
1118
 
1119
1119
 
@@ -1134,7 +1134,9 @@
1134
1134
  135
1135
1135
  136
1136
1136
  137
1137
- 138</pre>
1137
+ 138
1138
+ 139
1139
+ 140</pre>
1138
1140
  </td>
1139
1141
  <td>
1140
1142
  <pre class="code"><span class="info file"># File 'lib/ec2/host/config.rb', line 129</span>
@@ -1142,10 +1144,12 @@
1142
1144
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span>
1143
1145
  <span class='kw'>return</span> <span class='ivar'>@config</span> <span class='kw'>if</span> <span class='ivar'>@config</span>
1144
1146
  <span class='ivar'>@config</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1145
- <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_readlines'>readlines</span><span class='lparen'>(</span><span class='id identifier rubyid_config_file'>config_file</span><span class='rparen'>)</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_line'>line</span><span class='op'>|</span>
1146
- <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>#</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1147
- <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='op'>=</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>=</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span>
1148
- <span class='ivar'>@config</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
1147
+ <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_config_file'>config_file</span><span class='rparen'>)</span>
1148
+ <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_readlines'>readlines</span><span class='lparen'>(</span><span class='id identifier rubyid_config_file'>config_file</span><span class='rparen'>)</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_line'>line</span><span class='op'>|</span>
1149
+ <span class='kw'>next</span> <span class='kw'>if</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>#</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1150
+ <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span> <span class='op'>=</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_chomp'>chomp</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>=</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span>
1151
+ <span class='ivar'>@config</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_val'>val</span>
1152
+ <span class='kw'>end</span>
1149
1153
  <span class='kw'>end</span>
1150
1154
  <span class='ivar'>@config</span>
1151
1155
  <span class='kw'>end</span></pre>
@@ -1157,7 +1161,7 @@
1157
1161
  <div class="method_details ">
1158
1162
  <h3 class="signature " id="configure-class_method">
1159
1163
 
1160
- + (<tt>Object</tt>) <strong>configure</strong>(params)
1164
+ .<strong>configure</strong>(params) &#x21d2; <tt>Object</tt>
1161
1165
 
1162
1166
 
1163
1167
 
@@ -1191,7 +1195,7 @@
1191
1195
  <div class="method_details ">
1192
1196
  <h3 class="signature " id="optional_array_options-class_method">
1193
1197
 
1194
- + (<tt>Object</tt>) <strong>optional_array_options</strong>
1198
+ .<strong>optional_array_options</strong> &#x21d2; <tt>Object</tt>
1195
1199
 
1196
1200
 
1197
1201
 
@@ -1225,7 +1229,7 @@
1225
1229
 
1226
1230
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_array_options'>optional_array_options</span>
1227
1231
  <span class='ivar'>@optional_array_options</span> <span class='op'>||=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_optional_array_tags'>optional_array_tags</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_tag'>tag</span><span class='op'>|</span>
1228
- <span class='lbracket'>[</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_singularize'>singularize</span><span class='lparen'>(</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='rbracket'>]</span>
1232
+ <span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_singularize'><span class='object_link'><a href="StringUtil.html#singularize-class_method" title="EC2::Host::StringUtil.singularize (method)">singularize</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="EC2::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='rbracket'>]</span>
1229
1233
  <span class='rbrace'>}</span><span class='rbracket'>]</span>
1230
1234
  <span class='kw'>end</span></pre>
1231
1235
  </td>
@@ -1236,7 +1240,7 @@
1236
1240
  <div class="method_details ">
1237
1241
  <h3 class="signature " id="optional_options-class_method">
1238
1242
 
1239
- + (<tt>Object</tt>) <strong>optional_options</strong>
1243
+ .<strong>optional_options</strong> &#x21d2; <tt>Object</tt>
1240
1244
 
1241
1245
 
1242
1246
 
@@ -1266,7 +1270,7 @@
1266
1270
  <div class="method_details ">
1267
1271
  <h3 class="signature " id="optional_string_options-class_method">
1268
1272
 
1269
- + (<tt>Object</tt>) <strong>optional_string_options</strong>
1273
+ .<strong>optional_string_options</strong> &#x21d2; <tt>Object</tt>
1270
1274
 
1271
1275
 
1272
1276
 
@@ -1289,7 +1293,7 @@
1289
1293
 
1290
1294
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_optional_string_options'>optional_string_options</span>
1291
1295
  <span class='ivar'>@optional_string_options</span> <span class='op'>||=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_optional_string_tags'>optional_string_tags</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_tag'>tag</span><span class='op'>|</span>
1292
- <span class='lbracket'>[</span><span class='const'>StringUtil</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='rbracket'>]</span>
1296
+ <span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="StringUtil.html" title="EC2::Host::StringUtil (module)">StringUtil</a></span></span><span class='period'>.</span><span class='id identifier rubyid_underscore'><span class='object_link'><a href="StringUtil.html#underscore-class_method" title="EC2::Host::StringUtil.underscore (method)">underscore</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='rbracket'>]</span>
1293
1297
  <span class='rbrace'>}</span><span class='rbracket'>]</span>
1294
1298
  <span class='kw'>end</span></pre>
1295
1299
  </td>
@@ -1300,7 +1304,7 @@
1300
1304
  <div class="method_details ">
1301
1305
  <h3 class="signature " id="role_max_depth-class_method">
1302
1306
 
1303
- + (<tt>Object</tt>) <strong>role_max_depth</strong>
1307
+ .<strong>role_max_depth</strong> &#x21d2; <tt>Object</tt>
1304
1308
 
1305
1309
 
1306
1310
 
@@ -1330,7 +1334,7 @@
1330
1334
  <div class="method_details ">
1331
1335
  <h3 class="signature " id="role_tag_delimiter-class_method">
1332
1336
 
1333
- + (<tt>Object</tt>) <strong>role_tag_delimiter</strong>
1337
+ .<strong>role_tag_delimiter</strong> &#x21d2; <tt>Object</tt>
1334
1338
 
1335
1339
 
1336
1340
 
@@ -1361,11 +1365,12 @@
1361
1365
 
1362
1366
  </div>
1363
1367
 
1364
- <div id="footer">
1365
- Generated on Fri Dec 2 11:53:59 2016 by
1368
+ <div id="footer">
1369
+ Generated on Sat May 20 00:23:53 2017 by
1366
1370
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1367
- 0.8.7.6 (ruby-2.3.2).
1371
+ 0.9.9 (ruby-2.4.1).
1368
1372
  </div>
1369
1373
 
1374
+ </div>
1370
1375
  </body>
1371
1376
  </html>