mls 0.14.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Rakefile +6 -6
  4. data/lib/mls.rb +73 -427
  5. data/lib/mls/account.rb +15 -0
  6. data/lib/mls/address.rb +4 -0
  7. data/lib/mls/agency.rb +6 -0
  8. data/lib/mls/brokerage.rb +7 -0
  9. data/lib/mls/coworking_space.rb +5 -0
  10. data/lib/mls/floorplan.rb +11 -0
  11. data/lib/mls/flyer.rb +11 -0
  12. data/lib/mls/lease.rb +2 -0
  13. data/lib/mls/listing.rb +135 -0
  14. data/lib/mls/locality.rb +6 -0
  15. data/lib/mls/photo.rb +18 -0
  16. data/lib/mls/property.rb +24 -0
  17. data/lib/mls/region.rb +13 -0
  18. data/lib/mls/sale.rb +2 -0
  19. data/lib/mls/space.rb +3 -0
  20. data/lib/mls/sublease.rb +2 -0
  21. data/lib/mls/use.rb +25 -0
  22. data/mls.gemspec +11 -15
  23. data/test/mls/attribute_test.rb +55 -0
  24. data/test/mls/resource_test.rb +31 -0
  25. data/test/mls_test.rb +27 -0
  26. data/test/test_helper.rb +26 -27
  27. metadata +43 -75
  28. data/lib/mls/attribute.rb +0 -44
  29. data/lib/mls/attributes/array.rb +0 -11
  30. data/lib/mls/attributes/boolean.rb +0 -9
  31. data/lib/mls/attributes/datetime.rb +0 -25
  32. data/lib/mls/attributes/decimal.rb +0 -21
  33. data/lib/mls/attributes/fixnum.rb +0 -16
  34. data/lib/mls/attributes/hash.rb +0 -15
  35. data/lib/mls/attributes/string.rb +0 -15
  36. data/lib/mls/errors.rb +0 -29
  37. data/lib/mls/factories/account.rb +0 -34
  38. data/lib/mls/factories/address.rb +0 -16
  39. data/lib/mls/factories/listing.rb +0 -29
  40. data/lib/mls/factories_helper.rb +0 -7
  41. data/lib/mls/model.rb +0 -125
  42. data/lib/mls/models/account.rb +0 -174
  43. data/lib/mls/models/address.rb +0 -58
  44. data/lib/mls/models/brokerage.rb +0 -31
  45. data/lib/mls/models/floorplan.rb +0 -45
  46. data/lib/mls/models/flyer.rb +0 -45
  47. data/lib/mls/models/listing.rb +0 -394
  48. data/lib/mls/models/pdf.rb +0 -15
  49. data/lib/mls/models/photo.rb +0 -40
  50. data/lib/mls/models/property.rb +0 -114
  51. data/lib/mls/models/region.rb +0 -56
  52. data/lib/mls/models/tour.rb +0 -54
  53. data/lib/mls/models/video.rb +0 -18
  54. data/lib/mls/parser.rb +0 -74
  55. data/lib/mls/resource.rb +0 -99
  56. data/lib/rdoc/generator/template/42floors/_context.rhtml +0 -209
  57. data/lib/rdoc/generator/template/42floors/_head.rhtml +0 -7
  58. data/lib/rdoc/generator/template/42floors/class.rhtml +0 -39
  59. data/lib/rdoc/generator/template/42floors/file.rhtml +0 -35
  60. data/lib/rdoc/generator/template/42floors/index.rhtml +0 -13
  61. data/lib/rdoc/generator/template/42floors/resources/apple-touch-icon.png +0 -0
  62. data/lib/rdoc/generator/template/42floors/resources/css/github.css +0 -129
  63. data/lib/rdoc/generator/template/42floors/resources/css/main.css +0 -339
  64. data/lib/rdoc/generator/template/42floors/resources/css/panel.css +0 -389
  65. data/lib/rdoc/generator/template/42floors/resources/css/reset.css +0 -48
  66. data/lib/rdoc/generator/template/42floors/resources/favicon.ico +0 -0
  67. data/lib/rdoc/generator/template/42floors/resources/i/arrows.png +0 -0
  68. data/lib/rdoc/generator/template/42floors/resources/i/results_bg.png +0 -0
  69. data/lib/rdoc/generator/template/42floors/resources/i/tree_bg.png +0 -0
  70. data/lib/rdoc/generator/template/42floors/resources/js/highlight.pack.js +0 -1
  71. data/lib/rdoc/generator/template/42floors/resources/js/jquery-1.3.2.min.js +0 -19
  72. data/lib/rdoc/generator/template/42floors/resources/js/jquery-effect.js +0 -593
  73. data/lib/rdoc/generator/template/42floors/resources/js/main.js +0 -20
  74. data/lib/rdoc/generator/template/42floors/resources/js/searchdoc.js +0 -442
  75. data/lib/rdoc/generator/template/42floors/resources/panel/index.html +0 -73
  76. data/lib/rdoc/generator/template/42floors/se_index.rhtml +0 -8
  77. data/test/units/properties/test_boolean.rb +0 -4
  78. data/test/units/test_errors.rb +0 -32
  79. data/test/units/test_mls.rb +0 -294
  80. data/test/units/test_property.rb +0 -35
