rails-pg-procs 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.document +5 -0
  2. data/.gitignore +5 -0
  3. data/LICENSE +20 -0
  4. data/README +15 -0
  5. data/README.rdoc +18 -0
  6. data/Rakefile +60 -0
  7. data/VERSION +1 -0
  8. data/docs/classes/ActiveRecord.html +117 -0
  9. data/docs/classes/ActiveRecord/ConnectionAdapters.html +113 -0
  10. data/docs/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html +589 -0
  11. data/docs/classes/ActiveRecord/ConnectionAdapters/ProcedureDefinition.html +110 -0
  12. data/docs/classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html +519 -0
  13. data/docs/classes/ActiveRecord/ConnectionAdapters/TypeDefinition.html +110 -0
  14. data/docs/classes/ActiveRecord/SchemaDumper.html +371 -0
  15. data/docs/classes/Inflector.html +164 -0
  16. data/docs/classes/SchemaProcs.html +211 -0
  17. data/docs/classes/SqlFormat.html +139 -0
  18. data/docs/classes/String.html +117 -0
  19. data/docs/classes/Symbol.html +117 -0
  20. data/docs/created.rid +1 -0
  21. data/docs/fr_class_index.html +36 -0
  22. data/docs/fr_method_index.html +63 -0
  23. data/docs/index.html +22 -0
  24. data/docs/rdoc-style.css +208 -0
  25. data/init.rb +3 -0
  26. data/install.rb +1 -0
  27. data/lib/connection_adapters/aggregagtes_definition.rb +1 -0
  28. data/lib/connection_adapters/connection_adapters.rb +8 -0
  29. data/lib/connection_adapters/index_definition.rb +24 -0
  30. data/lib/connection_adapters/postgresql_adapter.rb +256 -0
  31. data/lib/connection_adapters/procedure_definition.rb +6 -0
  32. data/lib/connection_adapters/schema_definition.rb +24 -0
  33. data/lib/connection_adapters/schema_statements.rb +11 -0
  34. data/lib/connection_adapters/trigger_definition.rb +114 -0
  35. data/lib/connection_adapters/type_definition.rb +17 -0
  36. data/lib/connection_adapters/view_definition.rb +34 -0
  37. data/lib/inflector.rb +10 -0
  38. data/lib/rails_pg_procs.rb +8 -0
  39. data/lib/schema_dumper.rb +96 -0
  40. data/lib/schema_procs.rb +19 -0
  41. data/lib/sql_format.rb +17 -0
  42. data/tasks/rails_pg_procs.rake +4 -0
  43. data/test/connection.rb +16 -0
  44. data/test/procedure_test.rb +78 -0
  45. data/test/rails_pg_procs_test.rb +246 -0
  46. data/test/test_helper.rb +41 -0
  47. data/test/trigger_test.rb +87 -0
  48. data/test/type_test.rb +46 -0
  49. data/test/view_test.rb +36 -0
  50. data/uninstall.rb +1 -0
  51. metadata +112 -0
