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::RoleData
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::RoleData";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!EC2/Host/RoleData.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 (R)</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">RoleData</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::RoleData
62
+ <div id="content"><h1>Class: EC2::Host::RoleData
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,21 +79,25 @@
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/role_data.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/role_data.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
101
 
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
@@ -120,7 +120,7 @@
120
120
 
121
121
  <h2>
122
122
  Class Method Summary
123
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
123
+ <small><a href="#" class="summary_toggle">collapse</a></small>
124
124
  </h2>
125
125
 
126
126
  <ul class="summary">
@@ -128,7 +128,7 @@
128
128
  <li class="public ">
129
129
  <span class="summary_signature">
130
130
 
131
- <a href="#build-class_method" title="build (class method)">+ (Object) <strong>build</strong>(role) </a>
131
+ <a href="#build-class_method" title="build (class method)">.<strong>build</strong>(role) &#x21d2; Object </a>
132
132
 
133
133
 
134
134
 
@@ -153,7 +153,7 @@
153
153
 
154
154
  <h2>
155
155
  Instance Method Summary
156
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
156
+ <small><a href="#" class="summary_toggle">collapse</a></small>
157
157
  </h2>
158
158
 
159
159
  <ul class="summary">
@@ -161,7 +161,7 @@
161
161
  <li class="public ">
162
162
  <span class="summary_signature">
163
163
 
164
- <a href="#%3D%3D-instance_method" title="#== (instance method)">- (Object) <strong>==</strong>(other) </a>
164
+ <a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(other) &#x21d2; Object </a>
165
165
 
166
166
 
167
167
 
@@ -185,7 +185,7 @@
185
185
  <li class="public ">
186
186
  <span class="summary_signature">
187
187
 
188
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (RoleData) <strong>initialize</strong>(*role_parts) </a>
188
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(*role_parts) &#x21d2; RoleData </a>
189
189
 
190
190
 
191
191
 
@@ -211,7 +211,7 @@
211
211
  <li class="public ">
212
212
  <span class="summary_signature">
213
213
 
214
- <a href="#inspect-instance_method" title="#inspect (instance method)">- (Object) <strong>inspect</strong> </a>
214
+ <a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> &#x21d2; Object </a>
215
215
 
216
216
 
217
217
 
@@ -233,7 +233,7 @@
233
233
  <li class="public ">
234
234
  <span class="summary_signature">
235
235
 
236
- <a href="#match%3F-instance_method" title="#match? (instance method)">- (Boolean) <strong>match?</strong>(*role_parts) </a>
236
+ <a href="#match%3F-instance_method" title="#match? (instance method)">#<strong>match?</strong>(*role_parts) &#x21d2; Boolean </a>
237
237
 
238
238
 
239
239
 
@@ -257,7 +257,7 @@
257
257
  <li class="public ">
258
258
  <span class="summary_signature">
259
259
 
260
- <a href="#role-instance_method" title="#role (instance method)">- (String) <strong>role</strong> </a>
260
+ <a href="#role-instance_method" title="#role (instance method)">#<strong>role</strong> &#x21d2; String </a>
261
261
 
262
262
 
263
263
 
@@ -283,7 +283,7 @@
283
283
  <li class="public ">
284
284
  <span class="summary_signature">
285
285
 
286
- <a href="#uppers-instance_method" title="#uppers (instance method)">- (Array) <strong>uppers</strong> </a>
286
+ <a href="#uppers-instance_method" title="#uppers (instance method)">#<strong>uppers</strong> &#x21d2; Array </a>
287
287
 
288
288
 
289
289
 
@@ -313,7 +313,7 @@
313
313
  <div class="method_details first">
314
314
  <h3 class="signature first" id="initialize-instance_method">
315
315
 
316
- - (<tt><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</a></span></tt>) <strong>initialize</strong>(*role_parts)
316
+ #<strong>initialize</strong>(*role_parts) &#x21d2; <tt><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</a></span></tt>
317
317
 
318
318
 
319
319
 
@@ -324,7 +324,7 @@
324
324
 
325
325
  <p>Initialize role data with role parts</p>
326
326
 
327
- <pre class="code ruby"><code class="ruby"><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
327
+ <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
328
328
  </code></pre>
329
329
 
330
330
 
@@ -384,7 +384,7 @@
384
384
  <div class="method_details first">
