libastag 0.0.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.
Files changed (96) hide show
  1. data/CHANGES +7 -0
  2. data/MIT-LICENSE +19 -0
  3. data/README +65 -0
  4. data/Rakefile +276 -0
  5. data/TODO +7 -0
  6. data/doc/classes/Helpers/REXML/Attributes.html +179 -0
  7. data/doc/classes/Helpers/REXML.html +115 -0
  8. data/doc/classes/Helpers.html +181 -0
  9. data/doc/classes/Libastag/Rabbit.html +462 -0
  10. data/doc/classes/Libastag/RabitEar.html +120 -0
  11. data/doc/classes/Libastag/RabitLed.html +120 -0
  12. data/doc/classes/Libastag.html +141 -0
  13. data/doc/classes/Request/Action.html +213 -0
  14. data/doc/classes/Request/Base/Event.html +226 -0
  15. data/doc/classes/Request/Base/EventCollection.html +246 -0
  16. data/doc/classes/Request/Base.html +134 -0
  17. data/doc/classes/Request/GET_EARS_POSITION.html +151 -0
  18. data/doc/classes/Request/Query.html +244 -0
  19. data/doc/classes/Request/SetEarsPosition.html +213 -0
  20. data/doc/classes/Request/TtsMessage.html +235 -0
  21. data/doc/classes/Request.html +414 -0
  22. data/doc/classes/Response/AbuseSending.html +165 -0
  23. data/doc/classes/Response/Base/BadServerRsp.html +163 -0
  24. data/doc/classes/Response/Base/GoodServerRsp.html +161 -0
  25. data/doc/classes/Response/Base/ServerRsp.html +347 -0
  26. data/doc/classes/Response/Base.html +162 -0
  27. data/doc/classes/Response/Blacklist.html +165 -0
  28. data/doc/classes/Response/ChorNotSend.html +166 -0
  29. data/doc/classes/Response/ChorSend.html +165 -0
  30. data/doc/classes/Response/CommandSend.html +168 -0
  31. data/doc/classes/Response/EarPositionNotSend.html +165 -0
  32. data/doc/classes/Response/EarPositionSend.html +165 -0
  33. data/doc/classes/Response/EmptyServerRsp.html +161 -0
  34. data/doc/classes/Response/LangListUser.html +166 -0
  35. data/doc/classes/Response/LinkPreview.html +165 -0
  36. data/doc/classes/Response/ListFriend.html +165 -0
  37. data/doc/classes/Response/ListReceivedMsg.html +165 -0
  38. data/doc/classes/Response/MessageNotSend.html +165 -0
  39. data/doc/classes/Response/MessageSend.html +165 -0
  40. data/doc/classes/Response/NabCastNotSend.html +169 -0
  41. data/doc/classes/Response/NabCastSend.html +165 -0
  42. data/doc/classes/Response/NoCorrectParameters.html +165 -0
  43. data/doc/classes/Response/NoGoodTokenOrSerial.html +165 -0
  44. data/doc/classes/Response/NotV2Rabbit.html +165 -0
  45. data/doc/classes/Response/PositionEar.html +166 -0
  46. data/doc/classes/Response/ProtocolExcepion.html +164 -0
  47. data/doc/classes/Response/RabbitName.html +164 -0
  48. data/doc/classes/Response/RabbitSleep.html +164 -0
  49. data/doc/classes/Response/RabbitVersion.html +164 -0
  50. data/doc/classes/Response/Signature.html +164 -0
  51. data/doc/classes/Response/Timezone.html +164 -0
  52. data/doc/classes/Response/TtsNotSend.html +168 -0
  53. data/doc/classes/Response/TtsSend.html +165 -0
  54. data/doc/classes/Response/VoiceListTts.html +165 -0
  55. data/doc/classes/Response/WebRadioNotSend.html +165 -0
  56. data/doc/classes/Response/WebRadioSend.html +165 -0
  57. data/doc/classes/Response.html +337 -0
  58. data/doc/classes/VioletAPI.html +118 -0
  59. data/doc/created.rid +1 -0
  60. data/doc/dot/f_0.dot +14 -0
  61. data/doc/dot/f_0.png +0 -0
  62. data/doc/dot/f_4.dot +57 -0
  63. data/doc/dot/f_4.png +0 -0
  64. data/doc/dot/f_5.dot +489 -0
  65. data/doc/dot/f_5.png +0 -0
  66. data/doc/dot/f_6.dot +55 -0
  67. data/doc/dot/f_6.png +0 -0
  68. data/doc/dot/f_7.dot +30 -0
  69. data/doc/dot/f_7.png +0 -0
  70. data/doc/dot/f_8.dot +142 -0
  71. data/doc/dot/f_8.png +0 -0
  72. data/doc/files/CHANGES.html +126 -0
  73. data/doc/files/MIT-LICENSE.html +134 -0
  74. data/doc/files/README.html +192 -0
  75. data/doc/files/TODO.html +126 -0
  76. data/doc/files/lib/libastag_rb.html +116 -0
  77. data/doc/files/lib/violet/helpers_rb.html +123 -0
  78. data/doc/files/lib/violet/request_rb.html +133 -0
  79. data/doc/files/lib/violet/response_rb.html +220 -0
  80. data/doc/files/lib/violet/violetapi_rb.html +114 -0
  81. data/doc/fr_class_index.html +79 -0
  82. data/doc/fr_file_index.html +35 -0
  83. data/doc/fr_method_index.html +56 -0
  84. data/doc/index.html +24 -0
  85. data/doc/rdoc-style.css +208 -0
  86. data/lib/libastag.rb +116 -0
  87. data/lib/violet/helpers.rb +48 -0
  88. data/lib/violet/request.rb +301 -0
  89. data/lib/violet/response.rb +412 -0
  90. data/lib/violet/violetapi.rb +14 -0
  91. data/test/fake_violet_srv.rb +94 -0
  92. data/test/test_helpers.rb +31 -0
  93. data/test/test_request.rb +20 -0
  94. data/test/test_response.rb +295 -0
  95. data/test/test_send.rb +137 -0
  96. metadata +264 -0