@@ -0,0 +1,117 @@
1
+ <!DOCTYPE html
2
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <title>Class: String</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
10
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
11
+ <script type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function popupCode( url ) {
15
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
16
+ }
17
+
18
+ function toggleCode( id ) {
19
+ if ( document.getElementById )
20
+ elem = document.getElementById( id );
21
+ else if ( document.all )
22
+ elem = eval( "document.all." + id );
23
+ else
24
+ return false;
25
+
26
+ elemStyle = elem.style;
27
+
28
+ if ( elemStyle.display != "block" ) {
29
+ elemStyle.display = "block"
30
+ } else {
31
+ elemStyle.display = "none"
32
+ }
33
+
34
+ return true;
35
+ }
36
+
37
+ // Make codeblocks hidden by default
38
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
39
+
40
+ // ]]>
41
+ </script>
42
+
43
+ </head>
44
+ <body>
45
+
46
+
47
+
48
+ <div id="classHeader">
49
+ <table class="header-table">
50
+ <tr class="top-aligned-row">
51
+ <td><strong>Class</strong></td>
52
+ <td class="class-name-in-header">String</td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>In:</strong></td>
56
+ <td>
57
+ <a href="../files/lib/rails_pg_procs_rb.html">
58
+ lib/rails_pg_procs.rb
59
+ </a>
60
+ <br />
61
+ </td>
62
+ </tr>
63
+
64
+ <tr class="top-aligned-row">
65
+ <td><strong>Parent:</strong></td>
66
+ <td>
67
+ Object
68
+ </td>
69
+ </tr>
70
+ </table>
71
+ </div>
72
+ <!-- banner header -->
73
+
74
+ <div id="bodyContent">
75
+
76
+
77
+
78
+ <div id="contextContent">
79
+
80
+
81
+
82
+ </div>
83
+
84
+
85
+ </div>
86
+
87
+
88
+ <!-- if includes -->
89
+ <div id="includes">
90
+ <h3 class="section-bar">Included Modules</h3>
91
+
92
+ <div id="includes-list">
93
+ <span class="include-name"><a href="SqlFormat.html">SqlFormat</a></span>
94
+ </div>
95
+ </div>
96
+
97
+ <div id="section">
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ <!-- if method_list -->
107
+
108
+
109
+ </div>
110
+
111
+
112
+ <div id="validator-badges">
113
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
114
+ </div>
115
+
116
+ </body>
117
+ </html>
@@ -0,0 +1,117 @@
1
+ <!DOCTYPE html
2
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <title>Class: Symbol</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
10
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
11
+ <script type="text/javascript">
12
+ // <![CDATA[
13
+
14
+ function popupCode( url ) {
15
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
16
+ }
17
+
18
+ function toggleCode( id ) {
19
+ if ( document.getElementById )
20
+ elem = document.getElementById( id );
21
+ else if ( document.all )
22
+ elem = eval( "document.all." + id );
23
+ else
24
+ return false;
25
+
26
+ elemStyle = elem.style;
27
+
28
+ if ( elemStyle.display != "block" ) {
29
+ elemStyle.display = "block"
30
+ } else {
31
+ elemStyle.display = "none"
32
+ }
33
+
34
+ return true;
35
+ }
36
+
37
+ // Make codeblocks hidden by default
38
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
39
+
40
+ // ]]>
41
+ </script>
42
+
43
+ </head>
44
+ <body>
45
+
46
+
47
+
48
+ <div id="classHeader">
49
+ <table class="header-table">
50
+ <tr class="top-aligned-row">
51
+ <td><strong>Class</strong></td>
52
+ <td class="class-name-in-header">Symbol</td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>In:</strong></td>
56
+ <td>
57
+ <a href="../files/lib/rails_pg_procs_rb.html">
58
+ lib/rails_pg_procs.rb
59
+ </a>
60
+ <br />
61
+ </td>
62
+ </tr>
63
+
64
+ <tr class="top-aligned-row">
65
+ <td><strong>Parent:</strong></td>
66
+ <td>
67
+ Object
68
+ </td>
69
+ </tr>
70
+ </table>
71
+ </div>
72
+ <!-- banner header -->
73
+
74
+ <div id="bodyContent">
75
+
76
+
77
+
78
+ <div id="contextContent">
79
+
80
+
81
+
82
+ </div>
83
+
84
+
85
+ </div>
86
+
87
+
88
+ <!-- if includes -->
89
+ <div id="includes">
90
+ <h3 class="section-bar">Included Modules</h3>
91
+
92
+ <div id="includes-list">
93
+ <span class="include-name"><a href="SqlFormat.html">SqlFormat</a></span>
94
+ </div>
95
+ </div>
96
+
97
+ <div id="section">
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ <!-- if method_list -->
107
+
108
+
109
+ </div>
110
+
111
+
112
+ <div id="validator-badges">
113
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
114
+ </div>
115
+
116
+ </body>
117
+ </html>
@@ -0,0 +1 @@
1
+ Tue, 29 Jan 2008 15:47:40 -0800
@@ -0,0 +1,36 @@
1
+ <!DOCTYPE html
2
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <!--
6
+
7
+ Classes
8
+
9
+ -->
10
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
11
+ <head>
12
+ <title>Classes</title>
13
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
14
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
15
+ <base target="docwin" />
16
+ </head>
17
+ <body>
18
+ <div id="index">
19
+ <h1 class="section-bar">Classes</h1>
20
+ <div id="index-entries">
21
+ <a href="classes/ActiveRecord.html">ActiveRecord</a><br />
22
+ <a href="classes/ActiveRecord/ConnectionAdapters.html">ActiveRecord::ConnectionAdapters</a><br />
23
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter</a><br />
24
+ <a href="classes/ActiveRecord/ConnectionAdapters/ProcedureDefinition.html">ActiveRecord::ConnectionAdapters::ProcedureDefinition</a><br />
25
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html">ActiveRecord::ConnectionAdapters::TriggerDefinition</a><br />
26
+ <a href="classes/ActiveRecord/ConnectionAdapters/TypeDefinition.html">ActiveRecord::ConnectionAdapters::TypeDefinition</a><br />
27
+ <a href="classes/ActiveRecord/SchemaDumper.html">ActiveRecord::SchemaDumper</a><br />
28
+ <a href="classes/Inflector.html">Inflector</a><br />
29
+ <a href="classes/SchemaProcs.html">SchemaProcs</a><br />
30
+ <a href="classes/SqlFormat.html">SqlFormat</a><br />
31
+ <a href="classes/String.html">String</a><br />
32
+ <a href="classes/Symbol.html">Symbol</a><br />
33
+ </div>
34
+ </div>
35
+ </body>
36
+ </html>
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html
2
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+
5
+ <!--
6
+
7
+ Methods
8
+
9
+ -->
10
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
11
+ <head>
12
+ <title>Methods</title>
13
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
14
+ <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
15
+ <base target="docwin" />
16
+ </head>
17
+ <body>
18
+ <div id="index">
19
+ <h1 class="section-bar">Methods</h1>
20
+ <div id="index-entries">
21
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000017">add_trigger (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
22
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000006">before? (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
23
+ <a href="classes/SchemaProcs.html#M000039">behavior (SchemaProcs)</a><br />
24
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000011">bin_typ (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
25
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000003">binary_type= (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
26
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000010">calc (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
27
+ <a href="classes/SchemaProcs.html#M000036">cascade_or_restrict (SchemaProcs)</a><br />
28
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000019">create_proc (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
29
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000015">create_type (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
30
+ <a href="classes/SchemaProcs.html#M000038">definer_or_invoker (SchemaProcs)</a><br />
31
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000023">delim (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
32
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000020">drop_proc (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
33
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000016">drop_type (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
34
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000009">events (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
35
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000024">get_proc_query (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
36
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000022">get_trigger_query (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
37
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000027">get_type (ActiveRecord::SchemaDumper)</a><br />
38
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000025">get_type_query (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
39
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000032">indexes (ActiveRecord::SchemaDumper)</a><br />
40
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000001">new (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
41
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000026">postgres? (ActiveRecord::SchemaDumper)</a><br />
42
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000012">procedures (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
43
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000028">procedures (ActiveRecord::SchemaDumper)</a><br />
44
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000018">remove_trigger (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
45
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000007">row? (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
46
+ <a href="classes/SchemaProcs.html#M000037">strict_or_null (SchemaProcs)</a><br />
47
+ <a href="classes/Inflector.html#M000035">symbolize (Inflector)</a><br />
48
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000031">tables (ActiveRecord::SchemaDumper)</a><br />
49
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000002">to_rdl (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
50
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000004">to_sql_create (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
51
+ <a href="classes/SqlFormat.html#M000033">to_sql_name (SqlFormat)</a><br />
52
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000021">trigger_name (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
53
+ <a href="classes/Inflector.html#M000034">triggerize (Inflector)</a><br />
54
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000005">triggerized? (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
55
+ <a href="classes/ActiveRecord/ConnectionAdapters/TriggerDefinition.html#M000008">triggerized_name (ActiveRecord::ConnectionAdapters::TriggerDefinition)</a><br />
56
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000013">triggers (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
57
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000029">triggers (ActiveRecord::SchemaDumper)</a><br />
58
+ <a href="classes/ActiveRecord/SchemaDumper.html#M000030">types (ActiveRecord::SchemaDumper)</a><br />
59
+ <a href="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html#M000014">types (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)</a><br />
60
+ </div>
61
+ </div>
62
+ </body>
63
+ </html>
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html
2
+ PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
4
+
5
+ <!--
6
+
7
+ RDoc Documentation
8
+
9
+ -->
10
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
11
+ <head>
12
+ <title>RDoc Documentation</title>
13
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
14
+ </head>
15
+ <frameset rows="20%, 80%">
16
+ <frameset cols="50%,50%">
17
+ <frame src="fr_class_index.html" name="Classes" />
18
+ <frame src="fr_method_index.html" name="Methods" />
19
+ </frameset>
20
+ <frame src="classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html" name="docwin" />
21
+ </frameset>
22
+ </html>
@@ -0,0 +1,208 @@
1
+
2
+ body {
3
+ font-family: Verdana,Arial,Helvetica,sans-serif;
4
+ font-size: 90%;
5
+ margin: 0;
6
+ margin-left: 40px;
7
+ padding: 0;
8
+ background: white;
9
+ }
10
+
11
+ h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
12
+ h1 { font-size: 150%; }
13
+ h2,h3,h4 { margin-top: 1em; }
14
+
15
+ a { background: #eef; color: #039; text-decoration: none; }
16
+ a:hover { background: #039; color: #eef; }
17
+
18
+ /* Override the base stylesheet's Anchor inside a table cell */
19
+ td > a {
20
+ background: transparent;
21
+ color: #039;
22
+ text-decoration: none;
23
+ }
24
+
25
+ /* and inside a section title */
26
+ .section-title > a {
27
+ background: transparent;
28
+ color: #eee;
29
+ text-decoration: none;
30
+ }
31
+
32
+ /* === Structural elements =================================== */
33
+
34
+ div#index {
35
+ margin: 0;
36
+ margin-left: -40px;
37
+ padding: 0;
38
+ font-size: 90%;
39
+ }
40
+
41
+
42
+ div#index a {
43
+ margin-left: 0.7em;
44
+ }
45
+
46
+ div#index .section-bar {
47
+ margin-left: 0px;
48
+ padding-left: 0.7em;
49
+ background: #ccc;
50
+ font-size: small;
51
+ }
52
+
53
+
54
+ div#classHeader, div#fileHeader {
55
+ width: auto;
56
+ color: white;
57
+ padding: 0.5em 1.5em 0.5em 1.5em;
58
+ margin: 0;
59
+ margin-left: -40px;
60
+ border-bottom: 3px solid #006;
61
+ }
62
+
63
+ div#classHeader a, div#fileHeader a {
64
+ background: inherit;
65
+ color: white;
66
+ }
67
+
68
+ div#classHeader td, div#fileHeader td {
69
+ background: inherit;
70
+ color: white;
71
+ }
72
+
73
+
74
+ div#fileHeader {
75
+ background: #057;
76
+ }
77
+
78
+ div#classHeader {
79
+ background: #048;
80
+ }
81
+
82
+
83
+ .class-name-in-header {
84
+ font-size: 180%;
85
+ font-weight: bold;
86
+ }
87
+
88
+
89
+ div#bodyContent {
90
+ padding: 0 1.5em 0 1.5em;
91
+ }
92
+
93
+ div#description {
94
+ padding: 0.5em 1.5em;
95
+ background: #efefef;
96
+ border: 1px dotted #999;
97
+ }
98
+
99
+ div#description h1,h2,h3,h4,h5,h6 {
100
+ color: #125;;
101
+ background: transparent;
102
+ }
103
+
104
+ div#validator-badges {
105
+ text-align: center;
106
+ }
107
+ div#validator-badges img { border: 0; }
108
+
109
+ div#copyright {
110
+ color: #333;
111
+ background: #efefef;
112
+ font: 0.75em sans-serif;
113
+ margin-top: 5em;
114
+ margin-bottom: 0;
115
+ padding: 0.5em 2em;
116
+ }
117
+
118
+
119
+ /* === Classes =================================== */
120
+
121
+ table.header-table {
122
+ color: white;
123
+ font-size: small;
124
+ }
125
+
126
+ .type-note {
127
+ font-size: small;
128
+ color: #DEDEDE;
129
+ }
130
+
131
+ .xxsection-bar {
132
+ background: #eee;
133
+ color: #333;
134
+ padding: 3px;
135
+ }
136
+
137
+ .section-bar {
138
+ color: #333;
139
+ border-bottom: 1px solid #999;
140
+ margin-left: -20px;
141
+ }
142
+
143
+
144
+ .section-title {
145
+ background: #79a;
146
+ color: #eee;
147
+ padding: 3px;
148
+ margin-top: 2em;
149
+ margin-left: -30px;
150
+ border: 1px solid #999;
151
+ }
152
+
153
+ .top-aligned-row { vertical-align: top }
154
+ .bottom-aligned-row { vertical-align: bottom }
155
+
156
+ /* --- Context section classes ----------------------- */
157
+
158
+ .context-row { }
159
+ .context-item-name { font-family: monospace; font-weight: bold; color: black; }
160
+ .context-item-value { font-size: small; color: #448; }
161
+ .context-item-desc { color: #333; padding-left: 2em; }
162
+
163
+ /* --- Method classes -------------------------- */
164
+ .method-detail {
165
+ background: #efefef;
166
+ padding: 0;
167
+ margin-top: 0.5em;
168
+ margin-bottom: 1em;
169
+ border: 1px dotted #ccc;
170
+ }
171
+ .method-heading {
172
+ color: black;
173
+ background: #ccc;
174
+ border-bottom: 1px solid #666;
175
+ padding: 0.2em 0.5em 0 0.5em;
176
+ }
177
+ .method-signature { color: black; background: inherit; }
178
+ .method-name { font-weight: bold; }
179
+ .method-args { font-style: italic; }
180
+ .method-description { padding: 0 0.5em 0 0.5em; }
181
+
182
+ /* --- Source code sections -------------------- */
183
+
184
+ a.source-toggle { font-size: 90%; }
185
+ div.method-source-code {
186
+ background: #262626;
187
+ color: #ffdead;
188
+ margin: 1em;
189
+ padding: 0.5em;
190
+ border: 1px dashed #999;
191
+ overflow: hidden;
192
+ }
193
+
194
+ div.method-source-code pre { color: #ffdead; overflow: hidden; }
195
+
196
+ /* --- Ruby keyword styles --------------------- */
197
+
198
+ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
199
+
200
+ .ruby-constant { color: #7fffd4; background: transparent; }
201
+ .ruby-keyword { color: #00ffff; background: transparent; }
202
+ .ruby-ivar { color: #eedd82; background: transparent; }
203
+ .ruby-operator { color: #00ffee; background: transparent; }
204
+ .ruby-identifier { color: #ffdead; background: transparent; }
205
+ .ruby-node { color: #ffa07a; background: transparent; }
206
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
207
+ .ruby-regexp { color: #ffa07a; background: transparent; }
208
+ .ruby-value { color: #7fffd4; background: transparent; }