obarc 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +19 -0
  3. data/.gitignore +5 -0
  4. data/.rubocop.yml +1156 -0
  5. data/.travis.yml +12 -0
  6. data/Gemfile +3 -0
  7. data/Gemfile.lock +78 -0
  8. data/README.md +133 -0
  9. data/Rakefile +39 -0
  10. data/doc/OBarc.html +210 -0
  11. data/doc/OBarc/Api.html +883 -0
  12. data/doc/OBarc/Session.html +5399 -0
  13. data/doc/OBarc/Utils.html +117 -0
  14. data/doc/OBarc/Utils/Exceptions.html +115 -0
  15. data/doc/OBarc/Utils/Exceptions/InvalidArgumentError.html +230 -0
  16. data/doc/OBarc/Utils/Exceptions/InvalidElementError.html +218 -0
  17. data/doc/OBarc/Utils/Exceptions/InvalidWordError.html +218 -0
  18. data/doc/OBarc/Utils/Exceptions/MissingArgumentError.html +230 -0
  19. data/doc/OBarc/Utils/Exceptions/OBarcArgumentError.html +151 -0
  20. data/doc/OBarc/Utils/Exceptions/OBarcError.html +291 -0
  21. data/doc/OBarc/Utils/Exceptions/OBarcResponseError.html +520 -0
  22. data/doc/OBarc/Utils/Exceptions/OverLimitError.html +218 -0
  23. data/doc/OBarc/Utils/Exceptions/TimeOutError.html +218 -0
  24. data/doc/OBarc/Utils/Helper.html +115 -0
  25. data/doc/OBarc/Utils/Helper/ObjectExtensions.html +105 -0
  26. data/doc/_index.html +239 -0
  27. data/doc/class_list.html +58 -0
  28. data/doc/css/common.css +1 -0
  29. data/doc/css/full_list.css +57 -0
  30. data/doc/css/style.css +339 -0
  31. data/doc/file.README.html +229 -0
  32. data/doc/file_list.html +60 -0
  33. data/doc/frames.html +26 -0
  34. data/doc/index.html +229 -0
  35. data/doc/js/app.js +219 -0
  36. data/doc/js/full_list.js +181 -0
  37. data/doc/js/jquery.js +4 -0
  38. data/doc/method_list.html +465 -0
  39. data/doc/top-level-namespace.html +112 -0
  40. data/graphics/obarc-logo.png +0 -0
  41. data/graphics/obarc-logo.xcf +0 -0
  42. data/lib/obarc.rb +14 -0
  43. data/lib/obarc/api.rb +220 -0
  44. data/lib/obarc/session.rb +514 -0
  45. data/lib/obarc/utils/exceptions.rb +35 -0
  46. data/lib/obarc/utils/helper.rb +18 -0
  47. data/lib/obarc/version.rb +3 -0
  48. data/obarc.gemspec +32 -0
  49. metadata +276 -0
