maxcube-client 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/data/save/20180214-2023/recv.data +12 -0
- data/data/save/20180214-2023/recv.yaml +152 -0
- data/data/save/20180214-2023/sent.data +10 -0
- data/data/save/20180214-2023/sent.yaml +26 -0
- data/data/save/20180214-2230/recv.data +2 -0
- data/data/save/20180214-2230/recv.yaml +68 -0
- data/data/save/20180214-2230/sent.data +1 -0
- data/data/save/20180214-2230/sent.yaml +19 -0
- data/data/save/20180215-0057/recv.data +3 -0
- data/data/save/20180215-0057/recv.yaml +69 -0
- data/data/save/20180215-0057/sent.data +2 -0
- data/data/save/20180215-0057/sent.yaml +22 -0
- data/data/save/20180216-1641/recv.data +4 -0
- data/data/save/20180216-1641/recv.yaml +133 -0
- data/data/save/20180216-1641/sent.data +2 -0
- data/data/save/20180216-1641/sent.yaml +3 -0
- data/lib/maxcube/version.rb +1 -1
- data/maxcube-client.gemspec +5 -6
- data/spec/msg_spec.rb +2117 -0
- data/spec/spec_helper.rb +7 -0
- metadata +21 -75
- data/.gitignore +0 -6
- data/.rubocop.yml +0 -29
- data/.yardopts +0 -1
- data/Gemfile +0 -5
- data/bin/console +0 -8
- data/bin/maxcube-client +0 -6
- data/bin/sample_server +0 -13
- data/bin/sample_socket +0 -13
- data/bin/setup +0 -6
- data/doc/MaxCube.html +0 -502
- data/doc/MaxCube/Messages.html +0 -1927
- data/doc/MaxCube/Messages/Handler.html +0 -2912
- data/doc/MaxCube/Messages/InvalidMessage.html +0 -140
- data/doc/MaxCube/Messages/InvalidMessageBody.html +0 -264
- data/doc/MaxCube/Messages/InvalidMessageFormat.html +0 -247
- data/doc/MaxCube/Messages/InvalidMessageLength.html +0 -247
- data/doc/MaxCube/Messages/InvalidMessageType.html +0 -263
- data/doc/MaxCube/Messages/Parser.html +0 -520
- data/doc/MaxCube/Messages/Serializer.html +0 -701
- data/doc/MaxCube/Messages/TCP.html +0 -172
- data/doc/MaxCube/Messages/TCP/Handler.html +0 -1396
- data/doc/MaxCube/Messages/TCP/Parser.html +0 -462
- data/doc/MaxCube/Messages/TCP/Parser/MessageA.html +0 -186
- data/doc/MaxCube/Messages/TCP/Parser/MessageC.html +0 -1077
- data/doc/MaxCube/Messages/TCP/Parser/MessageF.html +0 -206
- data/doc/MaxCube/Messages/TCP/Parser/MessageH.html +0 -338
- data/doc/MaxCube/Messages/TCP/Parser/MessageL.html +0 -535
- data/doc/MaxCube/Messages/TCP/Parser/MessageM.html +0 -510
- data/doc/MaxCube/Messages/TCP/Parser/MessageN.html +0 -226
- data/doc/MaxCube/Messages/TCP/Parser/MessageS.html +0 -225
- data/doc/MaxCube/Messages/TCP/Serializer.html +0 -460
- data/doc/MaxCube/Messages/TCP/Serializer/MessageA.html +0 -186
- data/doc/MaxCube/Messages/TCP/Serializer/MessageC.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageF.html +0 -206
- data/doc/MaxCube/Messages/TCP/Serializer/MessageL.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageM.html +0 -428
- data/doc/MaxCube/Messages/TCP/Serializer/MessageN.html +0 -209
- data/doc/MaxCube/Messages/TCP/Serializer/MessageQ.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageS.html +0 -1168
- data/doc/MaxCube/Messages/TCP/Serializer/MessageT.html +0 -240
- data/doc/MaxCube/Messages/TCP/Serializer/MessageU.html +0 -206
- data/doc/MaxCube/Messages/TCP/Serializer/MessageZ.html +0 -252
- data/doc/MaxCube/Messages/UDP.html +0 -164
- data/doc/MaxCube/Messages/UDP/Handler.html +0 -832
- data/doc/MaxCube/Messages/UDP/Parser.html +0 -609
- data/doc/MaxCube/Messages/UDP/Parser/MessageH.html +0 -218
- data/doc/MaxCube/Messages/UDP/Parser/MessageI.html +0 -215
- data/doc/MaxCube/Messages/UDP/Parser/MessageN.html +0 -226
- data/doc/MaxCube/Messages/UDP/Serializer.html +0 -484
- data/doc/MaxCube/Network.html +0 -167
- data/doc/MaxCube/Network/TCP.html +0 -150
- data/doc/MaxCube/Network/TCP/Client.html +0 -1930
- data/doc/MaxCube/Network/TCP/Client/Commands.html +0 -2457
- data/doc/MaxCube/Network/TCP/SampleServer.html +0 -910
- data/doc/MaxCube/Network/UDP.html +0 -150
- data/doc/MaxCube/Network/UDP/Client.html +0 -518
- data/doc/MaxCube/Network/UDP/SampleSocket.html +0 -628
- data/doc/MaxCube/Runner.html +0 -355
- data/doc/_index.html +0 -518
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -499
- data/doc/file.README.html +0 -140
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -140
- data/doc/js/app.js +0 -248
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1699
- data/doc/top-level-namespace.html +0 -110
@@ -1,140 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Exception: MaxCube::Messages::InvalidMessage
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
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
|
-
pathId = "MaxCube::Messages::InvalidMessage";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
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">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (I)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">InvalidMessage</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
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>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Exception: MaxCube::Messages::InvalidMessage
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName">RuntimeError</span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">RuntimeError</li>
|
78
|
-
|
79
|
-
<li class="next">MaxCube::Messages::InvalidMessage</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/maxcube/messages.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<h2>Overview</h2><div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
|
107
|
-
<p>Base exception class that denotes an error during message
|
108
|
-
parsing/serializing.</p>
|
109
|
-
|
110
|
-
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<div class="tags">
|
114
|
-
|
115
|
-
|
116
|
-
</div><div id="subclasses">
|
117
|
-
<h2>Direct Known Subclasses</h2>
|
118
|
-
<p class="children"><span class='object_link'><a href="InvalidMessageBody.html" title="MaxCube::Messages::InvalidMessageBody (class)">InvalidMessageBody</a></span>, <span class='object_link'><a href="InvalidMessageFormat.html" title="MaxCube::Messages::InvalidMessageFormat (class)">InvalidMessageFormat</a></span>, <span class='object_link'><a href="InvalidMessageLength.html" title="MaxCube::Messages::InvalidMessageLength (class)">InvalidMessageLength</a></span>, <span class='object_link'><a href="InvalidMessageType.html" title="MaxCube::Messages::InvalidMessageType (class)">InvalidMessageType</a></span></p>
|
119
|
-
</div>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
</div>
|
131
|
-
|
132
|
-
<div id="footer">
|
133
|
-
Generated on Fri Feb 16 13:44:02 2018 by
|
134
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
|
-
0.9.12 (ruby-2.5.0).
|
136
|
-
</div>
|
137
|
-
|
138
|
-
</div>
|
139
|
-
</body>
|
140
|
-
</html>
|
@@ -1,264 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Exception: MaxCube::Messages::InvalidMessageBody
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
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
|
-
pathId = "MaxCube::Messages::InvalidMessageBody";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
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">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (I)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">InvalidMessageBody</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
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>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Exception: MaxCube::Messages::InvalidMessageBody
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName"><span class='object_link'><a href="InvalidMessage.html" title="MaxCube::Messages::InvalidMessage (class)">InvalidMessage</a></span></span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">RuntimeError</li>
|
78
|
-
|
79
|
-
<li class="next"><span class='object_link'><a href="InvalidMessage.html" title="MaxCube::Messages::InvalidMessage (class)">InvalidMessage</a></span></li>
|
80
|
-
|
81
|
-
<li class="next">MaxCube::Messages::InvalidMessageBody</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
</dl>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
<dl>
|
100
|
-
<dt>Defined in:</dt>
|
101
|
-
<dd>lib/maxcube/messages.rb</dd>
|
102
|
-
</dl>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
<h2>Overview</h2><div class="docstring">
|
107
|
-
<div class="discussion">
|
108
|
-
|
109
|
-
<p>Exception class that denotes that an error occured while
|
110
|
-
parsing/serializing message body, which is specific to message type.</p>
|
111
|
-
|
112
|
-
|
113
|
-
</div>
|
114
|
-
</div>
|
115
|
-
<div class="tags">
|
116
|
-
|
117
|
-
|
118
|
-
</div>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<h2>
|
127
|
-
Instance Method Summary
|
128
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
129
|
-
</h2>
|
130
|
-
|
131
|
-
<ul class="summary">
|
132
|
-
|
133
|
-
<li class="public ">
|
134
|
-
<span class="summary_signature">
|
135
|
-
|
136
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(msg_type, info = 'invalid format') ⇒ InvalidMessageBody </a>
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
</span>
|
141
|
-
|
142
|
-
|
143
|
-
<span class="note title constructor">constructor</span>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<span class="summary_desc"><div class='inline'>
|
153
|
-
<p>A new instance of InvalidMessageBody.</p>
|
154
|
-
</div></span>
|
155
|
-
|
156
|
-
</li>
|
157
|
-
|
158
|
-
|
159
|
-
</ul>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
<div id="constructor_details" class="method_details_list">
|
170
|
-
<h2>Constructor Details</h2>
|
171
|
-
|
172
|
-
<div class="method_details first">
|
173
|
-
<h3 class="signature first" id="initialize-instance_method">
|
174
|
-
|
175
|
-
#<strong>initialize</strong>(msg_type, info = 'invalid format') ⇒ <tt><span class='object_link'><a href="" title="MaxCube::Messages::InvalidMessageBody (class)">InvalidMessageBody</a></span></tt>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</h3><div class="docstring">
|
182
|
-
<div class="discussion">
|
183
|
-
|
184
|
-
<p>Returns a new instance of InvalidMessageBody</p>
|
185
|
-
|
186
|
-
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
<div class="tags">
|
190
|
-
<p class="tag_title">Parameters:</p>
|
191
|
-
<ul class="param">
|
192
|
-
|
193
|
-
<li>
|
194
|
-
|
195
|
-
<span class='name'>msg_type</span>
|
196
|
-
|
197
|
-
|
198
|
-
<span class='type'></span>
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
—
|
203
|
-
<div class='inline'>
|
204
|
-
<p>type of message that is being parsed/serialized.</p>
|
205
|
-
</div>
|
206
|
-
|
207
|
-
</li>
|
208
|
-
|
209
|
-
<li>
|
210
|
-
|
211
|
-
<span class='name'>info</span>
|
212
|
-
|
213
|
-
|
214
|
-
<span class='type'></span>
|
215
|
-
|
216
|
-
|
217
|
-
<em class="default">(defaults to: <tt>'invalid format'</tt>)</em>
|
218
|
-
|
219
|
-
|
220
|
-
—
|
221
|
-
<div class='inline'>
|
222
|
-
<p>contains context information to occured error.</p>
|
223
|
-
</div>
|
224
|
-
|
225
|
-
</li>
|
226
|
-
|
227
|
-
</ul>
|
228
|
-
|
229
|
-
|
230
|
-
</div><table class="source_code">
|
231
|
-
<tr>
|
232
|
-
<td>
|
233
|
-
<pre class="lines">
|
234
|
-
|
235
|
-
|
236
|
-
56
|
237
|
-
57
|
238
|
-
58</pre>
|
239
|
-
</td>
|
240
|
-
<td>
|
241
|
-
<pre class="code"><span class="info file"># File 'lib/maxcube/messages.rb', line 56</span>
|
242
|
-
|
243
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_msg_type'>msg_type</span><span class='comma'>,</span> <span class='id identifier rubyid_info'>info</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>invalid format</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
244
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>message type </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg_type'>msg_type</span><span class='embexpr_end'>}</span><span class='tstring_content'>: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_info'>info</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
245
|
-
<span class='kw'>end</span></pre>
|
246
|
-
</td>
|
247
|
-
</tr>
|
248
|
-
</table>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
</div>
|
252
|
-
|
253
|
-
|
254
|
-
</div>
|
255
|
-
|
256
|
-
<div id="footer">
|
257
|
-
Generated on Fri Feb 16 13:44:02 2018 by
|
258
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
259
|
-
0.9.12 (ruby-2.5.0).
|
260
|
-
</div>
|
261
|
-
|
262
|
-
</div>
|
263
|
-
</body>
|
264
|
-
</html>
|
@@ -1,247 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Exception: MaxCube::Messages::InvalidMessageFormat
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
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
|
-
pathId = "MaxCube::Messages::InvalidMessageFormat";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
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">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (I)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">InvalidMessageFormat</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
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>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Exception: MaxCube::Messages::InvalidMessageFormat
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName"><span class='object_link'><a href="InvalidMessage.html" title="MaxCube::Messages::InvalidMessage (class)">InvalidMessage</a></span></span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">RuntimeError</li>
|
78
|
-
|
79
|
-
<li class="next"><span class='object_link'><a href="InvalidMessage.html" title="MaxCube::Messages::InvalidMessage (class)">InvalidMessage</a></span></li>
|
80
|
-
|
81
|
-
<li class="next">MaxCube::Messages::InvalidMessageFormat</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
</dl>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
<dl>
|
100
|
-
<dt>Defined in:</dt>
|
101
|
-
<dd>lib/maxcube/messages.rb</dd>
|
102
|
-
</dl>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
<h2>Overview</h2><div class="docstring">
|
107
|
-
<div class="discussion">
|
108
|
-
|
109
|
-
<p>Exception class that denotes invalid syntax format of message.</p>
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<div class="tags">
|
115
|
-
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<h2>
|
126
|
-
Instance Method Summary
|
127
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
128
|
-
</h2>
|
129
|
-
|
130
|
-
<ul class="summary">
|
131
|
-
|
132
|
-
<li class="public ">
|
133
|
-
<span class="summary_signature">
|
134
|
-
|
135
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(info = 'invalid format') ⇒ InvalidMessageFormat </a>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
</span>
|
140
|
-
|
141
|
-
|
142
|
-
<span class="note title constructor">constructor</span>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<span class="summary_desc"><div class='inline'>
|
152
|
-
<p>A new instance of InvalidMessageFormat.</p>
|
153
|
-
</div></span>
|
154
|
-
|
155
|
-
</li>
|
156
|
-
|
157
|
-
|
158
|
-
</ul>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<div id="constructor_details" class="method_details_list">
|
169
|
-
<h2>Constructor Details</h2>
|
170
|
-
|
171
|
-
<div class="method_details first">
|
172
|
-
<h3 class="signature first" id="initialize-instance_method">
|
173
|
-
|
174
|
-
#<strong>initialize</strong>(info = 'invalid format') ⇒ <tt><span class='object_link'><a href="" title="MaxCube::Messages::InvalidMessageFormat (class)">InvalidMessageFormat</a></span></tt>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
</h3><div class="docstring">
|
181
|
-
<div class="discussion">
|
182
|
-
|
183
|
-
<p>Returns a new instance of InvalidMessageFormat</p>
|
184
|
-
|
185
|
-
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
<div class="tags">
|
189
|
-
<p class="tag_title">Parameters:</p>
|
190
|
-
<ul class="param">
|
191
|
-
|
192
|
-
<li>
|
193
|
-
|
194
|
-
<span class='name'>info</span>
|
195
|
-
|
196
|
-
|
197
|
-
<span class='type'></span>
|
198
|
-
|
199
|
-
|
200
|
-
<em class="default">(defaults to: <tt>'invalid format'</tt>)</em>
|
201
|
-
|
202
|
-
|
203
|
-
—
|
204
|
-
<div class='inline'>
|
205
|
-
<p>contains context information to occured error.</p>
|
206
|
-
</div>
|
207
|
-
|
208
|
-
</li>
|
209
|
-
|
210
|
-
</ul>
|
211
|
-
|
212
|
-
|
213
|
-
</div><table class="source_code">
|
214
|
-
<tr>
|
215
|
-
<td>
|
216
|
-
<pre class="lines">
|
217
|
-
|
218
|
-
|
219
|
-
45
|
220
|
-
46
|
221
|
-
47</pre>
|
222
|
-
</td>
|
223
|
-
<td>
|
224
|
-
<pre class="code"><span class="info file"># File 'lib/maxcube/messages.rb', line 45</span>
|
225
|
-
|
226
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_info'>info</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>invalid format</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
227
|
-
<span class='kw'>super</span>
|
228
|
-
<span class='kw'>end</span></pre>
|
229
|
-
</td>
|
230
|
-
</tr>
|
231
|
-
</table>
|
232
|
-
</div>
|
233
|
-
|
234
|
-
</div>
|
235
|
-
|
236
|
-
|
237
|
-
</div>
|
238
|
-
|
239
|
-
<div id="footer">
|
240
|
-
Generated on Fri Feb 16 13:44:02 2018 by
|
241
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
242
|
-
0.9.12 (ruby-2.5.0).
|
243
|
-
</div>
|
244
|
-
|
245
|
-
</div>
|
246
|
-
</body>
|
247
|
-
</html>
|