locale 0.9.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/ChangeLog +5 -0
  2. data/{README → README.rdoc} +6 -3
  3. data/Rakefile +5 -4
  4. data/lib/locale/driver/cgi.rb +4 -6
  5. data/lib/locale/driver/win32_table.rb +1 -1
  6. data/lib/locale/version.rb +1 -1
  7. data/replace.rb +21 -0
  8. data/test/test_detect_general.rb +5 -1
  9. metadata +6 -66
  10. data/doc/classes/Locale/Driver.html +0 -375
  11. data/doc/classes/Locale/Driver/CGI.html +0 -502
  12. data/doc/classes/Locale/Driver/Env.html +0 -440
  13. data/doc/classes/Locale/Driver/JRuby.html +0 -390
  14. data/doc/classes/Locale/Driver/Posix.html +0 -431
  15. data/doc/classes/Locale/Driver/Win32.html +0 -398
  16. data/doc/classes/Locale/Driver/Win32Table.html +0 -356
  17. data/doc/classes/Locale/Info.html +0 -586
  18. data/doc/classes/Locale/Info/Language.html +0 -764
  19. data/doc/classes/Locale/Info/Region.html +0 -470
  20. data/doc/classes/Locale/Tag/Cldr.html +0 -547
  21. data/doc/classes/Locale/Tag/Common.html +0 -655
  22. data/doc/classes/Locale/Tag/Illegular.html +0 -424
  23. data/doc/classes/Locale/Tag/Posix.html +0 -612
  24. data/doc/classes/Locale/Tag/Rfc.html +0 -610
  25. data/doc/classes/Locale/Tag/Simple.html +0 -684
  26. data/doc/classes/Locale/TagList.html +0 -783
  27. data/doc/classes/Locale/Util.html +0 -476
  28. data/doc/classes/Locale/Util/Memoizable.html +0 -356
  29. data/doc/created.rid +0 -1
  30. data/doc/files/ChangeLog.html +0 -497
  31. data/doc/files/README.html +0 -525
  32. data/doc/files/lib/locale/driver/cgi_rb.html +0 -342
  33. data/doc/files/lib/locale/driver/env_rb.html +0 -354
  34. data/doc/files/lib/locale/driver/jruby_rb.html +0 -359
  35. data/doc/files/lib/locale/driver/posix_rb.html +0 -349
  36. data/doc/files/lib/locale/driver/win32_rb.html +0 -359
  37. data/doc/files/lib/locale/driver/win32_table_rb.html +0 -342
  38. data/doc/files/lib/locale/info/language_rb.html +0 -353
  39. data/doc/files/lib/locale/info/region_rb.html +0 -353
  40. data/doc/files/lib/locale/info_rb.html +0 -354
  41. data/doc/files/lib/locale/tag/cldr_rb.html +0 -342
  42. data/doc/files/lib/locale/tag/common_rb.html +0 -342
  43. data/doc/files/lib/locale/tag/illegular_rb.html +0 -349
  44. data/doc/files/lib/locale/tag/posix_rb.html +0 -342
  45. data/doc/files/lib/locale/tag/rfc_rb.html +0 -342
  46. data/doc/files/lib/locale/tag/simple_rb.html +0 -349
  47. data/doc/files/lib/locale/tag_rb.html +0 -374
  48. data/doc/files/lib/locale/taglist_rb.html +0 -342
  49. data/doc/files/lib/locale/util/memoizable_rb.html +0 -360
  50. data/doc/files/lib/locale/version_rb.html +0 -342
  51. data/doc/files/lib/locale_rb.html +0 -379
  52. data/doc/fr_class_index.html +0 -20
  53. data/doc/fr_file_index.html +0 -23
  54. data/doc/fr_method_index.html +0 -80
  55. data/doc/index.html +0 -1
  56. data/doc/rdoc-style.css +0 -320