@@ -0,0 +1,226 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Request::Base::Event</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Request::Base::Event</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/violet/request_rb.html">
59
+ lib/violet/request.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+ <div id="diagram">
81
+ <map id="map" name="map">
82
+ <area shape="rect" coords="392,85,464,133" href="Event.html" alt="Event" />
83
+ <area shape="rect" coords="27,181,99,229" href="../Action.html" alt="Action" />
84
+ <area shape="rect" coords="123,181,211,229" href="../TtsMessage.html" alt="TtsMessage" />
85
+ <area shape="rect" coords="235,181,341,229" href="../SetEarsPosition.html" alt="SetEarsPosition" />
86
+ <area shape="rect" coords="365,181,469,229" href="EventCollection.html" alt="EventCollection" />
87
+ <area shape="rect" coords="647,85,724,133" href="../../Enumerable.html" alt="Enumerable" />
88
+ <area shape="rect" coords="135,85,207,133" href="../Query.html" alt="Query" />
89
+ <area shape="rect" coords="491,73,625,121" href="../GET_EARS_POSITION.html" alt="GET_EARS_POSITION" />
90
+ <area shape="rect" coords="355,51,480,240" href="../Base.html" alt="Base" />
91
+ <area shape="rect" coords="16,16,636,251" href="../../Request.html" alt="Request" />
92
+ </map>
93
+ <img src="../../../dot/f_8.png" usemap="#map" border="0" alt="dot/f_8.png">
94
+ </div>
95
+
96
+ <div id="description">
97
+ <p>
98
+ superclass of message send to Violet.
99
+ </p>
100
+
101
+ </div>
102
+
103
+
104
+ </div>
105
+
106
+ <div id="method-list">
107
+ <h3 class="section-bar">Methods</h3>
108
+
109
+ <div class="name-list">
110
+ <a href="#M000020">+</a>&nbsp;&nbsp;
111
+ <a href="#M000019">new</a>&nbsp;&nbsp;
112
+ <a href="#M000021">to_url</a>&nbsp;&nbsp;
113
+ </div>
114
+ </div>
115
+
116
+ </div>
117
+
118
+
119
+ <!-- if includes -->
120
+
121
+ <div id="section">
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+ <!-- if method_list -->
131
+ <div id="methods">
132
+ <h3 class="section-bar">Public Class methods</h3>
133
+
134
+ <div id="method-M000019" class="method-detail">
135
+ <a name="M000019"></a>
136
+
137
+ <div class="method-heading">
138
+ <a href="#M000019" class="method-signature">
139
+ <span class="method-name">new</span><span class="method-args">()</span>
140
+ </a>
141
+ </div>
142
+
143
+ <div class="method-description">
144
+ <p>
145
+ constructor has to be overrided
146
+ </p>
147
+ <p><a class="source-toggle" href="#"
148
+ onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
149
+ <div class="method-source-code" id="M000019-source">
150
+ <pre>
151
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 26</span>
152
+ 26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
153
+ 27: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
154
+ 28: <span class="ruby-keyword kw">end</span>
155
+ </pre>
156
+ </div>
157
+ </div>
158
+ </div>
159
+
160
+ <h3 class="section-bar">Public Instance methods</h3>
161
+
162
+ <div id="method-M000020" class="method-detail">
163
+ <a name="M000020"></a>
164
+
165
+ <div class="method-heading">
166
+ <a href="#M000020" class="method-signature">
167
+ <span class="method-name">+</span><span class="method-args">(other)</span>
168
+ </a>
169
+ </div>
170
+
171
+ <div class="method-description">
172
+ <p>
173
+ it&#8216;s possible to send multiples events on a single request.
174
+ </p>
175
+ <p><a class="source-toggle" href="#"
176
+ onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
177
+ <div class="method-source-code" id="M000020-source">
178
+ <pre>
179
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 31</span>
180
+ 31: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">other</span>
181
+ 32: <span class="ruby-constant">EventCollection</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">other</span>
182
+ 33: <span class="ruby-keyword kw">end</span>
183
+ </pre>
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <div id="method-M000021" class="method-detail">
189
+ <a name="M000021"></a>
190
+
191
+ <div class="method-heading">
192
+ <a href="#M000021" class="method-signature">
193
+ <span class="method-name">to_url</span><span class="method-args">()</span>
194
+ </a>
195
+ </div>
196
+
197
+ <div class="method-description">
198
+ <p>
199
+ <a href="Event.html#M000021">to_url</a> has to be overrided
200
+ </p>
201
+ <p><a class="source-toggle" href="#"
202
+ onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
203
+ <div class="method-source-code" id="M000021-source">
204
+ <pre>
205
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 36</span>
206
+ 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_url</span>
207
+ 37: <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>
208
+ 38: <span class="ruby-keyword kw">end</span>
209
+ </pre>
210
+ </div>
211
+ </div>
212
+ </div>
213
+
214
+
215
+ </div>
216
+
217
+
218
+ </div>
219
+
220
+
221
+ <div id="validator-badges">
222
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
223
+ </div>
224
+
225
+ </body>
226
+ </html>
@@ -0,0 +1,246 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Request::Base::EventCollection</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Request::Base::EventCollection</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/violet/request_rb.html">
59
+ lib/violet/request.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Event.html">
69
+ Event
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="rect" coords="392,85,464,133" href="Event.html" alt="Event" />
85
+ <area shape="rect" coords="27,181,99,229" href="../Action.html" alt="Action" />
86
+ <area shape="rect" coords="123,181,211,229" href="../TtsMessage.html" alt="TtsMessage" />
87
+ <area shape="rect" coords="235,181,341,229" href="../SetEarsPosition.html" alt="SetEarsPosition" />
88
+ <area shape="rect" coords="365,181,469,229" href="EventCollection.html" alt="EventCollection" />
89
+ <area shape="rect" coords="647,85,724,133" href="../../Enumerable.html" alt="Enumerable" />
90
+ <area shape="rect" coords="135,85,207,133" href="../Query.html" alt="Query" />
91
+ <area shape="rect" coords="491,73,625,121" href="../GET_EARS_POSITION.html" alt="GET_EARS_POSITION" />
92
+ <area shape="rect" coords="355,51,480,240" href="../Base.html" alt="Base" />
93
+ <area shape="rect" coords="16,16,636,251" href="../../Request.html" alt="Request" />
94
+ </map>
95
+ <img src="../../../dot/f_8.png" usemap="#map" border="0" alt="dot/f_8.png">
96
+ </div>
97
+
98
+ <div id="description">
99
+ <p>
100
+ combine many <a href="Event.html">Event</a> in a single request
101
+ </p>
102
+
103
+ </div>
104
+
105
+
106
+ </div>
107
+
108
+ <div id="method-list">
109
+ <h3 class="section-bar">Methods</h3>
110
+
111
+ <div class="name-list">
112
+ <a href="#M000017">each</a>&nbsp;&nbsp;
113
+ <a href="#M000016">new</a>&nbsp;&nbsp;
114
+ <a href="#M000018">to_url</a>&nbsp;&nbsp;
115
+ </div>
116
+ </div>
117
+
118
+ </div>
119
+
120
+
121
+ <!-- if includes -->
122
+ <div id="includes">
123
+ <h3 class="section-bar">Included Modules</h3>
124
+
125
+ <div id="includes-list">
126
+ <span class="include-name">Enumerable</span>
127
+ </div>
128
+ </div>
129
+
130
+ <div id="section">
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <!-- if method_list -->
140
+ <div id="methods">
141
+ <h3 class="section-bar">Public Class methods</h3>
142
+
143
+ <div id="method-M000016" class="method-detail">
144
+ <a name="M000016"></a>
145
+
146
+ <div class="method-heading">
147
+ <a href="#M000016" class="method-signature">
148
+ <span class="method-name">new</span><span class="method-args">(one, another)</span>
149
+ </a>
150
+ </div>
151
+
152
+ <div class="method-description">
153
+ <p>
154
+ create a <a href="EventCollection.html#M000016">new</a> <a
155
+ href="EventCollection.html">EventCollection</a> with two childrens.
156
+ </p>
157
+ <p><a class="source-toggle" href="#"
158
+ onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
159
+ <div class="method-source-code" id="M000016-source">
160
+ <pre>
161
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 47</span>
162
+ 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">one</span>, <span class="ruby-identifier">another</span>
163
+ 48: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">one</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_url</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">another</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:to_url</span>) <span class="ruby-comment cmt"># \_o&lt; Coin !</span>
164
+ 49: <span class="ruby-ivar">@childrens</span> = [ <span class="ruby-identifier">one</span>, <span class="ruby-identifier">another</span> ]
165
+ 50: <span class="ruby-keyword kw">else</span>
166
+ 51: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'bad parameters'</span>)
167
+ 52: <span class="ruby-keyword kw">end</span>
168
+ 53: <span class="ruby-keyword kw">end</span>
169
+ </pre>
170
+ </div>
171
+ </div>
172
+ </div>
173
+
174
+ <h3 class="section-bar">Public Instance methods</h3>
175
+
176
+ <div id="method-M000017" class="method-detail">
177
+ <a name="M000017"></a>
178
+
179
+ <div class="method-heading">
180
+ <a href="#M000017" class="method-signature">
181
+ <span class="method-name">each</span><span class="method-args">() {|i| ...}</span>
182
+ </a>
183
+ </div>
184
+
185
+ <div class="method-description">
186
+ <p>
187
+ needed by Enumerable module. usage should be obvious :)
188
+ </p>
189
+ <p><a class="source-toggle" href="#"
190
+ onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
191
+ <div class="method-source-code" id="M000017-source">
192
+ <pre>
193
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 57</span>
194
+ 57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
195
+ 58: <span class="ruby-ivar">@childrens</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span>
196
+ 59: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Enumerable</span>
197
+ 60: <span class="ruby-identifier">e</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">i</span> }
198
+ 61: <span class="ruby-keyword kw">else</span>
199
+ 62: <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">e</span>
200
+ 63: <span class="ruby-keyword kw">end</span>
201
+ 64: <span class="ruby-keyword kw">end</span>
202
+ 65: <span class="ruby-keyword kw">end</span>
203
+ </pre>
204
+ </div>
205
+ </div>
206
+ </div>
207
+
208
+ <div id="method-M000018" class="method-detail">
209
+ <a name="M000018"></a>
210
+
211
+ <div class="method-heading">
212
+ <a href="#M000018" class="method-signature">
213
+ <span class="method-name">to_url</span><span class="method-args">()</span>
214
+ </a>
215
+ </div>
216
+
217
+ <div class="method-description">
218
+ <p>
219
+ override <a href="Event.html#M000021">Event#to_url</a>.
220
+ </p>
221
+ <p><a class="source-toggle" href="#"
222
+ onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
223
+ <div class="method-source-code" id="M000018-source">
224
+ <pre>
225
+ <span class="ruby-comment cmt"># File lib/violet/request.rb, line 68</span>
226
+ 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_url</span>
227
+ 69: <span class="ruby-ivar">@childrens</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">to_url</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'&amp;'</span>)
228
+ 70: <span class="ruby-keyword kw">end</span>
229
+ </pre>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+
235
+ </div>
236
+
237
+
238
+ </div>
239
+
240
+
241
+ <div id="validator-badges">
242
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
243
+ </div>
244
+
245
+ </body>
246
+ </html>
@@ -0,0 +1,134 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Request::Base</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Request::Base</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/violet/request_rb.html">
59
+ lib/violet/request.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+ <div id="diagram">
75
+ <map id="map" name="map">
76
+ <area shape="rect" coords="392,85,464,133" href="Base/Event.html" alt="Event" />
77
+ <area shape="rect" coords="27,181,99,229" href="Action.html" alt="Action" />
78
+ <area shape="rect" coords="123,181,211,229" href="TtsMessage.html" alt="TtsMessage" />
79
+ <area shape="rect" coords="235,181,341,229" href="SetEarsPosition.html" alt="SetEarsPosition" />
80
+ <area shape="rect" coords="365,181,469,229" href="Base/EventCollection.html" alt="EventCollection" />
81
+ <area shape="rect" coords="647,85,724,133" href="../Enumerable.html" alt="Enumerable" />
82
+ <area shape="rect" coords="135,85,207,133" href="Query.html" alt="Query" />
83
+ <area shape="rect" coords="491,73,625,121" href="GET_EARS_POSITION.html" alt="GET_EARS_POSITION" />
84
+ <area shape="rect" coords="355,51,480,240" href="Base.html" alt="Base" />
85
+ <area shape="rect" coords="16,16,636,251" href="../Request.html" alt="Request" />
86
+ </map>
87
+ <img src="../../dot/f_8.png" usemap="#map" border="0" alt="dot/f_8.png">
88
+ </div>
89
+
90
+ <div id="description">
91
+ <p>
92
+ contains some basic stuff, abstract class etc. they&#8216;re used internaly
93
+ and you should only use derivated class.
94
+ </p>
95
+
96
+ </div>
97
+
98
+
99
+ </div>
100
+
101
+
102
+ </div>
103
+
104
+
105
+ <!-- if includes -->
106
+
107
+ <div id="section">
108
+
109
+ <div id="class-list">
110
+ <h3 class="section-bar">Classes and Modules</h3>
111
+
112
+ Class <a href="Base/Event.html" class="link">Request::Base::Event</a><br />
113
+ Class <a href="Base/EventCollection.html" class="link">Request::Base::EventCollection</a><br />
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <!-- if method_list -->
124
+
125
+
126
+ </div>
127
+
128
+
129
+ <div id="validator-badges">
130
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
131
+ </div>
132
+
133
+ </body>
134
+ </html>