locale 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/ChangeLog +3 -0
  2. data/benchmark/benchmark.rb +34 -0
  3. data/benchmark/benchmark_2.0.1.txt +7 -0
  4. data/doc/classes/Locale.html +1244 -0
  5. data/doc/classes/Locale/Driver.html +374 -0
  6. data/doc/classes/Locale/Driver/CGI.html +536 -0
  7. data/doc/classes/Locale/Driver/Env.html +439 -0
  8. data/doc/classes/Locale/Driver/JRuby.html +389 -0
  9. data/doc/classes/Locale/Driver/Posix.html +430 -0
  10. data/doc/classes/Locale/Driver/Win32.html +398 -0
  11. data/doc/classes/Locale/Driver/Win32Table.html +355 -0
  12. data/doc/classes/Locale/Info.html +585 -0
  13. data/doc/classes/Locale/Info/Language.html +763 -0
  14. data/doc/classes/Locale/Info/Region.html +470 -0
  15. data/doc/classes/Locale/Tag.html +433 -0
  16. data/doc/classes/Locale/Tag/Cldr.html +523 -0
  17. data/doc/classes/Locale/Tag/Common.html +624 -0
  18. data/doc/classes/Locale/Tag/Irregular.html +423 -0
  19. data/doc/classes/Locale/Tag/Posix.html +612 -0
  20. data/doc/classes/Locale/Tag/Rfc.html +581 -0
  21. data/doc/classes/Locale/Tag/Simple.html +721 -0
  22. data/doc/classes/Locale/TagList.html +826 -0
  23. data/doc/classes/Locale/Util.html +506 -0
  24. data/doc/classes/Locale/Util/Memoizable.html +355 -0
  25. data/doc/created.rid +1 -0
  26. data/doc/files/ChangeLog.html +537 -0
  27. data/doc/files/README_rdoc.html +565 -0
  28. data/doc/files/lib/locale/driver/cgi_rb.html +341 -0
  29. data/doc/files/lib/locale/driver/env_rb.html +353 -0
  30. data/doc/files/lib/locale/driver/jruby_rb.html +353 -0
  31. data/doc/files/lib/locale/driver/posix_rb.html +341 -0
  32. data/doc/files/lib/locale/driver/win32_rb.html +348 -0
  33. data/doc/files/lib/locale/driver/win32_table_rb.html +341 -0
  34. data/doc/files/lib/locale/info/language_rb.html +352 -0
  35. data/doc/files/lib/locale/info/region_rb.html +352 -0
  36. data/doc/files/lib/locale/info_rb.html +353 -0
  37. data/doc/files/lib/locale/tag/cldr_rb.html +348 -0
  38. data/doc/files/lib/locale/tag/common_rb.html +348 -0
  39. data/doc/files/lib/locale/tag/irregular_rb.html +348 -0
  40. data/doc/files/lib/locale/tag/posix_rb.html +341 -0
  41. data/doc/files/lib/locale/tag/rfc_rb.html +348 -0
  42. data/doc/files/lib/locale/tag/simple_rb.html +348 -0
  43. data/doc/files/lib/locale/tag_rb.html +378 -0
  44. data/doc/files/lib/locale/taglist_rb.html +348 -0
  45. data/doc/files/lib/locale/util/memoizable_rb.html +359 -0
  46. data/doc/files/lib/locale/version_rb.html +341 -0
  47. data/doc/files/lib/locale_rb.html +363 -0
  48. data/doc/fr_class_index.html +22 -0
  49. data/doc/fr_file_index.html +23 -0
  50. data/doc/fr_method_index.html +99 -0
  51. data/doc/index.html +1 -0
  52. data/doc/rdoc-style.css +320 -0
  53. data/lib/locale/util/memoizable.rb.20090328 +96 -0
  54. data/lib/locale/util/memoizable.rb.old +91 -0
  55. data/lib/locale/version.rb +1 -1
  56. data/replace.rb +21 -0
  57. data/test.rb +28 -0
  58. data/test/test.rb +7 -0
  59. data/test/tmp.txt +20 -0
  60. data/test2.rb +14 -0
  61. data/test3.rb +12 -0
  62. metadata +75 -1