@@ -1,424 +0,0 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Locale::Tag::Illegular</title><link type="text/css" href="../../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
2
- // Allison template
3
- // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
-
5
- var href_base = '../../.././rdoc-style.css'.replace(/(.*\/).*/, '$1'); // inline js is good for something
6
-
7
- function $(id) {
8
- if (document.getElementById)
9
- elem = document.getElementById(id);
10
- else if ( document.all )
11
- elem = eval("document.all." + id);
12
- else
13
- return false;
14
- return elem;
15
- }
16
-
17
- function toggle(id) {
18
- elem = $(id);
19
- elemStyle = elem.style;
20
- if (elemStyle.display == "block") {
21
- elemStyle.display = "none"
22
- } else {
23
- elemStyle.display = "block"
24
- }
25
- return true;
26
- }
27
-
28
- function toggleText(id) {
29
- elem = $(id)
30
- if (m = elem.innerHTML.match(/(Hide)(.*)/)) {
31
- elem.innerHTML = "Show" + m[2];
32
- } else if (m = elem.innerHTML.match(/(Show)(.*)/)) {
33
- elem.innerHTML = "Hide" + m[2];
34
- }
35
- return true;
36
- }
37
-
38
- function span(s, klass) {
39
- return '<span class="' + klass + '">' + s + '</span>';
40
- }
41
-
42
- function highlightSymbols() {
43
- pres = document.getElementsByTagName('pre');
44
- for(var i = 0; i < pres.length; i++) {
45
- pre = pres[i];
46
- spans = pre.getElementsByTagName('span');
47
- for(var k = 0; k < spans.length; k++) {
48
- span = spans[k];
49
- if (span.className.match(/ruby-identifier/)) {
50
- if (span.innerHTML.match(/^:/)) {
51
- span.className += " ruby-symbol";
52
- }
53
- }
54
- }
55
- }
56
- }
57
-
58
- function hasClass(obj) {
59
- var result = false;
60
- if (obj.getAttributeNode("class") != null) {
61
- result = obj.getAttributeNode("class").value;
62
- }
63
- return result;
64
- }
65
-
66
- function stripe() {
67
- var even = true;
68
- var color = "#e4ebed";
69
- var tables = document.getElementsByTagName('table');
70
- if (tables.length == 0) { return; }
71
- for (var h = 0; h < tables.length; h++) {
72
- var trs = tables[h].getElementsByTagName("tr");
73
- for (var i = 0; i < trs.length; i++) {
74
- var tds = trs[i].getElementsByTagName("td");
75
- for (var j = 0; j < tds.length; j++) {
76
- if (hasClass(tds[j]) != "first") {
77
- var mytd = tds[j];
78
- if (even) {
79
- mytd.style.backgroundColor = color;
80
- }
81
- }
82
- }
83
- even = ! even;
84
- }
85
- }
86
- }
87
-
88
- function ajaxGet(url) {
89
- url = (href_base + url).replace('/./', '/')
90
- var req = false;
91
-
92
- if (window.ActiveXObject) {
93
- try {
94
- // stupid hack because IE7 disables local Ajax with the native xmlhttprequest object
95
- // for security purposes. Yet ActiveX still works. Thanks, Microsoft. I hate you. Die.
96
- req = new ActiveXObject("MSXML2.XMLHTTP.3.0");
97
- } catch (e) {
98
- try {
99
- /* IE 6 and maybe 5, don't know, don't care */
100
- req = new ActiveXObject("Msxml2.XMLHTTP");
101
- } catch (e) {
102
- try {
103
- req = new ActiveXObject("Microsoft.XMLHTTP");
104
- } catch (e) {
105
- req = false;
106
- }
107
- }
108
- }
109
- }
110
-
111
- /* real browsers */
112
- if (!req && window.XMLHttpRequest) {
113
- try {
114
- req = new XMLHttpRequest();
115
- } catch (e) {
116
- req = false;
117
- }
118
- }
119
-
120
- if (req) {
121
- req.open('GET', url, false);
122
- req.send(null);
123
- return req.responseText;
124
- } else {
125
- return "Ajax error";
126
- }
127
- }
128
-
129
-
130
- function addEvent(elm, evType, fn, useCapture) {
131
- if (elm.addEventListener) {
132
- elm.addEventListener(evType, fn, useCapture);
133
- return true;
134
- } else if (elm.attachEvent) {
135
- var r = elm.attachEvent('on' + evType, fn);
136
- return r;
137
- } else {
138
- elm['on' + evType] = fn;
139
- }
140
- }
141
-
142
- function insertIndices() {
143
- pages = ["class", "file", "method"]
144
- for (x in pages) {
145
- $(pages[x]).innerHTML += ajaxGet('fr_' + pages[x] + '_index.html').replace(/(href=")/g, '$1' + href_base);
146
- }
147
- /* mouseoverify method links */
148
- links = $('method').getElementsByTagName('a');
149
- for (var x = 0; x < links.length; x++) {
150
- if (m = links[x].innerHTML.match(/(.*)\s\((.*)\)/)) {
151
- links[x].innerHTML = m[1] + '<br>';
152
- links[x].title = m[2];
153
- }
154
- }
155
- /* this is stupid */
156
- $('class').style.display = "block";
157
- $('file').style.display = "block";
158
-
159
- /* has to be here because IE7 does not guarantee the onLoad callback order */
160
- abbreviateIndicesInner(["class", "file"], 25, "a");
161
- /* same, linkTitle() depends on the class link list */
162
- linkTitle();
163
- }
164
-
165
- function abbreviateIndices() {
166
- var ids = ["defined_in", "child_of", "includes", "requires", "method", "methods"];
167
- abbreviateIndicesInner(ids, 25, 'a');
168
- abbreviateIndicesInner(ids, 25, 'span');
169
- }
170
-
171
- function abbreviateIndicesInner(indices, amount, tag) {
172
- for (var x = 0; x < indices.length; x++) {
173
- var the_index = $(indices[x]);
174
- if (the_index) {
175
- links = the_index.getElementsByTagName(tag);
176
- for (var y = 0; y < links.length; y++) {
177
- var link = links[y];
178
- if (link.getElementsByTagName('span').length == 0 && link.getElementsByTagName('a').length == 0) {
179
- // avoid nesting
180
- link.innerHTML = link.innerHTML.replace(/<br>|\n/gi, '');
181
- link.title = link.innerHTML;
182
- link.innerHTML = abbreviate(link.innerHTML, amount) + '<br>';
183
- }
184
- }
185
- }
186
- }
187
- }
188
-
189
- function linkTitle() {
190
-
191
- /* grab the correct title element from the index */
192
- var index_page = ajaxGet('index.html');
193
- title_text = index_page.match(/<title>(.*)<\/title>/m)[1];
194
- document.title = title_text + " - " + document.title;
195
- var p = $('header').getElementsByTagName('p')[0]
196
- if (p.innerHTML.match(/^\s*$/)) {
197
- p.innerHTML = title_text;
198
- } else {
199
- p.innerHTML = title_text + ": " + p.innerHTML;
200
- }
201
-
202
- /* set the link properly */
203
- title_link = index_page.match(/<a\s+href="(.*?)"/)[1];
204
- var element = $('title');
205
- var item_type = "";
206
- var item_name = "";
207
- if (m = element.innerHTML.match(/(Class:|Module:|File:)\s*(.*)/)) {
208
- item_type = m[1];
209
- item_name = m[2];
210
- } else {
211
- item_name = element.innerHTML;
212
- }
213
- element.innerHTML = '<a href="' + href_base + title_link + '">' + item_type + " " + abbreviate(item_name, 45) + '</a>';
214
- element.getElementsByTagName('a')[0].title = item_name
215
-
216
- /* breadcrumb navigation */
217
- items = item_name.split("::");
218
- items_new = item_name.split("::");
219
- file_links = $('class').getElementsByTagName('a');
220
- for (var x = 0; x < items.length - 1; x++ ){
221
- var item = items[x];
222
- link = ("/classes/" + items.slice(0,x).join("/") + "/" + item + ".html").replace('//', '/');
223
- regex = new RegExp(RegExp.escape(link) + '$');
224
- for (var y = 0; y < file_links.length; y++) {
225
- if (file_links[y].href.match(regex)) {
226
- items_new[x] = '<a href="' + href_base + link + '">' + item + '</a>';
227
- break;
228
- }
229
- }
230
- }
231
- $('item_name').innerHTML = item_type + ' ' + items_new.join(" :: ");
232
- }
233
-
234
- function abbreviate(s, size) {
235
- while (s.length > size) {
236
- var old_s = s;
237
- s = s.replace(/\s|\n/mg, '');
238
- s = s.replace(/([A-Z])[a-z]+/m, '$1');
239
- if (!s || old_s == s) {
240
- return "..." + s.substring(s.length - size, s.length);
241
- }
242
- }
243
- return s;
244
- }
245
-
246
- function disableSubmit(event) {
247
- var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
248
- if (keyCode == 13) {
249
- return false;
250
- } else {
251
- return true;
252
- }
253
- }
254
-
255
- function filterList(id, s, event) {
256
-
257
- /* some weak escaping */
258
- s = s.replace(/[^\w\d\.\_\-\/\:\=\[\]\?\!]/g, '');
259
- s = RegExp.escape(s);
260
-
261
- var show_all = false;
262
- if (s.match(/^\s*$/)) {
263
- show_all = true;
264
- }
265
-
266
- links = $(id).getElementsByTagName('a')
267
- regex = new RegExp(s, 'i');
268
-
269
- for (var x = 0; x < links.length; x++) {
270
- var link = links[x];
271
- if (show_all) {
272
- link.style.display = 'inline';
273
- } else {
274
- if (link.innerHTML.match(regex)) {
275
- link.style.display = 'inline';
276
- } else {
277
- link.style.display = 'none';
278
- }
279
- }
280
- }
281
- return true;
282
- }
283
-
284
- RegExp.escape = function(text) {
285
- if (!arguments.callee.sRE) {
286
- var specials = ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\'];
287
- arguments.callee.sRE = new RegExp(
288
- '(\\' + specials.join('|\\') + ')', 'g'
289
- );
290
- }
291
- return text.replace(arguments.callee.sRE, '\\$1');
292
- }
293
-
294
- function hacks() {
295
- // show the spacer if necessary,
296
- divs = document.getElementsByTagName('div');
297
- for(var x = 0; x < divs.length; x++) {
298
- if (divs[x].className && divs[x].className.match(/top/)) {
299
- document.getElementById('spacer').style.display = 'block';
300
- }
301
- }
302
- // remove extra colons from tables
303
- tds = document.getElementsByTagName('td');
304
- for(var x = 0; x < tds.length; x++) {
305
- str = tds[x].innerHTML
306
- if (str.charAt(str.length - 1) == ":") {
307
- tds[x].innerHTML = str.slice(0, str.length - 1)
308
- }
309
- }
310
- }
311
-
312
- addEvent(window, 'load', insertIndices, false);
313
- addEvent(window, 'load', abbreviateIndices, false);
314
- addEvent(window, 'load', stripe, false);
315
- addEvent(window, 'load', highlightSymbols, false);
316
- addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
319
- Class: Locale::Tag::Illegular
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
322
- <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
-
324
- <a href='Simple.html'>
325
- Simple
326
- </a>
327
- </span></div>
328
-
329
- <div class="navigation darker top" id="defined_in"><h3>Defined in</h3>
330
-
331
- <a href="../../../files/lib/locale/tag/illegular_rb.html">lib/locale/tag/illegular.rb</a>
332
-
333
- </div>
334
-
335
-
336
-
337
- <div class="navigation top" id="methods"><h3>Methods</h3>
338
-
339
-
340
- <a href='#M000005'>
341
- candidates<br/>
342
- </a>
343
-
344
-
345
-
346
-
347
- <a href='#M000004'>
348
- new<br/>
349
- </a>
350
-
351
-
352
- </div>
353
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
354
- <h1 id="item_name">Class: Locale::Tag::Illegular</h1>
355
-
356
- <div id="description"><p>
357
- Broken tag class.
358
- </p>
359
- </div>
360
-
361
-
362
-
363
-
364
- <p></p>
365
-
366
-
367
-
368
-
369
-
370
-
371
- <h1>Public Class Methods</h1>
372
-
373
-
374
- <a class="small" name="M000004"><br/></a>
375
- <div class="method_block"><h3>
376
- <a href='#M000004'>
377
-
378
-
379
- new
380
-
381
- (tag)
382
-
383
- </a>
384
- </h3>
385
-
386
- <p class="source_link" id="M000004-show-link"><a onclick="toggle('M000004-source'); toggleText('M000004-link'); return false;" href="#" id="M000004-link">Show source...</a></p><div class="source" id="M000004-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/illegular.rb, line 20</span>
387
- 20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">tag</span>)
388
- 21: <span class="ruby-identifier">tag</span> = <span class="ruby-value str">&quot;en&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">tag</span>.<span class="ruby-identifier">empty?</span>
389
- 22: <span class="ruby-ivar">@language</span> = <span class="ruby-identifier">tag</span>
390
- 23: <span class="ruby-ivar">@tag</span> = <span class="ruby-identifier">tag</span>
391
- 24: <span class="ruby-keyword kw">end</span></pre></div>
392
- </div>
393
-
394
-
395
- <h1>Public Instance Methods</h1>
396
-
397
-
398
- <a class="small" name="M000005"><br/></a>
399
- <div class="method_block"><h3>
400
- <a href='#M000005'>
401
-
402
-
403
- candidates
404
-
405
- ()
406
-
407
- </a>
408
- </h3>
409
- <p>
410
- Returns an Array of tag-<a href="Illegular.html#M000005">candidates</a>
411
- order by priority.
412
- </p>
413
-
414
- <p class="source_link" id="M000005-show-link"><a onclick="toggle('M000005-source'); toggleText('M000005-link'); return false;" href="#" id="M000005-link">Show source...</a></p><div class="source" id="M000005-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/illegular.rb, line 27</span>
415
- 27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">candidates</span>
416
- 28: [<span class="ruby-constant">Illegular</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">tag</span>)]
417
- 29: <span class="ruby-keyword kw">end</span></pre></div>
418
- </div>
419
-
420
-
421
-
422
-
423
-
424
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>
@@ -1,612 +0,0 @@
1
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Class: Locale::Tag::Posix</title><link type="text/css" href="../../.././rdoc-style.css" media="screen" rel="stylesheet"/><script type="text/javascript">
2
- // Allison template
3
- // Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.
4
-
5
- var href_base = '../../.././rdoc-style.css'.replace(/(.*\/).*/, '$1'); // inline js is good for something
6
-
7
- function $(id) {
8
- if (document.getElementById)
9
- elem = document.getElementById(id);
10
- else if ( document.all )
11
- elem = eval("document.all." + id);
12
- else
13
- return false;
14
- return elem;
15
- }
16
-
17
- function toggle(id) {
18
- elem = $(id);
19
- elemStyle = elem.style;
20
- if (elemStyle.display == "block") {
21
- elemStyle.display = "none"
22
- } else {
23
- elemStyle.display = "block"
24
- }
25
- return true;
26
- }
27
-
28
- function toggleText(id) {
29
- elem = $(id)
30
- if (m = elem.innerHTML.match(/(Hide)(.*)/)) {
31
- elem.innerHTML = "Show" + m[2];
32
- } else if (m = elem.innerHTML.match(/(Show)(.*)/)) {
33
- elem.innerHTML = "Hide" + m[2];
34
- }
35
- return true;
36
- }
37
-
38
- function span(s, klass) {
39
- return '<span class="' + klass + '">' + s + '</span>';
40
- }
41
-
42
- function highlightSymbols() {
43
- pres = document.getElementsByTagName('pre');
44
- for(var i = 0; i < pres.length; i++) {
45
- pre = pres[i];
46
- spans = pre.getElementsByTagName('span');
47
- for(var k = 0; k < spans.length; k++) {
48
- span = spans[k];
49
- if (span.className.match(/ruby-identifier/)) {
50
- if (span.innerHTML.match(/^:/)) {
51
- span.className += " ruby-symbol";
52
- }
53
- }
54
- }
55
- }
56
- }
57
-
58
- function hasClass(obj) {
59
- var result = false;
60
- if (obj.getAttributeNode("class") != null) {
61
- result = obj.getAttributeNode("class").value;
62
- }
63
- return result;
64
- }
65
-
66
- function stripe() {
67
- var even = true;
68
- var color = "#e4ebed";
69
- var tables = document.getElementsByTagName('table');
70
- if (tables.length == 0) { return; }
71
- for (var h = 0; h < tables.length; h++) {
72
- var trs = tables[h].getElementsByTagName("tr");
73
- for (var i = 0; i < trs.length; i++) {
74
- var tds = trs[i].getElementsByTagName("td");
75
- for (var j = 0; j < tds.length; j++) {
76
- if (hasClass(tds[j]) != "first") {
77
- var mytd = tds[j];
78
- if (even) {
79
- mytd.style.backgroundColor = color;
80
- }
81
- }
82
- }
83
- even = ! even;
84
- }
85
- }
86
- }
87
-
88
- function ajaxGet(url) {
89
- url = (href_base + url).replace('/./', '/')
90
- var req = false;
91
-
92
- if (window.ActiveXObject) {
93
- try {
94
- // stupid hack because IE7 disables local Ajax with the native xmlhttprequest object
95
- // for security purposes. Yet ActiveX still works. Thanks, Microsoft. I hate you. Die.
96
- req = new ActiveXObject("MSXML2.XMLHTTP.3.0");
97
- } catch (e) {
98
- try {
99
- /* IE 6 and maybe 5, don't know, don't care */
100
- req = new ActiveXObject("Msxml2.XMLHTTP");
101
- } catch (e) {
102
- try {
103
- req = new ActiveXObject("Microsoft.XMLHTTP");
104
- } catch (e) {
105
- req = false;
106
- }
107
- }
108
- }
109
- }
110
-
111
- /* real browsers */
112
- if (!req && window.XMLHttpRequest) {
113
- try {
114
- req = new XMLHttpRequest();
115
- } catch (e) {
116
- req = false;
117
- }
118
- }
119
-
120
- if (req) {
121
- req.open('GET', url, false);
122
- req.send(null);
123
- return req.responseText;
124
- } else {
125
- return "Ajax error";
126
- }
127
- }
128
-
129
-
130
- function addEvent(elm, evType, fn, useCapture) {
131
- if (elm.addEventListener) {
132
- elm.addEventListener(evType, fn, useCapture);
133
- return true;
134
- } else if (elm.attachEvent) {
135
- var r = elm.attachEvent('on' + evType, fn);
136
- return r;
137
- } else {
138
- elm['on' + evType] = fn;
139
- }
140
- }
141
-
142
- function insertIndices() {
143
- pages = ["class", "file", "method"]
144
- for (x in pages) {
145
- $(pages[x]).innerHTML += ajaxGet('fr_' + pages[x] + '_index.html').replace(/(href=")/g, '$1' + href_base);
146
- }
147
- /* mouseoverify method links */
148
- links = $('method').getElementsByTagName('a');
149
- for (var x = 0; x < links.length; x++) {
150
- if (m = links[x].innerHTML.match(/(.*)\s\((.*)\)/)) {
151
- links[x].innerHTML = m[1] + '<br>';
152
- links[x].title = m[2];
153
- }
154
- }
155
- /* this is stupid */
156
- $('class').style.display = "block";
157
- $('file').style.display = "block";
158
-
159
- /* has to be here because IE7 does not guarantee the onLoad callback order */
160
- abbreviateIndicesInner(["class", "file"], 25, "a");
161
- /* same, linkTitle() depends on the class link list */
162
- linkTitle();
163
- }
164
-
165
- function abbreviateIndices() {
166
- var ids = ["defined_in", "child_of", "includes", "requires", "method", "methods"];
167
- abbreviateIndicesInner(ids, 25, 'a');
168
- abbreviateIndicesInner(ids, 25, 'span');
169
- }
170
-
171
- function abbreviateIndicesInner(indices, amount, tag) {
172
- for (var x = 0; x < indices.length; x++) {
173
- var the_index = $(indices[x]);
174
- if (the_index) {
175
- links = the_index.getElementsByTagName(tag);
176
- for (var y = 0; y < links.length; y++) {
177
- var link = links[y];
178
- if (link.getElementsByTagName('span').length == 0 && link.getElementsByTagName('a').length == 0) {
179
- // avoid nesting
180
- link.innerHTML = link.innerHTML.replace(/<br>|\n/gi, '');
181
- link.title = link.innerHTML;
182
- link.innerHTML = abbreviate(link.innerHTML, amount) + '<br>';
183
- }
184
- }
185
- }
186
- }
187
- }
188
-
189
- function linkTitle() {
190
-
191
- /* grab the correct title element from the index */
192
- var index_page = ajaxGet('index.html');
193
- title_text = index_page.match(/<title>(.*)<\/title>/m)[1];
194
- document.title = title_text + " - " + document.title;
195
- var p = $('header').getElementsByTagName('p')[0]
196
- if (p.innerHTML.match(/^\s*$/)) {
197
- p.innerHTML = title_text;
198
- } else {
199
- p.innerHTML = title_text + ": " + p.innerHTML;
200
- }
201
-
202
- /* set the link properly */
203
- title_link = index_page.match(/<a\s+href="(.*?)"/)[1];
204
- var element = $('title');
205
- var item_type = "";
206
- var item_name = "";
207
- if (m = element.innerHTML.match(/(Class:|Module:|File:)\s*(.*)/)) {
208
- item_type = m[1];
209
- item_name = m[2];
210
- } else {
211
- item_name = element.innerHTML;
212
- }
213
- element.innerHTML = '<a href="' + href_base + title_link + '">' + item_type + " " + abbreviate(item_name, 45) + '</a>';
214
- element.getElementsByTagName('a')[0].title = item_name
215
-
216
- /* breadcrumb navigation */
217
- items = item_name.split("::");
218
- items_new = item_name.split("::");
219
- file_links = $('class').getElementsByTagName('a');
220
- for (var x = 0; x < items.length - 1; x++ ){
221
- var item = items[x];
222
- link = ("/classes/" + items.slice(0,x).join("/") + "/" + item + ".html").replace('//', '/');
223
- regex = new RegExp(RegExp.escape(link) + '$');
224
- for (var y = 0; y < file_links.length; y++) {
225
- if (file_links[y].href.match(regex)) {
226
- items_new[x] = '<a href="' + href_base + link + '">' + item + '</a>';
227
- break;
228
- }
229
- }
230
- }
231
- $('item_name').innerHTML = item_type + ' ' + items_new.join(" :: ");
232
- }
233
-
234
- function abbreviate(s, size) {
235
- while (s.length > size) {
236
- var old_s = s;
237
- s = s.replace(/\s|\n/mg, '');
238
- s = s.replace(/([A-Z])[a-z]+/m, '$1');
239
- if (!s || old_s == s) {
240
- return "..." + s.substring(s.length - size, s.length);
241
- }
242
- }
243
- return s;
244
- }
245
-
246
- function disableSubmit(event) {
247
- var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
248
- if (keyCode == 13) {
249
- return false;
250
- } else {
251
- return true;
252
- }
253
- }
254
-
255
- function filterList(id, s, event) {
256
-
257
- /* some weak escaping */
258
- s = s.replace(/[^\w\d\.\_\-\/\:\=\[\]\?\!]/g, '');
259
- s = RegExp.escape(s);
260
-
261
- var show_all = false;
262
- if (s.match(/^\s*$/)) {
263
- show_all = true;
264
- }
265
-
266
- links = $(id).getElementsByTagName('a')
267
- regex = new RegExp(s, 'i');
268
-
269
- for (var x = 0; x < links.length; x++) {
270
- var link = links[x];
271
- if (show_all) {
272
- link.style.display = 'inline';
273
- } else {
274
- if (link.innerHTML.match(regex)) {
275
- link.style.display = 'inline';
276
- } else {
277
- link.style.display = 'none';
278
- }
279
- }
280
- }
281
- return true;
282
- }
283
-
284
- RegExp.escape = function(text) {
285
- if (!arguments.callee.sRE) {
286
- var specials = ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\'];
287
- arguments.callee.sRE = new RegExp(
288
- '(\\' + specials.join('|\\') + ')', 'g'
289
- );
290
- }
291
- return text.replace(arguments.callee.sRE, '\\$1');
292
- }
293
-
294
- function hacks() {
295
- // show the spacer if necessary,
296
- divs = document.getElementsByTagName('div');
297
- for(var x = 0; x < divs.length; x++) {
298
- if (divs[x].className && divs[x].className.match(/top/)) {
299
- document.getElementById('spacer').style.display = 'block';
300
- }
301
- }
302
- // remove extra colons from tables
303
- tds = document.getElementsByTagName('td');
304
- for(var x = 0; x < tds.length; x++) {
305
- str = tds[x].innerHTML
306
- if (str.charAt(str.length - 1) == ":") {
307
- tds[x].innerHTML = str.slice(0, str.length - 1)
308
- }
309
- }
310
- }
311
-
312
- addEvent(window, 'load', insertIndices, false);
313
- addEvent(window, 'load', abbreviateIndices, false);
314
- addEvent(window, 'load', stripe, false);
315
- addEvent(window, 'load', highlightSymbols, false);
316
- addEvent(window, 'load', hacks, false);
317
- </script></head><body><div id="container"><div class="curve" id="preheader_curve_0"></div><div class="curve" id="preheader_curve_1"></div><div class="curve" id="preheader_curve_2"></div><div class="curve" id="preheader_curve_3"></div><div class="curve" id="preheader_curve_4"></div><div class="curve" id="preheader_curve_5"></div><div id="header"><p>
318
- </p><span><h1 id="title">
319
- Class: Locale::Tag::Posix
320
- </h1></span>
321
- </div><div class="clear"></div><div id="left">
322
- <div class="navigation darker top" id="child_of"><h3>Child of</h3><span>
323
-
324
- <a href='Simple.html'>
325
- Simple
326
- </a>
327
- </span></div>
328
-
329
- <div class="navigation darker top" id="defined_in"><h3>Defined in</h3>
330
-
331
- <a href="../../../files/lib/locale/tag/posix_rb.html">lib/locale/tag/posix.rb</a>
332
-
333
- </div>
334
-
335
-
336
-
337
- <div class="navigation top" id="methods"><h3>Methods</h3>
338
-
339
-
340
- <a href='#M000026'>
341
- candidates<br/>
342
- </a>
343
-
344
-
345
-
346
-
347
- <a href='#M000024'>
348
- charset=<br/>
349
- </a>
350
-
351
-
352
-
353
-
354
- <a href='#M000025'>
355
- modifier=<br/>
356
- </a>
357
-
358
-
359
-
360
-
361
- <a href='#M000021'>
362
- new<br/>
363
- </a>
364
-
365
-
366
-
367
-
368
- <a href='#M000022'>
369
- parse<br/>
370
- </a>
371
-
372
-
373
-
374
-
375
- <a href='#M000023'>
376
- to_s<br/>
377
- </a>
378
-
379
-
380
- </div>
381
- <div id="spacer"></div><div class="navigation darker index" id="class_wrapper"><div class="list_header"><h3>All classes</h3></div><div class="list_header_link"><a onclick="toggle('class'); toggleText('class_link'); return false;" href="#" id="class_link">Hide...</a></div><div class="clear"></div><div id="class"><form><label for="filter_class">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('class', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_class"></input></form></div></div><div class="navigation darker index" id="file_wrapper"><div class="list_header"><h3>All files</h3></div><div class="list_header_link"><a onclick="toggle('file'); toggleText('file_link'); return false;" href="#" id="file_link">Hide...</a></div><div class="clear"></div><div id="file"><form><label for="filter_file">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('file', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_file"></input></form></div></div><div class="navigation darker index" id="method_wrapper"><div class="list_header"><h3>All methods</h3></div><div class="list_header_link"><a onclick="toggle('method'); toggleText('method_link'); return false;" href="#" id="method_link">Show...</a></div><div class="clear"></div><div id="method"><form><label for="filter_method">Filter:&nbsp;&nbsp;</label><input type="text" onKeyUp="return filterList('method', this.value, event);" onKeyPress="return disableSubmit(event);" id="filter_method"></input></form></div></div></div><div id="content">
382
- <h1 id="item_name">Class: Locale::Tag::Posix</h1>
383
-
384
- <div id="description"><p>
385
- Locale tag class for POSIX locale
386
- </p>
387
- <ul>
388
- <li>ja
389
-
390
- </li>
391
- <li>ja_JP
392
-
393
- </li>
394
- <li>ja_JP.UTF-8
395
-
396
- </li>
397
- <li>ja_JP.UTF-8@Osaka
398
-
399
- </li>
400
- <li>C/POSIX (-&gt; en_US)
401
-
402
- </li>
403
- </ul>
404
- </div>
405
-
406
-
407
-
408
-
409
- <p></p>
410
-
411
-
412
- <h1>Constants</h1><p><table><tr><th>Name</th><th>Value</th></tr>
413
- <tr>
414
- <td class="highlight">LANGUAGE</td>
415
-
416
- <td class="normal">&quot;([a-z]{2,})&quot;</td>
417
-
418
-
419
-
420
- </tr>
421
- <tr>
422
- <td class="highlight">TAG_RE</td>
423
-
424
- <td class="normal">/\A#{LANGUAGE}(?:_#{REGION})?(?:\.([^@]+))?(?:@(.*))?\Z/i</td>
425
-
426
-
427
-
428
- </tr>
429
- </table></p>
430
-
431
-
432
- <h1>Attributes</h1><p><table><tr><th>Name</th><th>Read/write?</th></tr>
433
- <tr>
434
- <td class="highlight">charset</td>
435
-
436
-
437
-
438
-
439
- <td class="normal">R</td>
440
- </tr>
441
- <tr>
442
- <td class="highlight">modifier</td>
443
-
444
-
445
-
446
-
447
- <td class="normal">R</td>
448
- </tr>
449
- </table></p>
450
-
451
-
452
- <h1>Public Class Methods</h1>
453
-
454
-
455
- <a class="small" name="M000021"><br/></a>
456
- <div class="method_block"><h3>
457
- <a href='#M000021'>
458
-
459
-
460
- new
461
-
462
- (language, region = nil, charset = nil, modifier = nil)
463
-
464
- </a>
465
- </h3>
466
-
467
- <p class="source_link" id="M000021-show-link"><a onclick="toggle('M000021-source'); toggleText('M000021-link'); return false;" href="#" id="M000021-link">Show source...</a></p><div class="source" id="M000021-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 27</span>
468
- 27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">charset</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">modifier</span> = <span class="ruby-keyword kw">nil</span>)
469
- 28: <span class="ruby-ivar">@charset</span>, <span class="ruby-ivar">@modifier</span> = <span class="ruby-identifier">charset</span>, <span class="ruby-identifier">modifier</span>
470
- 29: <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span>)
471
- 30: <span class="ruby-keyword kw">end</span></pre></div>
472
- </div>
473
-
474
- <a class="small" name="M000022"><br/></a>
475
- <div class="method_block"><h3>
476
- <a href='#M000022'>
477
-
478
-
479
- parse
480
-
481
- (tag)
482
-
483
- </a>
484
- </h3>
485
-
486
- <p class="source_link" id="M000022-show-link"><a onclick="toggle('M000022-source'); toggleText('M000022-link'); return false;" href="#" id="M000022-link">Show source...</a></p><div class="source" id="M000022-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 32</span>
487
- 32: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">tag</span>)
488
- 33: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^(C|POSIX)$/</span>
489
- 34: <span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;en&quot;</span>, <span class="ruby-value str">&quot;US&quot;</span>)
490
- 35: <span class="ruby-identifier">ret</span>.<span class="ruby-identifier">tag</span> = <span class="ruby-identifier">tag</span>
491
- 36: <span class="ruby-identifier">ret</span>
492
- 37: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">tag</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">TAG_RE</span>
493
- 38: <span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">$1</span>, <span class="ruby-identifier">$2</span>, <span class="ruby-identifier">$3</span>, <span class="ruby-identifier">$4</span>)
494
- 39: <span class="ruby-identifier">ret</span>.<span class="ruby-identifier">tag</span> = <span class="ruby-identifier">tag</span>
495
- 40: <span class="ruby-identifier">ret</span>
496
- 41: <span class="ruby-keyword kw">else</span>
497
- 42: <span class="ruby-keyword kw">nil</span>
498
- 43: <span class="ruby-keyword kw">end</span>
499
- 44: <span class="ruby-keyword kw">end</span></pre></div>
500
- </div>
501
-
502
-
503
- <h1>Public Instance Methods</h1>
504
-
505
-
506
- <a class="small" name="M000026"><br/></a>
507
- <div class="method_block"><h3>
508
- <a href='#M000026'>
509
-
510
-
511
- candidates
512
-
513
- ()
514
-
515
- </a>
516
- </h3>
517
- <p>
518
- Returns an Array of tag-<a href="Posix.html#M000026">candidates</a> order
519
- by priority. Use Locale.candidates instead of this method.
520
- </p>
521
-
522
- <p class="source_link" id="M000026-show-link"><a onclick="toggle('M000026-source'); toggleText('M000026-link'); return false;" href="#" id="M000026-link">Show source...</a></p><div class="source" id="M000026-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 71</span>
523
- 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">candidates</span>
524
- 72: [<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span>, <span class="ruby-identifier">charset</span>, <span class="ruby-identifier">modifier</span>), <span class="ruby-comment cmt">#ja_JP.UTF-8@Modifier</span>
525
- 73: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span>, <span class="ruby-identifier">charset</span>), <span class="ruby-comment cmt">#ja_JP.UTF-8</span>
526
- 74: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">modifier</span>), <span class="ruby-comment cmt">#ja_JP@Modifier</span>
527
- 75: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-identifier">region</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>), <span class="ruby-comment cmt">#ja_JP@Modifier</span>
528
- 76: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">charset</span>, <span class="ruby-identifier">modifier</span>), <span class="ruby-comment cmt">#ja.UTF-8@Modifier</span>
529
- 77: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">charset</span>), <span class="ruby-comment cmt">#ja.UTF-8</span>
530
- 78: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">modifier</span>), <span class="ruby-comment cmt">#ja@Modifier</span>
531
- 79: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">language</span>)] <span class="ruby-comment cmt">#ja</span>
532
- 80: <span class="ruby-keyword kw">end</span></pre></div>
533
- </div>
534
-
535
- <a class="small" name="M000024"><br/></a>
536
- <div class="method_block"><h3>
537
- <a href='#M000024'>
538
-
539
-
540
- charset=
541
-
542
- (val)
543
-
544
- </a>
545
- </h3>
546
- <p>
547
- Set the charset.
548
- </p>
549
-
550
- <p class="source_link" id="M000024-show-link"><a onclick="toggle('M000024-source'); toggleText('M000024-link'); return false;" href="#" id="M000024-link">Show source...</a></p><div class="source" id="M000024-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 58</span>
551
- 58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">charset=</span>(<span class="ruby-identifier">val</span>)
552
- 59: <span class="ruby-identifier">clear</span>
553
- 60: <span class="ruby-ivar">@charset</span> = <span class="ruby-identifier">val</span>
554
- 61: <span class="ruby-keyword kw">end</span></pre></div>
555
- </div>
556
-
557
- <a class="small" name="M000025"><br/></a>
558
- <div class="method_block"><h3>
559
- <a href='#M000025'>
560
-
561
-
562
- modifier=
563
-
564
- (val)
565
-
566
- </a>
567
- </h3>
568
- <p>
569
- Set the modifier.
570
- </p>
571
-
572
- <p class="source_link" id="M000025-show-link"><a onclick="toggle('M000025-source'); toggleText('M000025-link'); return false;" href="#" id="M000025-link">Show source...</a></p><div class="source" id="M000025-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 64</span>
573
- 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modifier=</span>(<span class="ruby-identifier">val</span>)
574
- 65: <span class="ruby-identifier">clear</span>
575
- 66: <span class="ruby-ivar">@modifier</span> = <span class="ruby-identifier">val</span>
576
- 67: <span class="ruby-keyword kw">end</span></pre></div>
577
- </div>
578
-
579
- <a class="small" name="M000023"><br/></a>
580
- <div class="method_block"><h3>
581
- <a href='#M000023'>
582
-
583
-
584
- to_s
585
-
586
- ()
587
-
588
- </a>
589
- </h3>
590
- <p>
591
- Returns the language tag.
592
- </p>
593
- <pre>
594
- &lt;language&gt;_&lt;COUNTRY&gt;.&lt;CHARSET&gt;@&lt;MODIFIER&gt;
595
- (e.g.) &quot;ja_JP.EUC-JP@Modifier&quot;
596
- </pre>
597
-
598
- <p class="source_link" id="M000023-show-link"><a onclick="toggle('M000023-source'); toggleText('M000023-link'); return false;" href="#" id="M000023-link">Show source...</a></p><div class="source" id="M000023-source"><pre> <span class="ruby-comment cmt"># File lib/locale/tag/posix.rb, line 49</span>
599
- 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
600
- 50: <span class="ruby-identifier">s</span> = <span class="ruby-ivar">@language</span>.<span class="ruby-identifier">dup</span>
601
- 51: <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;_#{@region}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@region</span>
602
- 52: <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;.#{@charset}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@charset</span>
603
- 53: <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;@#{@modifier}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@modifier</span>
604
- 54: <span class="ruby-identifier">s</span>
605
- 55: <span class="ruby-keyword kw">end</span></pre></div>
606
- </div>
607
-
608
-
609
-
610
-
611
-
612
- </div><div class="clear" id="footer">Generated on Jan 21, 2008 / Allison 2 &copy; 2007 <a href="http://cloudbur.st">Cloudburst, LLC</a></div></div></body></html>