385
385
  <h3 class="signature first" id="build-class_method">
386
386
 
387
- + (<tt>Object</tt>) <strong>build</strong>(role)
387
+ .<strong>build</strong>(role) &#x21d2; <tt>Object</tt>
388
388
 
389
389
 
390
390
 
@@ -395,7 +395,7 @@
395
395
 
396
396
  <p>Create a role data with role delimiter by Config.role_tag_delimiter</p>
397
397
 
398
- <pre class="code ruby"><code class="ruby"><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin:jenkins:slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
398
+ <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</a></span></span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin:jenkins:slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
399
399
  </code></pre>
400
400
 
401
401
 
@@ -439,7 +439,7 @@
439
439
  <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 19</span>
440
440
 
441
441
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_role'>role</span><span class='rparen'>)</span>
442
- <span class='id identifier rubyid_role_parts'>role_parts</span> <span class='op'>=</span> <span class='id identifier rubyid_role'>role</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_tag_delimiter'>role_tag_delimiter</span><span class='comma'>,</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>
442
+ <span class='id identifier rubyid_role_parts'>role_parts</span> <span class='op'>=</span> <span class='id identifier rubyid_role'>role</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</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_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='comma'>,</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>
443
443
  <span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_role_parts'>role_parts</span><span class='rparen'>)</span>
444
444
  <span class='kw'>end</span></pre>
445
445
  </td>
@@ -456,7 +456,7 @@
456
456
  <div class="method_details first">
457
457
  <h3 class="signature first" id="==-instance_method">
458
458
 
459
- - (<tt>Object</tt>) <strong>==</strong>(other)
459
+ #<strong>==</strong>(other) &#x21d2; <tt>Object</tt>
460
460
 
461
461
 
462
462
 
@@ -467,8 +467,8 @@
467
467
 
468
468
  <p>Equality</p>
469
469
 
470
- <pre class="code ruby"><code class="ruby"><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
471
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>admin:jenkins</span><span class='tstring_end'>&quot;</span></span> <span class='comment'>#=&gt; true
470
+ <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
471
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>admin:jenkins</span><span class='tstring_end'>&quot;</span></span> <span class='comment'>#=&gt; true
472
472
  </span></code></pre>
473
473
 
474
474
 
@@ -498,25 +498,25 @@
498
498
  <pre class="lines">
499
499
 
500
500
 
501
- 69
502
- 70
503
- 71
504
- 72
505
- 73
506
- 74
507
- 75
508
- 76
509
- 77
510
- 78</pre>
501
+ 80
502
+ 81
503
+ 82
504
+ 83
505
+ 84
506
+ 85
507
+ 86
508
+ 87
509
+ 88
510
+ 89</pre>
511
511
  </td>
512
512
  <td>
513
- <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 69</span>
513
+ <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 80</span>
514
514
 
515
515
  <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
516
516
  <span class='kw'>case</span> <span class='id identifier rubyid_other'>other</span>
517
517
  <span class='kw'>when</span> <span class='const'>String</span>
518
518
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_role'>role</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span>
519
- <span class='kw'>when</span> <span class='const'>EC2</span><span class='op'>::</span><span class='const'>Host</span><span class='op'>::</span><span class='const'>RoleData</span>
519
+ <span class='kw'>when</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="" title="EC2::Host::RoleData (class)">RoleData</a></span></span>
520
520
  <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
521
521
  <span class='kw'>else</span>
522
522
  <span class='kw'>false</span>
@@ -530,7 +530,7 @@
530
530
  <div class="method_details ">
531
531
  <h3 class="signature " id="inspect-instance_method">
532
532
 
533
- - (<tt>Object</tt>) <strong>inspect</strong>
533
+ #<strong>inspect</strong> &#x21d2; <tt>Object</tt>
534
534
 
535
535
 
536
536
 
@@ -542,12 +542,12 @@
542
542
  <pre class="lines">
543
543
 
544
544
 
545
- 80
546
- 81
547
- 82</pre>
545
+ 91
546
+ 92
547
+ 93</pre>
548
548
  </td>
549
549
  <td>
550
- <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 80</span>
550
+ <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 91</span>
551
551
 
552
552
  <span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