@@ -0,0 +1,22 @@
1
+
2
+ <a href="classes/Locale.html">Locale<br/></a>
3
+ <a href="classes/Locale/Driver.html">Locale::Driver<br/></a>
4
+ <a href="classes/Locale/Driver/CGI.html">Locale::Driver::CGI<br/></a>
5
+ <a href="classes/Locale/Driver/Env.html">Locale::Driver::Env<br/></a>
6
+ <a href="classes/Locale/Driver/JRuby.html">Locale::Driver::JRuby<br/></a>
7
+ <a href="classes/Locale/Driver/Posix.html">Locale::Driver::Posix<br/></a>
8
+ <a href="classes/Locale/Driver/Win32.html">Locale::Driver::Win32<br/></a>
9
+ <a href="classes/Locale/Driver/Win32Table.html">Locale::Driver::Win32Table<br/></a>
10
+ <a href="classes/Locale/Info.html">Locale::Info<br/></a>
11
+ <a href="classes/Locale/Info/Language.html">Locale::Info::Language<br/></a>
12
+ <a href="classes/Locale/Info/Region.html">Locale::Info::Region<br/></a>
13
+ <a href="classes/Locale/Tag.html">Locale::Tag<br/></a>
14
+ <a href="classes/Locale/Tag/Cldr.html">Locale::Tag::Cldr<br/></a>
15
+ <a href="classes/Locale/Tag/Common.html">Locale::Tag::Common<br/></a>
16
+ <a href="classes/Locale/Tag/Irregular.html">Locale::Tag::Irregular<br/></a>
17
+ <a href="classes/Locale/Tag/Posix.html">Locale::Tag::Posix<br/></a>
18
+ <a href="classes/Locale/Tag/Rfc.html">Locale::Tag::Rfc<br/></a>
19
+ <a href="classes/Locale/Tag/Simple.html">Locale::Tag::Simple<br/></a>
20
+ <a href="classes/Locale/TagList.html">Locale::TagList<br/></a>
21
+ <a href="classes/Locale/Util.html">Locale::Util<br/></a>
22
+ <a href="classes/Locale/Util/Memoizable.html">Locale::Util::Memoizable<br/></a>
@@ -0,0 +1,23 @@
1
+
2
+ <a href="files/ChangeLog.html">ChangeLog<br/></a>
3
+ <a href="files/README_rdoc.html">README.rdoc<br/></a>
4
+ <a href="files/lib/locale_rb.html">lib/locale.rb<br/></a>
5
+ <a href="files/lib/locale/driver/cgi_rb.html">lib/locale/driver/cgi.rb<br/></a>
6
+ <a href="files/lib/locale/driver/env_rb.html">lib/locale/driver/env.rb<br/></a>
7
+ <a href="files/lib/locale/driver/jruby_rb.html">lib/locale/driver/jruby.rb<br/></a>
8
+ <a href="files/lib/locale/driver/posix_rb.html">lib/locale/driver/posix.rb<br/></a>
9
+ <a href="files/lib/locale/driver/win32_rb.html">lib/locale/driver/win32.rb<br/></a>
10
+ <a href="files/lib/locale/driver/win32_table_rb.html">lib/locale/driver/win32_table.rb<br/></a>
11
+ <a href="files/lib/locale/info_rb.html">lib/locale/info.rb<br/></a>
12
+ <a href="files/lib/locale/info/language_rb.html">lib/locale/info/language.rb<br/></a>
13
+ <a href="files/lib/locale/info/region_rb.html">lib/locale/info/region.rb<br/></a>
14
+ <a href="files/lib/locale/tag_rb.html">lib/locale/tag.rb<br/></a>
15
+ <a href="files/lib/locale/tag/cldr_rb.html">lib/locale/tag/cldr.rb<br/></a>
16
+ <a href="files/lib/locale/tag/common_rb.html">lib/locale/tag/common.rb<br/></a>
17
+ <a href="files/lib/locale/tag/irregular_rb.html">lib/locale/tag/irregular.rb<br/></a>
18
+ <a href="files/lib/locale/tag/posix_rb.html">lib/locale/tag/posix.rb<br/></a>
19
+ <a href="files/lib/locale/tag/rfc_rb.html">lib/locale/tag/rfc.rb<br/></a>
20
+ <a href="files/lib/locale/tag/simple_rb.html">lib/locale/tag/simple.rb<br/></a>
21
+ <a href="files/lib/locale/taglist_rb.html">lib/locale/taglist.rb<br/></a>
22
+ <a href="files/lib/locale/util/memoizable_rb.html">lib/locale/util/memoizable.rb<br/></a>
23
+ <a href="files/lib/locale/version_rb.html">lib/locale/version.rb<br/></a>
@@ -0,0 +1,99 @@
1
+
2
+ <a href="classes/Locale/Tag/Simple.html#M000044"><=> (Locale::Tag::Simple)<br/></a>
3
+ <a href="classes/Locale/Info/Language.html#M000068">ancient? (Locale::Info::Language)<br/></a>
4
+ <a href="classes/Locale.html#M000017">app_language_tags (Locale)<br/></a>
5
+ <a href="classes/Locale.html#M000012">candidates (Locale)<br/></a>
6
+ <a href="classes/Locale/Tag/Simple.html#M000048">candidates (Locale::Tag::Simple)<br/></a>
7
+ <a href="classes/Locale/Tag/Common.html#M000027">candidates (Locale::Tag::Common)<br/></a>
8
+ <a href="classes/Locale/Tag/Irregular.html#M000050">candidates (Locale::Tag::Irregular)<br/></a>
9
+ <a href="classes/Locale/Tag/Posix.html#M000040">candidates (Locale::Tag::Posix)<br/></a>
10
+ <a href="classes/Locale.html#M000003">cgi= (Locale)<br/></a>
11
+ <a href="classes/Locale/Driver/CGI.html#M000076">charset (Locale::Driver::CGI)<br/></a>
12
+ <a href="classes/Locale/Driver/Posix.html#M000080">charset (Locale::Driver::Posix)<br/></a>
13
+ <a href="classes/Locale/Driver/Win32.html#M000081">charset (Locale::Driver::Win32)<br/></a>
14
+ <a href="classes/Locale.html#M000013">charset (Locale)<br/></a>
15
+ <a href="classes/Locale/TagList.html#M000087">charset (Locale::TagList)<br/></a>
16
+ <a href="classes/Locale/Driver/JRuby.html#M000082">charset (Locale::Driver::JRuby)<br/></a>
17
+ <a href="classes/Locale/Tag/Posix.html#M000038">charset= (Locale::Tag::Posix)<br/></a>
18
+ <a href="classes/Locale.html#M000014">clear (Locale)<br/></a>
19
+ <a href="classes/Locale.html#M000015">clear_all (Locale)<br/></a>
20
+ <a href="classes/Locale/Driver/CGI.html#M000078">clear_current_request (Locale::Driver::CGI)<br/></a>
21
+ <a href="classes/Locale/Info/Language.html#M000065">constructed? (Locale::Info::Language)<br/></a>
22
+ <a href="classes/Locale/Tag/Simple.html#M000045">country (Locale::Tag::Simple)<br/></a>
23
+ <a href="classes/Locale/TagList.html#M000084">country (Locale::TagList)<br/></a>
24
+ <a href="classes/Locale.html#M000011">current (Locale)<br/></a>
25
+ <a href="classes/Locale.html#M000010">current= (Locale)<br/></a>
26
+ <a href="classes/Locale.html#M000008">default (Locale)<br/></a>
27
+ <a href="classes/Locale.html#M000007">default= (Locale)<br/></a>
28
+ <a href="classes/Locale.html#M000005">driver_module (Locale)<br/></a>
29
+ <a href="classes/Locale/TagList.html#M000090">extensions (Locale::TagList)<br/></a>
30
+ <a href="classes/Locale/Tag/Cldr.html#M000030">extensions= (Locale::Tag::Cldr)<br/></a>
31
+ <a href="classes/Locale/Tag/Rfc.html#M000033">extensions= (Locale::Tag::Rfc)<br/></a>
32
+ <a href="classes/Locale/Info/Language.html#M000067">extinct? (Locale::Info::Language)<br/></a>
33
+ <a href="classes/Locale/Info.html#M000053">get_language (Locale::Info)<br/></a>
34
+ <a href="classes/Locale/Info.html#M000056">get_region (Locale::Info)<br/></a>
35
+ <a href="classes/Locale/Info/Language.html#M000069">historical? (Locale::Info::Language)<br/></a>
36
+ <a href="classes/Locale/Util.html#M000018">included (Locale::Util)<br/></a>
37
+ <a href="classes/Locale/Info/Language.html#M000062">individual? (Locale::Info::Language)<br/></a>
38
+ <a href="classes/Locale.html#M000004">init (Locale)<br/></a>
39
+ <a href="classes/Locale/Info/Language.html#M000072">iso_language? (Locale::Info::Language)<br/></a>
40
+ <a href="classes/Locale/Info/Region.html#M000059">iso_region? (Locale::Info::Region)<br/></a>
41
+ <a href="classes/Locale/TagList.html#M000083">language (Locale::TagList)<br/></a>
42
+ <a href="classes/Locale/Tag/Simple.html#M000046">language= (Locale::Tag::Simple)<br/></a>
43
+ <a href="classes/Locale/Info.html#M000054">language_code? (Locale::Info)<br/></a>
44
+ <a href="classes/Locale/Info/Language.html#M000066">living? (Locale::Info::Language)<br/></a>
45
+ <a href="classes/Locale/Driver/Env.html#M000073">locale (Locale::Driver::Env)<br/></a>
46
+ <a href="classes/Locale/Driver/Env.html#M000074">locales (Locale::Driver::Env)<br/></a>
47
+ <a href="classes/Locale/Driver/CGI.html#M000075">locales (Locale::Driver::CGI)<br/></a>
48
+ <a href="classes/Locale/Driver/Posix.html#M000079">locales (Locale::Driver::Posix)<br/></a>
49
+ <a href="classes/Locale/Info/Language.html#M000063">macro? (Locale::Info::Language)<br/></a>
50
+ <a href="classes/Locale/Util.html#M000020">memoize (Locale::Util)<br/></a>
51
+ <a href="classes/Locale/Util.html#M000019">memoize_clear (Locale::Util)<br/></a>
52
+ <a href="classes/Locale/Util.html#M000021">memoize_dup (Locale::Util)<br/></a>
53
+ <a href="classes/Locale/TagList.html#M000088">modifier (Locale::TagList)<br/></a>
54
+ <a href="classes/Locale/Tag/Posix.html#M000039">modifier= (Locale::Tag::Posix)<br/></a>
55
+ <a href="classes/Locale/Tag/Cldr.html#M000029">new (Locale::Tag::Cldr)<br/></a>
56
+ <a href="classes/Locale/Tag/Simple.html#M000042">new (Locale::Tag::Simple)<br/></a>
57
+ <a href="classes/Locale/Tag/Posix.html#M000035">new (Locale::Tag::Posix)<br/></a>
58
+ <a href="classes/Locale/Info/Language.html#M000061">new (Locale::Info::Language)<br/></a>
59
+ <a href="classes/Locale/Info/Region.html#M000058">new (Locale::Info::Region)<br/></a>
60
+ <a href="classes/Locale/Tag/Rfc.html#M000032">new (Locale::Tag::Rfc)<br/></a>
61
+ <a href="classes/Locale/Tag/Common.html#M000024">new (Locale::Tag::Common)<br/></a>
62
+ <a href="classes/Locale/Tag/Irregular.html#M000049">new (Locale::Tag::Irregular)<br/></a>
63
+ <a href="classes/Locale/Tag/Cldr.html#M000028">parse (Locale::Tag::Cldr)<br/></a>
64
+ <a href="classes/Locale/Tag/Rfc.html#M000031">parse (Locale::Tag::Rfc)<br/></a>
65
+ <a href="classes/Locale/Tag/Simple.html#M000041">parse (Locale::Tag::Simple)<br/></a>
66
+ <a href="classes/Locale/Tag/Common.html#M000023">parse (Locale::Tag::Common)<br/></a>
67
+ <a href="classes/Locale/Tag/Posix.html#M000036">parse (Locale::Tag::Posix)<br/></a>
68
+ <a href="classes/Locale/Tag.html#M000022">parse (Locale::Tag)<br/></a>
69
+ <a href="classes/Locale/TagList.html#M000091">privateuse (Locale::TagList)<br/></a>
70
+ <a href="classes/Locale/Tag/Rfc.html#M000034">privateuse= (Locale::Tag::Rfc)<br/></a>
71
+ <a href="classes/Locale/TagList.html#M000085">region (Locale::TagList)<br/></a>
72
+ <a href="classes/Locale/Tag/Simple.html#M000047">region= (Locale::Tag::Simple)<br/></a>
73
+ <a href="classes/Locale/Info.html#M000055">regions (Locale::Info)<br/></a>
74
+ <a href="classes/Locale/TagList.html#M000086">script (Locale::TagList)<br/></a>
75
+ <a href="classes/Locale/Tag/Common.html#M000025">script= (Locale::Tag::Common)<br/></a>
76
+ <a href="classes/Locale.html#M000016">set_app_language_tags (Locale)<br/></a>
77
+ <a href="classes/Locale.html#M000002">set_cgi (Locale)<br/></a>
78
+ <a href="classes/Locale.html#M000009">set_current (Locale)<br/></a>
79
+ <a href="classes/Locale.html#M000006">set_default (Locale)<br/></a>
80
+ <a href="classes/Locale.html#M000001">set_request (Locale)<br/></a>
81
+ <a href="classes/Locale/Driver/CGI.html#M000077">set_request (Locale::Driver::CGI)<br/></a>
82
+ <a href="classes/Locale/Info/Language.html#M000064">special? (Locale::Info::Language)<br/></a>
83
+ <a href="classes/Locale/Info/Language.html#M000070">special_type? (Locale::Info::Language)<br/></a>
84
+ <a href="classes/Locale/Info.html#M000051">three_languages (Locale::Info)<br/></a>
85
+ <a href="classes/Locale/TagList.html#M000097">to_cldr (Locale::TagList)<br/></a>
86
+ <a href="classes/Locale/TagList.html#M000094">to_common (Locale::TagList)<br/></a>
87
+ <a href="classes/Locale/TagList.html#M000098">to_posix (Locale::TagList)<br/></a>
88
+ <a href="classes/Locale/TagList.html#M000096">to_rfc (Locale::TagList)<br/></a>
89
+ <a href="classes/Locale/TagList.html#M000093">to_s (Locale::TagList)<br/></a>
90
+ <a href="classes/Locale/Info/Language.html#M000071">to_s (Locale::Info::Language)<br/></a>
91
+ <a href="classes/Locale/Tag/Posix.html#M000037">to_s (Locale::Tag::Posix)<br/></a>
92
+ <a href="classes/Locale/Tag/Simple.html#M000043">to_s (Locale::Tag::Simple)<br/></a>
93
+ <a href="classes/Locale/Info/Region.html#M000060">to_s (Locale::Info::Region)<br/></a>
94
+ <a href="classes/Locale/TagList.html#M000095">to_simple (Locale::TagList)<br/></a>
95
+ <a href="classes/Locale/TagList.html#M000092">to_str (Locale::TagList)<br/></a>
96
+ <a href="classes/Locale/Info.html#M000052">two_languages (Locale::Info)<br/></a>
97
+ <a href="classes/Locale/Info.html#M000057">valid_region_code? (Locale::Info)<br/></a>
98
+ <a href="classes/Locale/TagList.html#M000089">variants (Locale::TagList)<br/></a>
99
+ <a href="classes/Locale/Tag/Common.html#M000026">variants= (Locale::Tag::Common)<br/></a>
data/doc/index.html ADDED
@@ -0,0 +1 @@
1
+ <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/><title>Ruby-Locale library</title><link type="text/css" href="rdoc-style.css" media="screen" rel="stylesheet"/><meta content="0;url=files/README_rdoc.html" http-equiv="refresh"/></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"><span id="title"><p>&nbsp;</p><h1>Ruby Documentation</h1></span></div><div class="clear"></div><div id="redirect"><a href="files/README_rdoc.html"><h1>Redirect</h1></a></div></div></body></html>
@@ -0,0 +1,320 @@
1
+
2
+ /*;
3
+ Allison 2 template;
4
+ Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file.;
5
+ */;
6
+
7
+ /* default styles */
8
+
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ border: none;
13
+ }
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+ .clear {
25
+ clear: both;
26
+ }
27
+
28
+ a {
29
+ color: #304878;
30
+ font-weight: bold;
31
+ text-decoration: none;
32
+ }
33
+
34
+ a:hover {
35
+ text-decoration: underline;
36
+ }
37
+
38
+ html, body {
39
+ color: #000;
40
+ font-size: 13px;
41
+ font-family: helvetica, verdana, sans;
42
+ background-color: #fff;
43
+ text-align: center;
44
+ margin: 0;
45
+ padding: 0;
46
+ }
47
+
48
+ p, ul, ol {
49
+ line-height: 16px;
50
+ } li {
51
+ margin: 3px;
52
+ _margin-left: 40px;
53
+ } p, pre, table, ol, ul {
54
+ margin: 16px;
55
+ } #item_name {
56
+ margin-top: -8px;
57
+ }
58
+
59
+ h1 {
60
+ font-size: 22px;
61
+ margin-top: 16px;
62
+ } h2, h3 {
63
+ font-size: 18px;
64
+ margin: 6px;
65
+ margin-right: 0;
66
+ padding-top: 12px;
67
+ }
68
+
69
+ /* center everything */
70
+
71
+ #container {
72
+ margin: 20px auto 0 auto;
73
+ width: 900px;
74
+ text-align: left;
75
+ }
76
+
77
+ /* header stuff */
78
+
79
+ #header {
80
+ padding: 6px;
81
+ padding-top: 3px;
82
+ width: 888px;
83
+ height: 52px;
84
+ _height: 58px;
85
+ margin-bottom: 12px;
86
+ vertical-align: baseline;
87
+ background-color: #181848;
88
+ overflow: hidden;
89
+ } .curve {
90
+ background-color: #181848;
91
+ margin: 0;
92
+ padding: 0;
93
+ height: 1px;
94
+ overflow: hidden /* again, ie problem */;
95
+ }
96
+
97
+
98
+
99
+
100
+
101
+ #preheader_curve_5{border-left: 1px solid #fff; border-right: 1px solid #fff; width: 898px; _width: 888px; }
102
+ #preheader_curve_4{border-left: 1px solid #fff; border-right: 1px solid #fff; width: 898px; _width: 888px; }
103
+ #preheader_curve_3{border-left: 2px solid #fff; border-right: 2px solid #fff; width: 896px; _width: 888px; }
104
+ #preheader_curve_2{border-left: 3px solid #fff; border-right: 3px solid #fff; width: 894px; _width: 888px; }
105
+ #preheader_curve_1{border-left: 4px solid #fff; border-right: 4px solid #fff; width: 892px; _width: 888px; }
106
+ #preheader_curve_0{border-left: 6px solid #fff; border-right: 6px solid #fff; width: 888px; _width: 888px; }
107
+
108
+ #header h1 {
109
+ color: #fff;
110
+ font-size: 30px;
111
+ margin: 4px 0 0 0;
112
+ } #header p {
113
+ margin: 0;
114
+ padding: 0;
115
+ padding-left: 3px;
116
+ font-size: 16px;
117
+ color: #fff;
118
+ } #header a {
119
+ color: #fff;
120
+ text-decoration: none;
121
+ font-weight: bold;
122
+ }
123
+
124
+ /* basic layout and navigation bars */
125
+
126
+ #left {
127
+ background-color: #181848;
128
+ width: 220px;
129
+ float: left;
130
+ _width: 208px;
131
+ margin-bottom: 24px;
132
+ } #left a {
133
+ line-height: 14px;
134
+ }
135
+
136
+ /* navigation bar colors and text styles */
137
+
138
+ .navigation {
139
+ width: 196px;
140
+ margin: 6px;
141
+ padding: 6px;
142
+ text-align: left;
143
+ background-color: #fff;
144
+ overflow: hidden;
145
+ } .navigation h3 {
146
+ font-weight: bold;
147
+ margin-bottom: 5px;
148
+ } .navigation span, .navigation a {
149
+ margin-left: 6px;
150
+ } #includes .navigation span, #includes .navigation a {
151
+ margin-left: 0;
152
+ } .darker {
153
+ background-color: #e4ebed;
154
+ } #spacer {
155
+ background-color: #fff;
156
+ height: 18px;
157
+ display: none;
158
+ }
159
+
160
+ /* content area */
161
+
162
+ #content {
163
+ padding: 20px;
164
+ width: 640px;
165
+ float: left;
166
+ min-height: 450px;
167
+ margin: 0;
168
+ margin-bottom: -4px;
169
+ } #content img {
170
+ padding-top: 6px;
171
+ padding-bottom: 12px;
172
+ }
173
+
174
+ #content h1, h2 {
175
+ border-top: 1px solid #e4ebed;
176
+ } #content h1 {
177
+ padding-top: 18px;
178
+ } #content #item_name { /* why does this need to be fully qualified? */
179
+ padding-top: 0;
180
+ border: none;
181
+ }
182
+
183
+ /* footer */
184
+
185
+ #footer {
186
+ text-align: center;
187
+ background-color: #fff;
188
+ padding: 18px;
189
+ border-top: 1px solid #e4ebed;
190
+ color: #ccd5dc;
191
+ } #footer a {
192
+ font-weight: normal;
193
+ color: #ccd5dc;
194
+ }
195
+
196
+ /* for that dumb redirect index page I can't avoid */
197
+
198
+ #redirect {
199
+ text-align: center;
200
+ } #redirect a {
201
+ color: #181848;
202
+ }
203
+
204
+ /* tables */
205
+
206
+ table {
207
+ width: 585px;
208
+ margin-right: 0;
209
+ border-collapse: collapse;
210
+ border: 1px solid #e4ebed;
211
+ } td, th {
212
+ background-color: #fff;
213
+ text-align: left;
214
+ padding: 6px;
215
+ line-height: 14px;
216
+ font-size: 13px;
217
+ } td.normal {
218
+ font-family: Courier, Courier New, monospace;
219
+ font-size: 12px;
220
+ } td.highlight {
221
+ color: #304878;
222
+ }
223
+
224
+ /* method_block details */
225
+
226
+ div.method_block {
227
+ border-bottom: 1px solid #e4ebed;
228
+ margin-left: 20px;
229
+ margin-bottom: -17px;
230
+ margin-top: 17px;
231
+ } div.method_block h3 {
232
+ color: #181848;
233
+ margin-left: 0;
234
+ padding: 0;
235
+ } #content div.method_block h1, #content #description h1 {
236
+ margin-left: 6px;
237
+ color: #ccd5dc;
238
+ } div.method_block a.small { /* where is this used? */
239
+ font-size: 3px;
240
+ line-height: 3px;
241
+ }
242
+
243
+ /* index includes on the navigation bar */
244
+
245
+ div.index a {
246
+ font-size: 13px;
247
+ } #method {
248
+ display: none;
249
+ } #file, #class {
250
+ display: block;
251
+ } div.list_header {
252
+ float: left;
253
+ } div.list_header_link {
254
+ float: right;
255
+ padding-top: 3px;
256
+ } div.list_header_link a {
257
+ font-weight: normal;
258
+ } div.navigation h3, .list_header_link {
259
+ margin: 0;
260
+ margin-top: 6px;
261
+ margin-bottom: 6px;
262
+ padding: 0;
263
+ }
264
+
265
+ .index label {
266
+ font-size: 13px;
267
+ } .index form input {
268
+ width: 136px;
269
+ } .index form {
270
+ margin-bottom: 6px;
271
+ }
272
+
273
+ ol, ul {
274
+ margin-left: 6px;
275
+ }
276
+
277
+ p.source_link a {
278
+ text-align: right;
279
+ font-weight: normal;
280
+ } div.source {
281
+ display: none;
282
+ } pre, tt {
283
+ color: #181848;
284
+ font-weight: normal;
285
+ font-family: Courier, Courier New, monospace;
286
+ font-size: 12px;
287
+ } pre {
288
+ line-height: 14px;
289
+ margin-left: 12px;
290
+ overflow: auto;
291
+ /* next 4 lines because IE sucks */
292
+ _position: relative;
293
+ _width: 587px;
294
+ _overflow-x:scroll;
295
+ _overflow-y:visible;
296
+ } b tt, tt b {
297
+ font-weight: bold;
298
+ } div.source g {
299
+ margin-left: 0;
300
+ } p.source_link {
301
+ text-align: center;
302
+ }
303
+
304
+ /* source code highlighting */
305
+
306
+ .source pre {
307
+ color: black;
308
+ }
309
+ pre .ruby-value, pre .ruby-symbol {
310
+ color: #1104bb;
311
+ } pre .ruby-value.str, pre .ruby-node {
312
+ color: #181848;
313
+ } pre .ruby-ivar, pre .ruby-cvar {
314
+ } pre .ruby-comment {
315
+ color: #009500;
316
+ } pre .ruby-constant {
317
+ color: #cd8802;
318
+ } pre .ruby-keyword {
319
+ color: #8d04aa;
320
+ }