@@ -0,0 +1,218 @@
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">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Exception: OBarc::Utils::Exceptions::InvalidElementError
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!OBarc/Utils/Exceptions/InvalidElementError.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (I)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../OBarc.html" title="OBarc (module)">OBarc</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Utils.html" title="OBarc::Utils (module)">Utils</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Exceptions.html" title="OBarc::Utils::Exceptions (module)">Exceptions</a></span></span>
36
+ &raquo;
37
+ <span class="title">InvalidElementError</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ 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
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Exception: OBarc::Utils::Exceptions::InvalidElementError
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">StandardError</li>
82
+
83
+ <li class="next"><span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></li>
84
+
85
+ <li class="next">OBarc::Utils::Exceptions::InvalidElementError</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/obarc/utils/exceptions.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>Instance Attribute Summary</h2>
113
+
114
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></h3>
115
+ <p class="inherited"><span class='object_link'><a href="OBarcError.html#message-instance_method" title="OBarc::Utils::Exceptions::OBarcError#message (method)">#message</a></span></p>
116
+
117
+
118
+
119
+ <h2>
120
+ Instance Method Summary
121
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
122
+ </h2>
123
+
124
+ <ul class="summary">
125
+
126
+ <li class="public ">
127
+ <span class="summary_signature">
128
+
129
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (InvalidElementError) <strong>initialize</strong>(name, invalid_element, list) </a>
130
+
131
+
132
+
133
+ </span>
134
+
135
+
136
+ <span class="note title constructor">constructor</span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>A new instance of InvalidElementError.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ </ul>
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <div id="constructor_details" class="method_details_list">
163
+ <h2>Constructor Details</h2>
164
+
165
+ <div class="method_details first">
166
+ <h3 class="signature first" id="initialize-instance_method">
167
+
168
+ - (<tt><span class='object_link'><a href="" title="OBarc::Utils::Exceptions::InvalidElementError (class)">InvalidElementError</a></span></tt>) <strong>initialize</strong>(name, invalid_element, list)
169
+
170
+
171
+
172
+
173
+
174
+ </h3><div class="docstring">
175
+ <div class="discussion">
176
+
177
+ <p>Returns a new instance of InvalidElementError</p>
178
+
179
+
180
+ </div>
181
+ </div>
182
+ <div class="tags">
183
+
184
+
185
+ </div><table class="source_code">
186
+ <tr>
187
+ <td>
188
+ <pre class="lines">
189
+
190
+
191
+ 41
192
+ 42
193
+ 43</pre>
194
+ </td>
195
+ <td>
196
+ <pre class="code"><span class="info file"># File 'lib/obarc/utils/exceptions.rb', line 41</span>
197
+
198
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_invalid_element'>invalid_element</span><span class='comma'>,</span> <span class='id identifier rubyid_list'>list</span><span class='rparen'>)</span>
199
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>invalid </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_invalid_element'>invalid_element</span><span class='embexpr_end'>}</span><span class='tstring_content'> ( </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> only support </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_list'>list</span> <span class='op'>*</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><span class='embexpr_end'>}</span><span class='tstring_content'> )</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
200
+ <span class='kw'>end</span></pre>
201
+ </td>
202
+ </tr>
203
+ </table>
204
+ </div>
205
+
206
+ </div>
207
+
208
+
209
+ </div>
210
+
211
+ <div id="footer">
212
+ Generated on Mon Jun 6 17:02:06 2016 by
213
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
214
+ 0.8.7.6 (ruby-2.1.5).
215
+ </div>
216
+
217
+ </body>
218
+ </html>
@@ -0,0 +1,218 @@
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">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Exception: OBarc::Utils::Exceptions::InvalidWordError
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!OBarc/Utils/Exceptions/InvalidWordError.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (I)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../OBarc.html" title="OBarc (module)">OBarc</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Utils.html" title="OBarc::Utils (module)">Utils</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Exceptions.html" title="OBarc::Utils::Exceptions (module)">Exceptions</a></span></span>
36
+ &raquo;
37
+ <span class="title">InvalidWordError</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ 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
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Exception: OBarc::Utils::Exceptions::InvalidWordError
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">StandardError</li>
82
+
83
+ <li class="next"><span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></li>
84
+
85
+ <li class="next">OBarc::Utils::Exceptions::InvalidWordError</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/obarc/utils/exceptions.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>Instance Attribute Summary</h2>
113
+
114
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></h3>
115
+ <p class="inherited"><span class='object_link'><a href="OBarcError.html#message-instance_method" title="OBarc::Utils::Exceptions::OBarcError#message (method)">#message</a></span></p>
116
+
117
+
118
+
119
+ <h2>
120
+ Instance Method Summary
121
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
122
+ </h2>
123
+
124
+ <ul class="summary">
125
+
126
+ <li class="public ">
127
+ <span class="summary_signature">
128
+
129
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (InvalidWordError) <strong>initialize</strong>(name, word) </a>
130
+
131
+
132
+
133
+ </span>
134
+
135
+
136
+ <span class="note title constructor">constructor</span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>A new instance of InvalidWordError.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ </ul>
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <div id="constructor_details" class="method_details_list">
163
+ <h2>Constructor Details</h2>
164
+
165
+ <div class="method_details first">
166
+ <h3 class="signature first" id="initialize-instance_method">
167
+
168
+ - (<tt><span class='object_link'><a href="" title="OBarc::Utils::Exceptions::InvalidWordError (class)">InvalidWordError</a></span></tt>) <strong>initialize</strong>(name, word)
169
+
170
+
171
+
172
+
173
+
174
+ </h3><div class="docstring">
175
+ <div class="discussion">
176
+
177
+ <p>Returns a new instance of InvalidWordError</p>
178
+
179
+
180
+ </div>
181
+ </div>
182
+ <div class="tags">
183
+
184
+
185
+ </div><table class="source_code">
186
+ <tr>
187
+ <td>
188
+ <pre class="lines">
189
+
190
+
191
+ 35
192
+ 36
193
+ 37</pre>
194
+ </td>
195
+ <td>
196
+ <pre class="code"><span class="info file"># File 'lib/obarc/utils/exceptions.rb', line 35</span>
197
+
198
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_word'>word</span><span class='rparen'>)</span>
199
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>invalid </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_word'>word</span><span class='embexpr_end'>}</span><span class='tstring_content'> ( </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'> can only contain letters, numbers, &#39;_&#39; and Chinese character)</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
200
+ <span class='kw'>end</span></pre>
201
+ </td>
202
+ </tr>
203
+ </table>
204
+ </div>
205
+
206
+ </div>
207
+
208
+
209
+ </div>
210
+
211
+ <div id="footer">
212
+ Generated on Mon Jun 6 17:02:05 2016 by
213
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
214
+ 0.8.7.6 (ruby-2.1.5).
215
+ </div>
216
+
217
+ </body>
218
+ </html>
@@ -0,0 +1,230 @@
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">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Exception: OBarc::Utils::Exceptions::MissingArgumentError
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!OBarc/Utils/Exceptions/MissingArgumentError.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (M)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../../OBarc.html" title="OBarc (module)">OBarc</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Utils.html" title="OBarc::Utils (module)">Utils</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Exceptions.html" title="OBarc::Utils::Exceptions (module)">Exceptions</a></span></span>
36
+ &raquo;
37
+ <span class="title">MissingArgumentError</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ 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
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Exception: OBarc::Utils::Exceptions::MissingArgumentError
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="OBarcArgumentError.html" title="OBarc::Utils::Exceptions::OBarcArgumentError (class)">OBarcArgumentError</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">StandardError</li>
82
+
83
+ <li class="next"><span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></li>
84
+
85
+ <li class="next"><span class='object_link'><a href="OBarcArgumentError.html" title="OBarc::Utils::Exceptions::OBarcArgumentError (class)">OBarcArgumentError</a></span></li>
86
+
87
+ <li class="next">OBarc::Utils::Exceptions::MissingArgumentError</li>
88
+
89
+ </ul>
90
+ <a href="#" class="inheritanceTree">show all</a>
91
+
92
+ </dd>
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <dt class="r2 last">Defined in:</dt>
103
+ <dd class="r2 last">lib/obarc/utils/exceptions.rb</dd>
104
+
105
+ </dl>
106
+ <div class="clear"></div>
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+ <h2>Instance Attribute Summary</h2>
115
+
116
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="OBarcError.html" title="OBarc::Utils::Exceptions::OBarcError (class)">OBarcError</a></span></h3>
117
+ <p class="inherited"><span class='object_link'><a href="OBarcError.html#message-instance_method" title="OBarc::Utils::Exceptions::OBarcError#message (method)">#message</a></span></p>
118
+
119
+
120
+
121
+ <h2>
122
+ Instance Method Summary
123
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
124
+ </h2>
125
+
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (MissingArgumentError) <strong>initialize</strong>(missed_args) </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+ <span class="note title constructor">constructor</span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'>
148
+ <p>A new instance of MissingArgumentError.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ </ul>
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ <div id="constructor_details" class="method_details_list">
171
+ <h2>Constructor Details</h2>
172
+
173
+ <div class="method_details first">
174
+ <h3 class="signature first" id="initialize-instance_method">
175
+
176
+ - (<tt><span class='object_link'><a href="" title="OBarc::Utils::Exceptions::MissingArgumentError (class)">MissingArgumentError</a></span></tt>) <strong>initialize</strong>(missed_args)
177
+
178
+
179
+
180
+
181
+
182
+ </h3><div class="docstring">
183
+ <div class="discussion">
184
+
185
+ <p>Returns a new instance of MissingArgumentError</p>
186
+
187
+
188
+ </div>
189
+ </div>
190
+ <div class="tags">
191
+
192
+
193
+ </div><table class="source_code">
194
+ <tr>
195
+ <td>
196
+ <pre class="lines">
197
+
198
+
199
+ 19
200
+ 20
201
+ 21
202
+ 22
203
+ 23</pre>
204
+ </td>
205
+ <td>
206
+ <pre class="code"><span class="info file"># File 'lib/obarc/utils/exceptions.rb', line 19</span>
207
+
208
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_missed_args'>missed_args</span><span class='rparen'>)</span>
209
+ <span class='id identifier rubyid_list'>list</span> <span class='op'>=</span> <span class='id identifier rubyid_missed_args'>missed_args</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_arg'>arg</span><span class='op'>|</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rbrace'>}</span> <span class='op'>*</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>
210
+ <span class='id identifier rubyid_msg'>msg</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_list'>list</span><span class='embexpr_end'>}</span><span class='tstring_content'> are required.</span><span class='tstring_end'>&quot;</span></span>
211
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_msg'>msg</span><span class='rparen'>)</span>
212
+ <span class='kw'>end</span></pre>
213
+ </td>
214
+ </tr>
215
+ </table>
216
+ </div>
217
+
218
+ </div>
219
+
220
+
221
+ </div>
222
+
223
+ <div id="footer">
224
+ Generated on Tue Apr 4 17:29:30 2017 by
225
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
226
+ 0.8.7.6 (ruby-2.2.5).
227
+ </div>
228
+
229
+ </body>
230
+ </html>