553
553
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_to_s'>to_s</span><span class='embexpr_end'>}</span><span class='tstring_content'>\&quot;</span><span class='tstring_end'>&quot;</span></span>
@@ -560,7 +560,7 @@
560
560
  <div class="method_details ">
561
561
  <h3 class="signature " id="match?-instance_method">
562
562
 
563
- - (<tt>Boolean</tt>) <strong>match?</strong>(*role_parts)
563
+ #<strong>match?</strong>(*role_parts) &#x21d2; <tt>Boolean</tt>
564
564
 
565
565
 
566
566
 
@@ -571,12 +571,23 @@
571
571
 
572
572
  <p>Check whether given role parts matches with this role data object</p>
573
573
 
574
- <pre class="code ruby"><code class="ruby"><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
575
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
576
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
577
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>master</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; false
578
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>jenkins</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
579
- </span><span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
574
+ <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
575
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
576
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
577
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>master</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; false
578
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>jenkins</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
579
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>admin</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'>jenkins</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'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>slave</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
580
+ </span>
581
+ <span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
582
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bar</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
583
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>baz</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; false
584
+ </span>
585
+ <span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
586
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bar</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
587
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>baz</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'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; false
588
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
589
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bar</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; true
590
+ </span><span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>baz</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</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'>bar</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</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'>b</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='comment'>#=&gt; false
580
591
  </span></code></pre>
581
592
 
582
593
 
@@ -624,17 +635,17 @@
624
635
  <pre class="lines">
625
636
 
626
637
 
627
- 58
628
- 59
629
- 60
630
- 61</pre>
638
+ 69
639
+ 70
640
+ 71
641
+ 72</pre>
631
642
  </td>
632
643
  <td>
633
- <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 58</span>
644
+ <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 69</span>
634
645
 
635
646
  <span class='kw'>def</span> <span class='id identifier rubyid_match?'>match?</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_role_parts'>role_parts</span><span class='rparen'>)</span>
636
647
  <span class='id identifier rubyid_indexes'>indexes</span> <span class='op'>=</span> <span class='id identifier rubyid_role_parts'>role_parts</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='period'>.</span><span class='id identifier rubyid_with_index'>with_index</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_part'>part</span><span class='comma'>,</span> <span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_part'>part</span> <span class='op'>?</span> <span class='id identifier rubyid_i'>i</span> <span class='op'>:</span> <span class='kw'>nil</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span>