@@ -1,209 +0,0 @@
1
- <div id="content">
2
- <% unless (description = context.description).empty? %>
3
- <div class="description">
4
- <%= description %>
5
- </div>
6
- <% end %>
7
-
8
-
9
- <% unless context.requires.empty? %>
10
- <!-- File only: requires -->
11
- <div class="sectiontitle">Required Files</div>
12
- <ul>
13
- <% context.requires.each do |req| %>
14
- <li><%= h req.name %></li>
15
- <% end %>
16
- </ul>
17
- <% end %>
18
-
19
-
20
- <% sections = context.sections.select { |s| s.title }.sort_by{ |s| s.title.to_s } %>
21
- <% unless sections.empty? then %>
22
- <!-- Sections -->
23
- <div class="sectiontitle">Sections</div>
24
- <ul>
25
- <% sections.each do |section| %>
26
- <li><a href="#<%= section.aref %>"><%= h section.title %></a></li>
27
- <% end %>
28
- </ul>
29
- <% end %>
30
-
31
-
32
- <% unless context.classes_and_modules.empty? %>
33
- <!-- Namespace -->
34
- <div class="sectiontitle">Namespace</div>
35
- <ul>
36
- <% (context.modules.sort + context.classes.sort).each do |mod| %>
37
- <li>
38
- <span class="type"><%= mod.type.upcase %></span>
39
- <a href="<%= context.aref_to mod.path %>"><%= mod.full_name %></a>
40
- </li>
41
- <% end %>
42
- </ul>
43
- <% end %>
44
-
45
-
46
- <% unless context.method_list.empty? %>
47
- <!-- Method ref -->
48
- <div class="sectiontitle">Methods</div>
49
- <dl class="methods">
50
- <% each_letter_group(context.method_list) do |group| %>
51
- <dt><%= group[:name] %></dt>
52
- <dd>
53
- <ul>
54
- <% group[:methods].each_with_index do |method, i| %>
55
- <%
56
- comma = group[:methods].size == i+1 ? '' : ','
57
- %>
58
- <li>
59
- <a href="#<%= method.aref %>"><%= h method.name %></a><%= comma %>
60
- </li>
61
- <% end %>
62
- </ul>
63
- </dd>
64
- <% end %>
65
- </dl>
66
- <% end %>
67
-
68
- <% unless context.includes.empty? %>
69
- <!-- Includes -->
70
- <div class="sectiontitle">Included Modules</div>
71
- <ul>
72
- <% context.includes.each do |inc| %>
73
- <li>
74
- <% unless String === inc.module %>
75
- <a href="<%= context.aref_to inc.module.path %>">
76
- <%= h inc.module.full_name %>
77
- </a>
78
- <% else %>
79
- <%= h inc.name %>
80
- <% end %>
81
- </li>
82
- <% end %>
83
- </ul>
84
- <% end %>
85
-
86
-
87
-
88
- <% context.each_section do |section, constants, attributes| %>
89
-
90
- <% if section.title then %>
91
- <div class="contenttitle" id="<%= h section.aref %>">
92
- <%= h section.title %>
93
- </div>
94
- <% end %>
95
-
96
- <% if section.comment then %>
97
- <div class="description">
98
- <%= section.description %>
99
- </div>
100
- <% end %>
101
-
102
- <% unless constants.empty? %>
103
- <!-- Section constants -->
104
- <div class="sectiontitle">Constants</div>
105
- <table border='0' cellpadding='5'>
106
- <% context.each_constant do |const| %>
107
- <tr valign='top'>
108
- <td class="attr-name"><%= h const.name %></td>
109
- <td>=</td>
110
- <td class="attr-value"><%= h const.value %></td>
111
- </tr>
112
- <% if const.comment %>
113
- <tr valign='top'>
114
- <td>&nbsp;</td>
115
- <td colspan="2" class="attr-desc"><%= const.description.strip %></td>
116
- </tr>
117
- <% end %>
118
- <% end %>
119
- </table>
120
- <% end %>
121
-
122
-
123
- <% unless attributes.empty? %>
124
- <!-- Section attributes -->
125
- <div class="sectiontitle">Attributes</div>
126
- <table border='0' cellpadding='5'>
127
- <% attributes.each do |attrib| %>
128
- <tr valign='top'>
129
- <td class='attr-rw'>
130
- [<%= attrib.rw %>]
131
- </td>
132
- <td class='attr-name'><%= h attrib.name %></td>
133
- <td class='attr-desc'><%= attrib.description.strip %></td>
134
- </tr>
135
- <% end %>
136
- </table>
137
- <% end %>
138
-
139
-
140
- <!-- Methods -->
141
- <%
142
- context.methods_by_type(section).each do |type, visibilities|
143
- next if visibilities.empty?
144
-
145
- visibilities.each do |visibility, methods|
146
- next if methods.empty?
147
- %>
148
- <div class="sectiontitle"><%= type.capitalize %> <%= visibility.to_s.capitalize %> methods</div>
149
- <% methods.each do |method| %>
150
- <div class="method">
151
- <div class="title method-title" id="<%= method.aref %>">
152
- <% if method.call_seq %>
153
- <a name="<%= method.aref %>"></a><b><%= method.call_seq.gsub(/->/, '&rarr;') %></b>
154
- <% else %>
155
- <a name="<%= method.aref %>"></a><b><%= h method.name %></b><%= h method.params %>
156
- <% end %>
157
- </div>
158
-
159
- <% if method.comment %>
160
- <div class="description">
161
- <%= method.description.strip %>
162
- </div>
163
- <% end %>
164
-
165
- <% unless method.aliases.empty? %>
166
- <div class="aka">
167
- Also aliased as: <%= method.aliases.map do |aka|
168
- if aka.parent then # HACK lib/rexml/encodings
169
- %{<a href="#{context.aref_to aka.path}">#{h aka.name}</a>}
170
- else
171
- h aka.name
172
- end
173
- end.join ", " %>
174
- </div>
175
- <% end %>
176
-
177
- <% if method.token_stream %>
178
- <% markup = method.sdoc_markup_code %>
179
- <div class="sourcecode">
180
- <%
181
- # generate github link
182
- github = if options.github
183
- if markup =~ /File\s(\S+), line (\d+)/
184
- path = $1
185
- line = $2.to_i
186
- end
187
- path && github_url(path)
188
- else
189
- false
190
- end
191
- %>
192
- <p class="source-link">
193
- Source:
194
- <a href="javascript:toggleSource('<%= method.aref %>_source')" id="l_<%= method.aref %>_source">show</a>
195
- <% if github %>
196
- | <a href="<%= "#{github}#L#{line}" %>" target="_blank" class="github_url">on GitHub</a>
197
- <% end %>
198
- </p>
199
- <div id="<%= method.aref %>_source" class="dyn-source">
200
- <pre><%= markup %></pre>
201
- </div>
202
- </div>
203
- <% end %>
204
- </div>
205
- <% end #methods.each %>
206
- <% end #visibilities.each %>
207
- <% end #context.methods_by_type %>
208
- <% end #context.each_section %>
209
- </div>
@@ -1,7 +0,0 @@
1
- <link rel="stylesheet" href="<%= "#{rel_prefix}/css/reset.css" %>" type="text/css" media="screen" />
2
- <link rel="stylesheet" href="<%= "#{rel_prefix}/css/main.css" %>" type="text/css" media="screen" />
3
- <link rel="stylesheet" href="<%= "#{rel_prefix}/css/github.css" %>" type="text/css" media="screen" />
4
- <script src="<%= "#{rel_prefix}/js/jquery-1.3.2.min.js" %>" type="text/javascript" charset="utf-8"></script>
5
- <script src="<%= "#{rel_prefix}/js/jquery-effect.js" %>" type="text/javascript" charset="utf-8"></script>
6
- <script src="<%= "#{rel_prefix}/js/main.js" %>" type="text/javascript" charset="utf-8"></script>
7
- <script src="<%= "#{rel_prefix}/js/highlight.pack.js" %>" type="text/javascript" charset="utf-8"></script>
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title><%= h klass.full_name %></title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
8
- <%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
9
- </head>
10
-
11
- <body>
12
- <div class="banner">
13
- <% if ENV['HORO_PROJECT_NAME'] %>
14
- <span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br />
15
- <% end %>
16
- <h1>
17
- <span class="type"><%= klass.module? ? 'Module' : 'Class' %></span>
18
- <%= h klass.full_name %>
19
- <% if klass.type == 'class' %>
20
- <span class="parent">&lt;
21
- <% if String === klass.superclass %>
22
- <%= klass.superclass %>
23
- <% elsif !klass.superclass.nil? %>
24
- <a href="<%= klass.aref_to klass.superclass.path %>"><%= h klass.superclass.full_name %></a>
25
- <% end %>
26
- </span>
27
- <% end %>
28
- </h1>
29
- <ul class="files">
30
- <% klass.in_files.each do |file| %>
31
- <li><a href="<%= "#{rel_prefix}/#{h file.path}" %>"><%= h file.absolute_name %></a></li>
32
- <% end %>
33
- </ul>
34
- </div>
35
- <div id="bodyContent">
36
- <%= include_template '_context.rhtml', {:context => klass, :rel_prefix => rel_prefix} %>
37
- </div>
38
- </body>
39
- </html>
@@ -1,35 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title><%= h file.name %></title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
8
- <%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
9
- </head>
10
-
11
- <body>
12
- <div class="banner">
13
- <% if ENV['HORO_PROJECT_NAME'] %>
14
- <span><%= ERB::Util.html_escape(ENV['HORO_PROJECT_NAME']) %> <%= ERB::Util.html_escape(ENV['HORO_PROJECT_VERSION']) %></span><br />
15
- <% end %>
16
- <h1>
17
- <%= h file.name %>
18
- </h1>
19
- <ul class="files">
20
- <% github = github_url(file.relative_name) if options.github %>
21
- <li>
22
- <%= h file.relative_name %>
23
- <% if github %>
24
- <a href="<%= github %>" target="_blank" class="github_url">on GitHub</a>
25
- <% end %>
26
- </li>
27
- <li>Last modified: <%= file.file_stat.mtime %></li>
28
- </ul>
29
- </div>
30
-
31
- <div id="bodyContent">
32
- <%= include_template '_context.rhtml', {:context => file, :rel_prefix => rel_prefix} %>
33
- </div>
34
- </body>
35
- </html>
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html
2
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
7
- <title><%= @options.title %></title>
8
- </head>
9
- <frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
10
- <frame src="panel/index.html" title="Search" name="panel" />
11
- <frame src="<%= index_path %>" name="docwin" />
12
- </frameset>
13
- </html>
@@ -1,129 +0,0 @@
1
- /*
2
-
3
- github.com style (c) Vasily Polovnyov <vast@whiteants.net>
4
-
5
- */
6
-
7
- pre code {
8
- display: block; padding: 0.5em;
9
- color: #000;
10
- background: #f8f8ff
11
- }
12
-
13
- pre .comment,
14
- pre .template_comment,
15
- pre .diff .header,
16
- pre .javadoc {
17
- color: #998;
18
- font-style: italic
19
- }
20
-
21
- pre .keyword,
22
- pre .css .rule .keyword,
23
- pre .winutils,
24
- pre .javascript .title,
25
- pre .lisp .title,
26
- pre .subst {
27
- color: #000;
28
- font-weight: bold
29
- }
30
-
31
- pre .number,
32
- pre .hexcolor {
33
- color: #40a070
34
- }
35
-
36
- pre .string,
37
- pre .tag .value,
38
- pre .phpdoc,
39
- pre .tex .formula {
40
- color: #d14
41
- }
42
-
43
- pre .title,
44
- pre .id {
45
- color: #900;
46
- font-weight: bold
47
- }
48
-
49
- pre .javascript .title,
50
- pre .lisp .title,
51
- pre .subst {
52
- font-weight: normal
53
- }
54
-
55
- pre .class .title,
56
- pre .haskell .label,
57
- pre .tex .command {
58
- color: #458;
59
- font-weight: bold
60
- }
61
-
62
- pre .tag,
63
- pre .tag .title,
64
- pre .rules .attribute,
65
- pre .django .tag .keyword {
66
- color: #000080;
67
- font-weight: normal
68
- }
69
-
70
- pre .attribute,
71
- pre .variable,
72
- pre .instancevar,
73
- pre .lisp .body {
74
- color: #008080
75
- }
76
-
77
- pre .regexp {
78
- color: #009926
79
- }
80
-
81
- pre .class {
82
- color: #458;
83
- font-weight: bold
84
- }
85
-
86
- pre .symbol,
87
- pre .ruby .symbol .string,
88
- pre .ruby .symbol .keyword,
89
- pre .ruby .symbol .keymethods,
90
- pre .lisp .keyword,
91
- pre .tex .special,
92
- pre .input_number {
93
- color: #990073
94
- }
95
-
96
- pre .builtin,
97
- pre .built_in,
98
- pre .lisp .title {
99
- color: #0086b3
100
- }
101
-
102
- pre .preprocessor,
103
- pre .pi,
104
- pre .doctype,
105
- pre .shebang,
106
- pre .cdata {
107
- color: #999;
108
- font-weight: bold
109
- }
110
-
111
- pre .deletion {
112
- background: #fdd
113
- }
114
-
115
- pre .addition {
116
- background: #dfd
117
- }
118
-
119
- pre .diff .change {
120
- background: #0086b3
121
- }
122
-
123
- pre .chunk {
124
- color: #aaa
125
- }
126
-
127
- pre .tex .formula {
128
- opacity: 0.5;
129
- }
@@ -1,339 +0,0 @@
1
- body {
2
- font-family: "Helvetica Neue", Arial, sans-serif;
3
- background: #FFF;
4
- color: #000;
5
- margin: 0px;
6
- font-size: 0.82em;
7
- line-height: 1.25em;
8
- }
9
-
10
- a:link, a:active, a:visited, a:hover {
11
- color: #769028;
12
- text-decoration: none;
13
- }
14
-
15
- a:hover, .banner a:hover {
16
- color: #333;
17
- background: #FE8;
18
- }
19
-
20
- h1 a, h2 a, .banner a {
21
- color: #fff;
22
- }
23
-
24
- h1 a:hover, h2 a:hover {
25
- color: #fff;
26
- }
27
-
28
- p {
29
- margin-bottom: 1em;
30
- }
31
-
32
- h1 {
33
- font-size: 2.1em;
34
- font-weight: normal;
35
- line-height: 1.2em;
36
- margin: 1.4em 0 0.7em 0;
37
- }
38
-
39
- h2 {
40
- font-size: 1.6em;
41
- margin: 1.8em 0 0.8em 0;
42
- font-weight: normal;
43
- line-height: 1.2em;
44
- }
45
-
46
- h3 {
47
- font-size: 1.4em;
48
- color:#555;
49
- margin: 1.4em 0 0.7em 0;
50
- font-weight: normal;
51
- }
52
-
53
- h4 {
54
- margin: 1.4em 0 0.5em 0;
55
- font-size: 1em;
56
- }
57
-
58
- table
59
- {
60
- margin-bottom: 1em;
61
- }
62
-
63
- td, th
64
- {
65
- padding: 0 0.7em 0.3em 0;
66
- }
67
-
68
- th
69
- {
70
- font-weight: bold;
71
- }
72
-
73
- .clear
74
- {
75
- clear: both;
76
- width: 0; height: 0;
77
- }
78
-
79
- dt
80
- {
81
- margin-bottom: 0.3em;
82
- font-weight: bold;
83
- }
84
-
85
- dd
86
- {
87
- margin-left: 2em;
88
- margin-bottom: 1em;
89
- }
90
-
91
- dd p
92
- {
93
- margin-top: 0.6em;
94
- }
95
-
96
- li
97
- {
98
- margin: 0 0 0.5em 2em;
99
- }
100
-
101
- ul li
102
- {
103
- list-style: disc;
104
- }
105
-
106
- ol li
107
- {
108
- list-style: decimal;
109
- }
110
-
111
- .banner
112
- {
113
- background: #97B833;
114
- color: #fff;
115
- border-bottom: 1px solid #769028;
116
- padding: 1em 2em 0.5em 2em;
117
- }
118
- .banner h1
119
- {
120
- font-size: 1.2em;
121
- margin: 0;
122
- }
123
-
124
- .banner h1 .type
125
- {
126
- font-size: 0.833em;
127
- display:block;
128
- }
129
-
130
- .banner h1 .type,
131
- .banner h1 .parent
132
- {
133
- color: #ccc;
134
- }
135
-
136
- .banner ul
137
- {
138
- margin-top: 0.3em;
139
- margin-bottom: 0;
140
- font-size: 0.85em;
141
- }
142
-
143
- .banner li
144
- {
145
- list-style: none;
146
- margin-left: 0;
147
- margin-bottom: 0;
148
- }
149
-
150
- .banner .github_url {
151
- color: #CCC;
152
- }
153
-
154
- pre
155
- {
156
- margin-bottom: 1em;
157
- }
158
-
159
- .methods dt
160
- {
161
- width: 1em;
162
- font-size: 1.5em;
163
- color:#AAA;
164
- position: absolute;
165
- font-weight: normal;
166
- margin: 0;
167
- }
168
-
169
- .methods dd
170
- {
171
- margin-left: 2.5em;
172
- min-height: 1.8em;
173
- -height: 1.8em;
174
- padding-bottom: 0.8em;
175
- }
176
-
177
-
178
- .methods ul li
179
- {
180
- margin-right: 0.7em;
181
- margin-left: 0;
182
- list-style: none;
183
- display: inline;
184
- }
185
-
186
- #content {
187
- margin: 2em;
188
- margin-left: 3.5em;
189
- margin-right: 3.5em;
190
- }
191
-
192
-
193
- .sectiontitle {
194
- margin-top: 2em;
195
- margin-bottom: 1.3em;
196
- margin-left: -1.2em;
197
- font-size: 1.2em;
198
- padding: 0 0 0.25em 0;
199
- font-weight: bold;
200
- border-bottom: 1px solid #000;
201
- }
202
-
203
- .contenttitle {
204
- margin-top: 4em;
205
- margin-bottom: 1.3em;
206
- margin-left: -0.9em;
207
- font-size: 1.6em;
208
- padding: 0 0 0.25em 0;
209
- font-weight: bold;
210
- }
211
-
212
- .attr-rw {
213
- padding-right: 1em;
214
- text-align: center;
215
- color: #055;
216
- }
217
-
218
- .attr-name {
219
- font-weight: bold;
220
- padding-right: 1em;
221
- }
222
-
223
- .attr-desc {
224
- }
225
-
226
- tt {
227
- font-size: 1.15em;
228
- }
229
-
230
- .attr-value {
231
- font-family: monospace;
232
- padding-left: 1em;
233
- font-size: 1.15em;
234
- }
235
-
236
- .dyn-source {
237
- display: none;
238
- background: #fffde8;
239
- color: #000;
240
- border: #ffe0bb dotted 1px;
241
- margin: 0.5em 2em 0.5em 0;
242
- padding: 0.5em;
243
- }
244
-
245
- .dyn-source .cmt {
246
- color: #00F;
247
- font-style: italic;
248
- }
249
-
250
- .dyn-source .kw {
251
- color: #070;
252
- font-weight: bold;
253
- }
254
-
255
- .description pre {
256
- padding: 0.5em;
257
- border: #ffe0bb dotted 1px;
258
- background: #fffde8;
259
- }
260
-
261
- .method {
262
- margin-bottom: 2em;
263
- }
264
- .method .description,
265
- .method .sourcecode
266
- {
267
- margin-left: 1.2em;
268
- }
269
- .method h4
270
- {
271
- border-bottom: 1px dotted #999;
272
- padding: 0 0 0.2em 0;
273
- margin-bottom: 0.8em;
274
- font-size: 1.1em;
275
- color:#333;
276
- }
277
- .method .method-title {
278
- border-bottom: 1px dotted #666;
279
- padding: 0 0 0.15em 0;
280
- margin: 0 0 0.5em 0;
281
- font-size: 1.2em;
282
- line-height: 1.25em;
283
- }
284
-
285
- .method .sourcecode p.source-link {
286
- text-indent: 0em;
287
- margin-top: 0.5em;
288
- }
289
-
290
- .method .aka {
291
- margin-top: 0.3em;
292
- margin-left: 1em;
293
- font-style: italic;
294
- text-indent: 2em;
295
- }
296
-
297
- .method .source-link
298
- {
299
- font-size: 0.85em;
300
- }
301
-
302
- .ruby-constant {
303
- color: teal;
304
- }
305
- .ruby-keyword {
306
- color: #000;
307
- font-weight: bold
308
- }
309
- .ruby-title {
310
- color: #900;
311
- font-weight: bold;
312
- }
313
- .ruby-ivar {
314
- color: teal;
315
- }
316
- .ruby-operator {
317
- color: #000;
318
- font-weight: bold
319
- }
320
- .ruby-identifier {
321
- color: #000;
322
- }
323
- .ruby-string,
324
- .ruby-node {
325
- color: #D14;
326
- }
327
- .ruby-comment {
328
- color: #998;
329
- font-style: italic;
330
- }
331
- .ruby-regexp {
332
- color: #009926;
333
- }
334
- .ruby-value {
335
- color: #990073;
336
- }
337
- .ruby-number {
338
- color: #40A070;
339
- }