jpmobile 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +41 -4
- data/Rakefile +11 -9
- data/lib/jpmobile.rb +0 -6
- data/lib/jpmobile/emoticon.rb +105 -0
- data/lib/jpmobile/emoticon/au.rb +644 -0
- data/lib/jpmobile/emoticon/conversion_table.rb +3908 -0
- data/lib/jpmobile/emoticon/docomo.rb +255 -0
- data/lib/jpmobile/emoticon/softbank.rb +477 -0
- data/lib/jpmobile/emoticon/z_combine.rb +20 -0
- data/lib/jpmobile/filter.rb +73 -51
- data/lib/jpmobile/helpers.rb +4 -4
- data/lib/jpmobile/hook_abstract_request.rb +6 -2
- data/lib/jpmobile/hook_action_controller.rb +10 -0
- data/lib/jpmobile/hook_action_view.rb +7 -0
- data/lib/jpmobile/mobile/abstract_mobile.rb +5 -1
- data/lib/jpmobile/mobile/au.rb +1 -1
- data/lib/jpmobile/mobile/docomo.rb +2 -5
- data/lib/jpmobile/mobile/softbank.rb +9 -1
- data/lib/jpmobile/mobile/z_display_info_docomo.rb +32 -10
- data/lib/jpmobile/mobile/z_ip_addresses.rb +6 -6
- data/lib/jpmobile/mobile/z_ip_addresses_au.rb +2 -1
- data/lib/jpmobile/mobile/z_ip_addresses_willcom.rb +6 -1
- data/lib/jpmobile/trans_sid.rb +5 -2
- data/lib/jpmobile/version.rb +1 -1
- data/test/au_test.rb +1 -0
- data/test/docomo_test.rb +8 -0
- data/test/emoticon_functional_test.rb +166 -0
- data/test/emoticon_test.rb +58 -0
- data/test/filter_functional_test.rb +146 -0
- data/test/filter_test.rb +8 -8
- data/test/softbank_test.rb +18 -0
- data/tools/generate_au_emoticon_table.rb +25 -0
- data/tools/{update_emoji_docomo.rb → generate_docomo_emoticon_table.rb} +4 -8
- data/tools/generate_emoticon_conversion_table.rb +107 -0
- data/tools/generate_softbank_emoticon_table.rb +32 -0
- data/tools/update_display_info_docomo.rb +3 -5
- metadata +18 -75
- data/NOTES +0 -21
- data/TODO +0 -16
- data/doc/classes/ActionController.html +0 -107
- data/doc/classes/ActionController/AbstractRequest.html +0 -216
- data/doc/classes/ActionView.html +0 -101
- data/doc/classes/DatumConv.html +0 -324
- data/doc/classes/Jpmobile/Display.html +0 -333
- data/doc/classes/Jpmobile/Filter.html +0 -119
- data/doc/classes/Jpmobile/Filter/Base.html +0 -269
- data/doc/classes/Jpmobile/Filter/Emoji.html +0 -130
- data/doc/classes/Jpmobile/Filter/Emoji/Inner.html +0 -183
- data/doc/classes/Jpmobile/Filter/Emoji/Outer.html +0 -187
- data/doc/classes/Jpmobile/Filter/FilterTable.html +0 -178
- data/doc/classes/Jpmobile/Filter/HankakuKana.html +0 -170
- data/doc/classes/Jpmobile/Filter/Sjis.html +0 -244
- data/doc/classes/Jpmobile/Helpers.html +0 -558
- data/doc/classes/Jpmobile/Mobile.html +0 -141
- data/doc/classes/Jpmobile/Mobile/AbstractMobile.html +0 -324
- data/doc/classes/Jpmobile/Mobile/Au.html +0 -415
- data/doc/classes/Jpmobile/Mobile/Ddipocket.html +0 -138
- data/doc/classes/Jpmobile/Mobile/Docomo.html +0 -366
- data/doc/classes/Jpmobile/Mobile/Jphone.html +0 -212
- data/doc/classes/Jpmobile/Mobile/Softbank.html +0 -300
- data/doc/classes/Jpmobile/Mobile/Vodafone.html +0 -176
- data/doc/classes/Jpmobile/Mobile/Willcom.html +0 -210
- data/doc/classes/Jpmobile/Position.html +0 -384
- data/doc/created.rid +0 -1
- data/doc/files/CHANGELOG.html +0 -110
- data/doc/files/NOTES.html +0 -163
- data/doc/files/README.html +0 -345
- data/doc/files/TODO.html +0 -138
- data/doc/files/lib/jpmobile/datum_conv_rb.html +0 -110
- data/doc/files/lib/jpmobile/filter_rb.html +0 -115
- data/doc/files/lib/jpmobile/helpers_rb.html +0 -105
- data/doc/files/lib/jpmobile/hook_abstract_request_rb.html +0 -109
- data/doc/files/lib/jpmobile/hook_action_view_rb.html +0 -119
- data/doc/files/lib/jpmobile/mobile/abstract_mobile_rb.html +0 -108
- data/doc/files/lib/jpmobile/mobile/au_rb.html +0 -112
- data/doc/files/lib/jpmobile/mobile/display_rb.html +0 -111
- data/doc/files/lib/jpmobile/mobile/docomo_rb.html +0 -105
- data/doc/files/lib/jpmobile/mobile/softbank_rb.html +0 -115
- data/doc/files/lib/jpmobile/mobile/willcom_rb.html +0 -108
- data/doc/files/lib/jpmobile/mobile/z_display_info_docomo_rb.html +0 -114
- data/doc/files/lib/jpmobile/mobile/z_emoji_docomo_rb.html +0 -119
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_au_rb.html +0 -114
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_rb.html +0 -117
- data/doc/files/lib/jpmobile/mobile/z_ip_addresses_willcom_rb.html +0 -114
- data/doc/files/lib/jpmobile/position_rb.html +0 -105
- data/doc/files/lib/jpmobile/trans_sid_rb.html +0 -114
- data/doc/files/lib/jpmobile/version_rb.html +0 -101
- data/doc/files/lib/jpmobile_rb.html +0 -101
- data/doc/fr_class_index.html +0 -50
- data/doc/fr_file_index.html +0 -50
- data/doc/fr_method_index.html +0 -113
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/lib/jpmobile/mobile/z_emoji_docomo.rb +0 -508
- data/test/firefox_test.rb +0 -8
- data/test/transitsid_test.rb +0 -86
@@ -1,300 +0,0 @@
|
|
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: Jpmobile::Mobile::Softbank</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">Jpmobile::Mobile::Softbank</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/jpmobile/mobile/softbank_rb.html">
|
59
|
-
lib/jpmobile/mobile/softbank.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="AbstractMobile.html">
|
69
|
-
AbstractMobile
|
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
|
-
|
83
|
-
<div id="description">
|
84
|
-
<h2><a href="Softbank.html">Softbank</a>携帯電話</h2>
|
85
|
-
<p>
|
86
|
-
<a href="Vodafone.html">Vodafone</a>, <a
|
87
|
-
href="Jphone.html">Jphone</a>のスーパクラス。
|
88
|
-
</p>
|
89
|
-
|
90
|
-
</div>
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
<div id="method-list">
|
96
|
-
<h3 class="section-bar">Methods</h3>
|
97
|
-
|
98
|
-
<div class="name-list">
|
99
|
-
<a href="#M000011">display</a>
|
100
|
-
<a href="#M000012">ident</a>
|
101
|
-
<a href="#M000010">position</a>
|
102
|
-
<a href="#M000009">serial_number</a>
|
103
|
-
<a href="#M000013">supports_cookie?</a>
|
104
|
-
</div>
|
105
|
-
</div>
|
106
|
-
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
<!-- if includes -->
|
111
|
-
|
112
|
-
<div id="section">
|
113
|
-
|
114
|
-
|
115
|
-
<div id="constants-list">
|
116
|
-
<h3 class="section-bar">Constants</h3>
|
117
|
-
|
118
|
-
<div class="name-list">
|
119
|
-
<table summary="Constants">
|
120
|
-
<tr class="top-aligned-row context-row">
|
121
|
-
<td class="context-item-name">USER_AGENT_REGEXP</td>
|
122
|
-
<td>=</td>
|
123
|
-
<td class="context-item-value">/^SoftBank/</td>
|
124
|
-
<td width="3em"> </td>
|
125
|
-
<td class="context-item-desc">
|
126
|
-
対応するuser-agentの正規表現
|
127
|
-
|
128
|
-
</td>
|
129
|
-
</tr>
|
130
|
-
</table>
|
131
|
-
</div>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<!-- if method_list -->
|
140
|
-
<div id="methods">
|
141
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
142
|
-
|
143
|
-
<div id="method-M000011" class="method-detail">
|
144
|
-
<a name="M000011"></a>
|
145
|
-
|
146
|
-
<div class="method-heading">
|
147
|
-
<a href="#M000011" class="method-signature">
|
148
|
-
<span class="method-name">display</span><span class="method-args">()</span>
|
149
|
-
</a>
|
150
|
-
</div>
|
151
|
-
|
152
|
-
<div class="method-description">
|
153
|
-
<p>
|
154
|
-
画面情報を <tt><a href="../Display.html">Display</a></tt>
|
155
|
-
クラスのインスタンスで返す。
|
156
|
-
</p>
|
157
|
-
<p><a class="source-toggle" href="#"
|
158
|
-
onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
|
159
|
-
<div class="method-source-code" id="M000011-source">
|
160
|
-
<pre>
|
161
|
-
<span class="ruby-comment cmt"># File lib/jpmobile/mobile/softbank.rb, line 32</span>
|
162
|
-
32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">display</span>
|
163
|
-
33: <span class="ruby-identifier">p_w</span> = <span class="ruby-identifier">p_h</span> = <span class="ruby-identifier">col_p</span> = <span class="ruby-identifier">cols</span> = <span class="ruby-keyword kw">nil</span>
|
164
|
-
34: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">env</span>[<span class="ruby-value str">'HTTP_X_JPHONE_DISPLAY'</span>]
|
165
|
-
35: <span class="ruby-identifier">p_w</span>, <span class="ruby-identifier">p_h</span> = <span class="ruby-identifier">r</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\*/</span>,<span class="ruby-value">2</span>).<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_i</span>}
|
166
|
-
36: <span class="ruby-keyword kw">end</span>
|
167
|
-
37: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">r</span> = <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">env</span>[<span class="ruby-value str">'HTTP_X_JPHONE_COLOR'</span>]
|
168
|
-
38: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">r</span>
|
169
|
-
39: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^C/</span>
|
170
|
-
40: <span class="ruby-identifier">col_p</span> = <span class="ruby-keyword kw">true</span>
|
171
|
-
41: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/^G/</span>
|
172
|
-
42: <span class="ruby-identifier">col_p</span> = <span class="ruby-keyword kw">false</span>
|
173
|
-
43: <span class="ruby-keyword kw">end</span>
|
174
|
-
44: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">r</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^.(\d+)$/</span>
|
175
|
-
45: <span class="ruby-identifier">cols</span> = <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_i</span>
|
176
|
-
46: <span class="ruby-keyword kw">end</span>
|
177
|
-
47: <span class="ruby-keyword kw">end</span>
|
178
|
-
48: <span class="ruby-constant">Jpmobile</span><span class="ruby-operator">::</span><span class="ruby-constant">Display</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">p_w</span>, <span class="ruby-identifier">p_h</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">col_p</span>, <span class="ruby-identifier">cols</span>)
|
179
|
-
49: <span class="ruby-keyword kw">end</span>
|
180
|
-
</pre>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
</div>
|
184
|
-
|
185
|
-
<div id="method-M000012" class="method-detail">
|
186
|
-
<a name="M000012"></a>
|
187
|
-
|
188
|
-
<div class="method-heading">
|
189
|
-
<span class="method-name">ident</span><span class="method-args">()</span>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<div class="method-description">
|
193
|
-
<p>
|
194
|
-
Alias for <a href="Softbank.html#M000009">serial_number</a>
|
195
|
-
</p>
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
<div id="method-M000010" class="method-detail">
|
200
|
-
<a name="M000010"></a>
|
201
|
-
|
202
|
-
<div class="method-heading">
|
203
|
-
<a href="#M000010" class="method-signature">
|
204
|
-
<span class="method-name">position</span><span class="method-args">()</span>
|
205
|
-
</a>
|
206
|
-
</div>
|
207
|
-
|
208
|
-
<div class="method-description">
|
209
|
-
<p>
|
210
|
-
位置情報があれば <a href="../Position.html">Position</a>
|
211
|
-
のインスタンスを返す。無ければ <tt>nil</tt> を返す。
|
212
|
-
</p>
|
213
|
-
<p><a class="source-toggle" href="#"
|
214
|
-
onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
|
215
|
-
<div class="method-source-code" id="M000010-source">
|
216
|
-
<pre>
|
217
|
-
<span class="ruby-comment cmt"># File lib/jpmobile/mobile/softbank.rb, line 19</span>
|
218
|
-
19: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">position</span>
|
219
|
-
20: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value str">"pos"</span>] <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^([NS])(\d+)\.(\d+)\.(\d+\.\d+)([WE])(\d+)\.(\d+)\.(\d+\.\d+)$/</span>
|
220
|
-
21: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Unsupported datum"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value str">"geo"</span>] <span class="ruby-operator">!=</span> <span class="ruby-value str">"wgs84"</span>
|
221
|
-
22: <span class="ruby-identifier">l</span> = <span class="ruby-constant">Jpmobile</span><span class="ruby-operator">::</span><span class="ruby-constant">Position</span>.<span class="ruby-identifier">new</span>
|
222
|
-
23: <span class="ruby-identifier">l</span>.<span class="ruby-identifier">lat</span> = (<span class="ruby-identifier">$1</span><span class="ruby-operator">==</span><span class="ruby-value str">"N"</span> <span class="ruby-operator">?</span> <span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">-1</span>) <span class="ruby-operator">*</span> <span class="ruby-constant">Jpmobile</span><span class="ruby-operator">::</span><span class="ruby-constant">Position</span>.<span class="ruby-identifier">dms2deg</span>(<span class="ruby-identifier">$2</span>,<span class="ruby-identifier">$3</span>,<span class="ruby-identifier">$4</span>)
|
223
|
-
24: <span class="ruby-identifier">l</span>.<span class="ruby-identifier">lon</span> = (<span class="ruby-identifier">$5</span><span class="ruby-operator">==</span><span class="ruby-value str">"E"</span> <span class="ruby-operator">?</span> <span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">-1</span>) <span class="ruby-operator">*</span> <span class="ruby-constant">Jpmobile</span><span class="ruby-operator">::</span><span class="ruby-constant">Position</span>.<span class="ruby-identifier">dms2deg</span>(<span class="ruby-identifier">$6</span>,<span class="ruby-identifier">$7</span>,<span class="ruby-identifier">$8</span>)
|
224
|
-
25: <span class="ruby-identifier">l</span>.<span class="ruby-identifier">options</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-operator">!</span>[<span class="ruby-value str">"pos"</span>,<span class="ruby-value str">"geo"</span>,<span class="ruby-value str">"x-acr"</span>].<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">x</span>) }
|
225
|
-
26: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">l</span>
|
226
|
-
27: <span class="ruby-keyword kw">else</span>
|
227
|
-
28: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
228
|
-
29: <span class="ruby-keyword kw">end</span>
|
229
|
-
30: <span class="ruby-keyword kw">end</span>
|
230
|
-
</pre>
|
231
|
-
</div>
|
232
|
-
</div>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
<div id="method-M000009" class="method-detail">
|
236
|
-
<a name="M000009"></a>
|
237
|
-
|
238
|
-
<div class="method-heading">
|
239
|
-
<a href="#M000009" class="method-signature">
|
240
|
-
<span class="method-name">serial_number</span><span class="method-args">()</span>
|
241
|
-
</a>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<div class="method-description">
|
245
|
-
<p>
|
246
|
-
製造番号を返す。無ければ <tt>nil</tt> を返す。
|
247
|
-
</p>
|
248
|
-
<p><a class="source-toggle" href="#"
|
249
|
-
onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
|
250
|
-
<div class="method-source-code" id="M000009-source">
|
251
|
-
<pre>
|
252
|
-
<span class="ruby-comment cmt"># File lib/jpmobile/mobile/softbank.rb, line 14</span>
|
253
|
-
14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">serial_number</span>
|
254
|
-
15: <span class="ruby-ivar">@request</span>.<span class="ruby-identifier">user_agent</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/SN(.+?) /</span>
|
255
|
-
16: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">$1</span>
|
256
|
-
17: <span class="ruby-keyword kw">end</span>
|
257
|
-
</pre>
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
</div>
|
261
|
-
|
262
|
-
<div id="method-M000013" class="method-detail">
|
263
|
-
<a name="M000013"></a>
|
264
|
-
|
265
|
-
<div class="method-heading">
|
266
|
-
<a href="#M000013" class="method-signature">
|
267
|
-
<span class="method-name">supports_cookie?</span><span class="method-args">()</span>
|
268
|
-
</a>
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div class="method-description">
|
272
|
-
<p>
|
273
|
-
cookieに対応しているか?
|
274
|
-
</p>
|
275
|
-
<p><a class="source-toggle" href="#"
|
276
|
-
onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
|
277
|
-
<div class="method-source-code" id="M000013-source">
|
278
|
-
<pre>
|
279
|
-
<span class="ruby-comment cmt"># File lib/jpmobile/mobile/softbank.rb, line 53</span>
|
280
|
-
53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">supports_cookie?</span>
|
281
|
-
54: <span class="ruby-keyword kw">true</span>
|
282
|
-
55: <span class="ruby-keyword kw">end</span>
|
283
|
-
</pre>
|
284
|
-
</div>
|
285
|
-
</div>
|
286
|
-
</div>
|
287
|
-
|
288
|
-
|
289
|
-
</div>
|
290
|
-
|
291
|
-
|
292
|
-
</div>
|
293
|
-
|
294
|
-
|
295
|
-
<div id="validator-badges">
|
296
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
297
|
-
</div>
|
298
|
-
|
299
|
-
</body>
|
300
|
-
</html>
|
@@ -1,176 +0,0 @@
|
|
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: Jpmobile::Mobile::Vodafone</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">Jpmobile::Mobile::Vodafone</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/jpmobile/mobile/softbank_rb.html">
|
59
|
-
lib/jpmobile/mobile/softbank.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="Softbank.html">
|
69
|
-
Softbank
|
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
|
-
|
83
|
-
<div id="description">
|
84
|
-
<h2><a href="Vodafone.html">Vodafone</a> 3G携帯電話(J-PHONE, SoftBank含まず)</h2>
|
85
|
-
<p>
|
86
|
-
スーパクラスは<a href="Softbank.html">Softbank</a>。
|
87
|
-
</p>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
<div id="method-list">
|
95
|
-
<h3 class="section-bar">Methods</h3>
|
96
|
-
|
97
|
-
<div class="name-list">
|
98
|
-
<a href="#M000008">supports_cookie?</a>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
<!-- if includes -->
|
106
|
-
|
107
|
-
<div id="section">
|
108
|
-
|
109
|
-
|
110
|
-
<div id="constants-list">
|
111
|
-
<h3 class="section-bar">Constants</h3>
|
112
|
-
|
113
|
-
<div class="name-list">
|
114
|
-
<table summary="Constants">
|
115
|
-
<tr class="top-aligned-row context-row">
|
116
|
-
<td class="context-item-name">USER_AGENT_REGEXP</td>
|
117
|
-
<td>=</td>
|
118
|
-
<td class="context-item-value">/^Vodafone/</td>
|
119
|
-
<td width="3em"> </td>
|
120
|
-
<td class="context-item-desc">
|
121
|
-
対応するUser-Agentの正規表現
|
122
|
-
|
123
|
-
</td>
|
124
|
-
</tr>
|
125
|
-
</table>
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
<!-- if method_list -->
|
135
|
-
<div id="methods">
|
136
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
137
|
-
|
138
|
-
<div id="method-M000008" class="method-detail">
|
139
|
-
<a name="M000008"></a>
|
140
|
-
|
141
|
-
<div class="method-heading">
|
142
|
-
<a href="#M000008" class="method-signature">
|
143
|
-
<span class="method-name">supports_cookie?</span><span class="method-args">()</span>
|
144
|
-
</a>
|
145
|
-
</div>
|
146
|
-
|
147
|
-
<div class="method-description">
|
148
|
-
<p>
|
149
|
-
cookieに対応しているか?
|
150
|
-
</p>
|
151
|
-
<p><a class="source-toggle" href="#"
|
152
|
-
onclick="toggleCode('M000008-source');return false;">[Source]</a></p>
|
153
|
-
<div class="method-source-code" id="M000008-source">
|
154
|
-
<pre>
|
155
|
-
<span class="ruby-comment cmt"># File lib/jpmobile/mobile/softbank.rb, line 64</span>
|
156
|
-
64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">supports_cookie?</span>
|
157
|
-
65: <span class="ruby-keyword kw">true</span>
|
158
|
-
66: <span class="ruby-keyword kw">end</span>
|
159
|
-
</pre>
|
160
|
-
</div>
|
161
|
-
</div>
|
162
|
-
</div>
|
163
|
-
|
164
|
-
|
165
|
-
</div>
|
166
|
-
|
167
|
-
|
168
|
-
</div>
|
169
|
-
|
170
|
-
|
171
|
-
<div id="validator-badges">
|
172
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
173
|
-
</div>
|
174
|
-
|
175
|
-
</body>
|
176
|
-
</html>
|