637
- <span class='ivar'>@role_parts</span><span class='period'>.</span><span class='id identifier rubyid_values_at'>values_at</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_indexes'>indexes</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='id identifier rubyid_role_parts'>role_parts</span><span class='period'>.</span><span class='id identifier rubyid_values_at'>values_at</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_indexes'>indexes</span><span class='rparen'>)</span>
648
+ <span class='id identifier rubyid_indexes'>indexes</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_i'>i</span><span class='op'>|</span> <span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_role_parts'>role_parts</span><span class='lbracket'>[</span><span class='id identifier rubyid_i'>i</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='ivar'>@role_parts</span><span class='lbracket'>[</span><span class='id identifier rubyid_i'>i</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
638
649
  <span class='kw'>end</span></pre>
639
650
  </td>
640
651
  </tr>
@@ -644,7 +655,7 @@
644
655
  <div class="method_details ">
645
656
  <h3 class="signature " id="role-instance_method">
646
657
 
647
- - (<tt>String</tt>) <strong>role</strong>
658
+ #<strong>role</strong> &#x21d2; <tt>String</tt>
648
659
 
649
660
 
650
661
 
@@ -697,7 +708,7 @@
697
708
  <pre class="code"><span class="info file"># File 'lib/ec2/host/role_data.rb', line 25</span>
698
709
 
699
710
  <span class='kw'>def</span> <span class='id identifier rubyid_role'>role</span>
700
- <span class='ivar'>@role</span> <span class='op'>||=</span> <span class='ivar'>@role_parts</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:empty?</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_role_tag_delimiter'>role_tag_delimiter</span><span class='rparen'>)</span>
711
+ <span class='ivar'>@role</span> <span class='op'>||=</span> <span class='ivar'>@role_parts</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:empty?</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</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_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='rparen'>)</span>
701
712
  <span class='kw'>end</span></pre>
702
713
  </td>
703
714
  </tr>
@@ -707,7 +718,7 @@
707
718
  <div class="method_details ">
708
719
  <h3 class="signature " id="uppers-instance_method">
709
720
 
710
- - (<tt>Array</tt>) <strong>uppers</strong>
721
+ #<strong>uppers</strong> &#x21d2; <tt>Array</tt>
711
722
 
712
723
 
713
724
 
@@ -770,7 +781,7 @@
770
781
  <span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_role_part'>role_part</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='id identifier rubyid_role_part'>role_part</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
771
782
  <span class='id identifier rubyid_upper_role_parts'>upper_role_parts</span> <span class='op'>&lt;&lt;</span> <span class='lbracket'>[</span><span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_upper_role_parts'>upper_role_parts</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_role_part'>role_part</span><span class='rbracket'>]</span>
772
783
  <span class='kw'>end</span>
773
- <span class='id identifier rubyid_upper_role_parts'>upper_role_parts</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_role_parts'>role_parts</span><span class='op'>|</span> <span class='const'>RoleData</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_role_parts'>role_parts</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
784
+ <span class='id identifier rubyid_upper_role_parts'>upper_role_parts</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_role_parts'>role_parts</span><span class='op'>|</span> <span class='const'><span class='object_link'><a href="" title="EC2::Host::RoleData (class)">RoleData</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::RoleData#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_role_parts'>role_parts</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
774
785
  <span class='kw'>end</span></pre>
775
786
  </td>
776
787
  </tr>
@@ -781,11 +792,12 @@
781
792
 
782
793
  </div>
783
794
 
784
- <div id="footer">
785
- Generated on Fri Dec 2 11:54:00 2016 by
795
+ <div id="footer">
796
+ Generated on Sat May 20 00:23:53 2017 by
786
797
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
787
- 0.8.7.6 (ruby-2.3.2).
798
+ 0.9.9 (ruby-2.4.1).
788
799
  </div>
789
800
 
801
+ </div>
790
802
  </body>
791
803
  </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
  Module: EC2::Host::StringUtil
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::StringUtil";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!EC2/Host/StringUtil.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,61 +27,61 @@
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 (S)</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">StringUtil</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>
63
-
64
- <iframe id="search_frame"></iframe>
59
+ <div class="clear"></div>
60
+ </div>
65
61
 
66
- <div id="content"><h1>Module: EC2::Host::StringUtil
62
+ <div id="content"><h1>Module: EC2::Host::StringUtil
67
63
 
68
64
 
69
65
 
70
66
  </h1>
67
+ <div class="box_info">
68
+
71
69
 
72
- <dl class="box">
73
70
 
74
71
 
75
-
76
72
 
77
-
78
73
 
79
74
 
75
+
76
+
77
+
80
78
 
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/ec2/host/string_util.rb</dd>
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/ec2/host/string_util.rb</dd>
82
+ </dl>
83
83
 
84
- </dl>
85
- <div class="clear"></div>
84
+ </div>
86
85
 
87
86
  <h2>Overview</h2><div class="docstring">
88
87
  <div class="discussion">
@@ -105,7 +104,7 @@
105
104
 
106
105
  <h2>
107
106
  Class Method Summary
108
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
107
+ <small><a href="#" class="summary_toggle">collapse</a></small>
109
108
  </h2>
110
109
 
111
110
  <ul class="summary">
@@ -113,7 +112,7 @@
113
112
  <li class="public ">
114
113
  <span class="summary_signature">
115
114
 
116
- <a href="#camelize-class_method" title="camelize (class method)">+ (Object) <strong>camelize</strong>(string) </a>
115
+ <a href="#camelize-class_method" title="camelize (class method)">.<strong>camelize</strong>(string) &#x21d2; Object </a>
117
116
 
118
117
 
119
118
 
@@ -135,7 +134,7 @@
135
134
  <li class="public ">
136
135
  <span class="summary_signature">
137
136
 
138
- <a href="#pluralize-class_method" title="pluralize (class method)">+ (Object) <strong>pluralize</strong>(string) </a>
137
+ <a href="#pluralize-class_method" title="pluralize (class method)">.<strong>pluralize</strong>(string) &#x21d2; Object </a>
139
138
 
140
139
 
141
140
 
@@ -157,7 +156,7 @@
157
156
  <li class="public ">
158
157
  <span class="summary_signature">
159
158
 
160
- <a href="#singularize-class_method" title="singularize (class method)">+ (Object) <strong>singularize</strong>(string) </a>
159
+ <a href="#singularize-class_method" title="singularize (class method)">.<strong>singularize</strong>(string) &#x21d2; Object </a>
161
160
 
162
161
 
163
162
 
@@ -179,7 +178,29 @@
179
178
  <li class="public ">
180
179
  <span class="summary_signature">
181
180
 
182
- <a href="#underscore-class_method" title="underscore (class method)">+ (Object) <strong>underscore</strong>(camel_cased_word) </a>
181
+ <a href="#stringify_symbols-class_method" title="stringify_symbols (class method)">.<strong>stringify_symbols</strong>(array) &#x21d2; Object </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+ <span class="summary_desc"><div class='inline'></div></span>
196
+
197
+ </li>
198
+
199
+
200
+ <li class="public ">
201
+ <span class="summary_signature">
202
+
203
+ <a href="#underscore-class_method" title="underscore (class method)">.<strong>underscore</strong>(camel_cased_word) &#x21d2; Object </a>
183
204
 
184
205
 
185
206
 
@@ -210,7 +231,7 @@
210
231
  <div class="method_details first">
211
232
  <h3 class="signature first" id="camelize-class_method">
212
233
 
213
- + (<tt>Object</tt>) <strong>camelize</strong>(string)
234
+ .<strong>camelize</strong>(string) &#x21d2; <tt>Object</tt>
214
235
 
215
236
 
216
237
 
@@ -246,7 +267,7 @@
246
267
  <div class="method_details ">
247
268
  <h3 class="signature " id="pluralize-class_method">
248
269
 
249
- + (<tt>Object</tt>) <strong>pluralize</strong>(string)
270
+ .<strong>pluralize</strong>(string) &#x21d2; <tt>Object</tt>
250
271
 
251
272
 
252
273
 
@@ -276,7 +297,7 @@
276
297
  <div class="method_details ">
277
298
  <h3 class="signature " id="singularize-class_method">
278
299
 
279
- + (<tt>Object</tt>) <strong>singularize</strong>(string)
300
+ .<strong>singularize</strong>(string) &#x21d2; <tt>Object</tt>
280
301
 
281
302
 
282
303
 
@@ -301,12 +322,42 @@
301
322
  </td>
302
323
  </tr>
303
324
  </table>
325
+ </div>
326
+
327
+ <div class="method_details ">
328
+ <h3 class="signature " id="stringify_symbols-class_method">
329
+
330
+ .<strong>stringify_symbols</strong>(array) &#x21d2; <tt>Object</tt>
331
+
332
+
333
+
334
+
335
+
336
+ </h3><table class="source_code">
337
+ <tr>
338
+ <td>
339
+ <pre class="lines">
340
+
341
+
342
+ 30
343
+ 31
344
+ 32</pre>
345
+ </td>
346
+ <td>
347
+ <pre class="code"><span class="info file"># File 'lib/ec2/host/string_util.rb', line 30</span>
348
+
349
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_stringify_symbols'>stringify_symbols</span><span class='lparen'>(</span><span class='id identifier rubyid_array'>array</span><span class='rparen'>)</span>
350
+ <span class='id identifier rubyid_array'>array</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_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Symbol</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>:</span> <span class='id identifier rubyid_e'>e</span> <span class='rbrace'>}</span>
351
+ <span class='kw'>end</span></pre>
352
+ </td>
353
+ </tr>
354
+ </table>
304
355
  </div>
305
356
 
306
357
  <div class="method_details ">
307
358
  <h3 class="signature " id="underscore-class_method">
308
359
 
309
- + (<tt>Object</tt>) <strong>underscore</strong>(camel_cased_word)
360
+ .<strong>underscore</strong>(camel_cased_word) &#x21d2; <tt>Object</tt>
310
361
 
311
362
 
312
363
 
@@ -349,11 +400,12 @@
349
400
 
350
401
  </div>
351
402
 
352
- <div id="footer">
353
- Generated on Fri Dec 2 11:53:59 2016 by
403
+ <div id="footer">
404
+ Generated on Sat May 20 00:23:52 2017 by
354
405
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
355
- 0.8.7.6 (ruby-2.3.2).
406
+ 0.9.9 (ruby-2.4.1).
356
407
  </div>
357
408
 
409
+ </div>
358
410
  </body>
359
411
  </html>