atom-tools 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/Rakefile +1 -1
  2. data/doc/classes/Atom/AttrEl.html +163 -0
  3. data/doc/classes/Atom/Author.html +113 -0
  4. data/doc/classes/Atom/AutodiscoveryFailure.html +111 -0
  5. data/doc/classes/Atom/Categories.html +168 -0
  6. data/doc/classes/Atom/Category.html +137 -0
  7. data/doc/classes/Atom/Collection.html +425 -0
  8. data/doc/classes/Atom/Content.html +170 -0
  9. data/doc/classes/Atom/Contributor.html +113 -0
  10. data/doc/classes/Atom/Control.html +126 -0
  11. data/doc/classes/Atom/Converters.html +571 -0
  12. data/doc/classes/Atom/DigestAuth.html +285 -0
  13. data/doc/classes/Atom/Element.html +892 -0
  14. data/doc/classes/Atom/FileCache.html +287 -0
  15. data/doc/classes/Atom/HTTP.html +490 -0
  16. data/doc/classes/Atom/HTTPResponse.html +190 -0
  17. data/doc/classes/Atom/HasCategories.html +187 -0
  18. data/doc/classes/Atom/HasLinks.html +168 -0
  19. data/doc/classes/Atom/Link.html +214 -0
  20. data/doc/classes/Atom/NilCache.html +202 -0
  21. data/doc/classes/Atom/ParseError.html +111 -0
  22. data/doc/classes/Atom/Parsers.html +311 -0
  23. data/doc/classes/Atom/Person.html +130 -0
  24. data/doc/classes/Atom/Rights.html +113 -0
  25. data/doc/classes/Atom/Service.html +298 -0
  26. data/doc/classes/Atom/Source.html +111 -0
  27. data/doc/classes/Atom/Subtitle.html +113 -0
  28. data/doc/classes/Atom/Summary.html +113 -0
  29. data/doc/classes/Atom/Text.html +372 -0
  30. data/doc/classes/Atom/Title.html +113 -0
  31. data/doc/classes/Atom/Tools.html +525 -0
  32. data/doc/classes/Atom/Workspace.html +121 -0
  33. data/doc/classes/Object.html +204 -0
  34. data/doc/classes/XHTML.html +118 -0
  35. data/doc/created.rid +1 -0
  36. data/doc/files/README.html +173 -0
  37. data/doc/files/lib/atom/cache_rb.html +302 -0
  38. data/doc/files/lib/atom/collection_rb.html +109 -0
  39. data/doc/files/lib/atom/element_rb.html +110 -0
  40. data/doc/files/lib/atom/entry_rb.html +111 -0
  41. data/doc/files/lib/atom/feed_rb.html +111 -0
  42. data/doc/files/lib/atom/http_rb.html +114 -0
  43. data/doc/files/lib/atom/service_rb.html +112 -0
  44. data/doc/files/lib/atom/text_rb.html +109 -0
  45. data/doc/files/lib/atom/tools_rb.html +108 -0
  46. data/doc/fr_class_index.html +59 -0
  47. data/doc/fr_file_index.html +36 -0
  48. data/doc/fr_method_index.html +137 -0
  49. data/doc/index.html +24 -0
  50. data/doc/rdoc-style.css +208 -0
  51. data/lib/atom/cache.rb +1 -1
  52. data/lib/atom/http.rb +2 -2
  53. data/lib/atom/text.rb +15 -6
  54. data/spec/entry_spec.rb +12 -1
  55. data/spec/feed_spec.rb +20 -1
  56. data/spec/fixtures/contacts-feed.xml +34 -0
  57. data/spec/fixtures/entry-w-xml.xml +24 -0
  58. metadata +68 -5
@@ -0,0 +1,311 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Atom::Parsers</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">Atom::Parsers</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/atom/element_rb.html">
59
+ lib/atom/element.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+
76
+
77
+ </div>
78
+
79
+ <div id="method-list">
80
+ <h3 class="section-bar">Methods</h3>
81
+
82
+ <div class="name-list">
83
+ <a href="#M000012">on_parse</a>&nbsp;&nbsp;
84
+ <a href="#M000013">on_parse_attr</a>&nbsp;&nbsp;
85
+ <a href="#M000014">on_parse_many</a>&nbsp;&nbsp;
86
+ <a href="#M000015">on_parse_root</a>&nbsp;&nbsp;
87
+ <a href="#M000016">parse_plain</a>&nbsp;&nbsp;
88
+ </div>
89
+ </div>
90
+
91
+ </div>
92
+
93
+
94
+ <!-- if includes -->
95
+
96
+ <div id="section">
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ <!-- if method_list -->
106
+ <div id="methods">
107
+ <h3 class="section-bar">Public Instance methods</h3>
108
+
109
+ <div id="method-M000012" class="method-detail">
110
+ <a name="M000012"></a>
111
+
112
+ <div class="method-heading">
113
+ <a href="#M000012" class="method-signature">
114
+ <span class="method-name">on_parse</span><span class="method-args">(name_pair, &amp;block)</span>
115
+ </a>
116
+ </div>
117
+
118
+ <div class="method-description">
119
+ <p>
120
+ adds a parser that calls the given block for a single element that matches
121
+ the given name and namespace (if it exists)
122
+ </p>
123
+ <p><a class="source-toggle" href="#"
124
+ onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
125
+ <div class="method-source-code" id="M000012-source">
126
+ <pre>
127
+ <span class="ruby-comment cmt"># File lib/atom/element.rb, line 65</span>
128
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_parse</span> <span class="ruby-identifier">name_pair</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
129
+ <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name_pair</span>
130
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">||=</span> []
131
+
132
+ <span class="ruby-identifier">process</span> = <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
133
+ <span class="ruby-identifier">el</span> = <span class="ruby-identifier">e</span>.<span class="ruby-identifier">get_elem</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span>)
134
+
135
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">el</span>
136
+ <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span> <span class="ruby-identifier">e</span>, <span class="ruby-identifier">el</span>
137
+
138
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">extensions</span>.<span class="ruby-identifier">delete_if</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
139
+ <span class="ruby-identifier">c</span>.<span class="ruby-identifier">namespace</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uri</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>
140
+ <span class="ruby-keyword kw">end</span>
141
+ <span class="ruby-keyword kw">end</span>
142
+ <span class="ruby-keyword kw">end</span>
143
+
144
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">process</span>
145
+ <span class="ruby-keyword kw">end</span>
146
+ </pre>
147
+ </div>
148
+ </div>
149
+ </div>
150
+
151
+ <div id="method-M000013" class="method-detail">
152
+ <a name="M000013"></a>
153
+
154
+ <div class="method-heading">
155
+ <a href="#M000013" class="method-signature">
156
+ <span class="method-name">on_parse_attr</span><span class="method-args">(name_pair, &amp;block)</span>
157
+ </a>
158
+ </div>
159
+
160
+ <div class="method-description">
161
+ <p>
162
+ adds a parser that calls the given block for the attribute that matches the
163
+ given name (if it exists)
164
+ </p>
165
+ <p><a class="source-toggle" href="#"
166
+ onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
167
+ <div class="method-source-code" id="M000013-source">
168
+ <pre>
169
+ <span class="ruby-comment cmt"># File lib/atom/element.rb, line 86</span>
170
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_parse_attr</span> <span class="ruby-identifier">name_pair</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
171
+ <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name_pair</span>
172
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">||=</span> []
173
+
174
+ <span class="ruby-identifier">process</span> = <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
175
+ <span class="ruby-identifier">x</span> = <span class="ruby-identifier">e</span>.<span class="ruby-identifier">get_atom_attrb</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">name</span>)
176
+
177
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">x</span>
178
+ <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span> <span class="ruby-identifier">e</span>, <span class="ruby-identifier">x</span>
179
+
180
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">extensions</span>.<span class="ruby-identifier">attributes</span>.<span class="ruby-identifier">delete</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>
181
+ <span class="ruby-keyword kw">end</span>
182
+ <span class="ruby-keyword kw">end</span>
183
+
184
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">process</span>
185
+ <span class="ruby-keyword kw">end</span>
186
+ </pre>
187
+ </div>
188
+ </div>
189
+ </div>
190
+
191
+ <div id="method-M000014" class="method-detail">
192
+ <a name="M000014"></a>
193
+
194
+ <div class="method-heading">
195
+ <a href="#M000014" class="method-signature">
196
+ <span class="method-name">on_parse_many</span><span class="method-args">(name_pair, &amp;block)</span>
197
+ </a>
198
+ </div>
199
+
200
+ <div class="method-description">
201
+ <p>
202
+ adds a parser that calls the given block for all elements that match the
203
+ given name and namespace
204
+ </p>
205
+ <p><a class="source-toggle" href="#"
206
+ onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
207
+ <div class="method-source-code" id="M000014-source">
208
+ <pre>
209
+ <span class="ruby-comment cmt"># File lib/atom/element.rb, line 105</span>
210
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_parse_many</span> <span class="ruby-identifier">name_pair</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
211
+ <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name_pair</span>
212
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">||=</span> []
213
+
214
+ <span class="ruby-identifier">process</span> = <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
215
+ <span class="ruby-identifier">els</span> = <span class="ruby-identifier">e</span>.<span class="ruby-identifier">get_elems</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span>)
216
+
217
+ <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">els</span>.<span class="ruby-identifier">empty?</span>
218
+ <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span> <span class="ruby-identifier">e</span>, <span class="ruby-identifier">els</span>
219
+
220
+ <span class="ruby-identifier">els</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">el</span><span class="ruby-operator">|</span>
221
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">extensions</span>.<span class="ruby-identifier">delete_if</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">namespace</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uri</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">name</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span> }
222
+ <span class="ruby-keyword kw">end</span>
223
+ <span class="ruby-keyword kw">end</span>
224
+ <span class="ruby-keyword kw">end</span>
225
+
226
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">process</span>
227
+ <span class="ruby-keyword kw">end</span>
228
+ </pre>
229
+ </div>
230
+ </div>
231
+ </div>
232
+
233
+ <div id="method-M000015" class="method-detail">
234
+ <a name="M000015"></a>
235
+
236
+ <div class="method-heading">
237
+ <a href="#M000015" class="method-signature">
238
+ <span class="method-name">on_parse_root</span><span class="method-args">(&amp;block)</span>
239
+ </a>
240
+ </div>
241
+
242
+ <div class="method-description">
243
+ <p>
244
+ adds a parser that calls the given block for this element
245
+ </p>
246
+ <p><a class="source-toggle" href="#"
247
+ onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
248
+ <div class="method-source-code" id="M000015-source">
249
+ <pre>
250
+ <span class="ruby-comment cmt"># File lib/atom/element.rb, line 125</span>
251
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_parse_root</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>
252
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">||=</span> []
253
+
254
+ <span class="ruby-identifier">process</span> = <span class="ruby-identifier">lambda</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
255
+ <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span> <span class="ruby-identifier">e</span>, <span class="ruby-identifier">x</span>
256
+
257
+ <span class="ruby-identifier">x</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">el</span><span class="ruby-operator">|</span>
258
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">extensions</span>.<span class="ruby-identifier">clear</span>
259
+ <span class="ruby-keyword kw">end</span>
260
+ <span class="ruby-keyword kw">end</span>
261
+
262
+ <span class="ruby-ivar">@on_parse</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">process</span>
263
+ <span class="ruby-keyword kw">end</span>
264
+ </pre>
265
+ </div>
266
+ </div>
267
+ </div>
268
+
269
+ <div id="method-M000016" class="method-detail">
270
+ <a name="M000016"></a>
271
+
272
+ <div class="method-heading">
273
+ <a href="#M000016" class="method-signature">
274
+ <span class="method-name">parse_plain</span><span class="method-args">(uri, name)</span>
275
+ </a>
276
+ </div>
277
+
278
+ <div class="method-description">
279
+ <p>
280
+ parses the text content of an element named &#8216;name&#8217; into an
281
+ attribute on this <a href="Element.html">Element</a> named
282
+ &#8216;name&#8216;
283
+ </p>
284
+ <p><a class="source-toggle" href="#"
285
+ onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
286
+ <div class="method-source-code" id="M000016-source">
287
+ <pre>
288
+ <span class="ruby-comment cmt"># File lib/atom/element.rb, line 141</span>
289
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">parse_plain</span> <span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span>
290
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">on_parse</span> [<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">name</span>] <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>,<span class="ruby-identifier">x</span><span class="ruby-operator">|</span>
291
+ <span class="ruby-identifier">e</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">text</span>)
292
+ <span class="ruby-keyword kw">end</span>
293
+ <span class="ruby-keyword kw">end</span>
294
+ </pre>
295
+ </div>
296
+ </div>
297
+ </div>
298
+
299
+
300
+ </div>
301
+
302
+
303
+ </div>
304
+
305
+
306
+ <div id="validator-badges">
307
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
308
+ </div>
309
+
310
+ </body>
311
+ </html>
@@ -0,0 +1,130 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Atom::Person</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Atom::Person</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/atom/element_rb.html">
59
+ lib/atom/element.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Element.html">
69
+ Atom::Element
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ A person construct has the following child elements:
86
+ </p>
87
+ <table>
88
+ <tr><td valign="top">name (required):</td><td>a human-readable name
89
+
90
+ </td></tr>
91
+ <tr><td valign="top">uri:</td><td>an IRI associated with the person
92
+
93
+ </td></tr>
94
+ <tr><td valign="top">email:</td><td>an email address associated with the person
95
+
96
+ </td></tr>
97
+ </table>
98
+
99
+ </div>
100
+
101
+
102
+ </div>
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <!-- if includes -->
109
+
110
+ <div id="section">
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ <!-- if method_list -->
120
+
121
+
122
+ </div>
123
+
124
+
125
+ <div id="validator-badges">
126
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
127
+ </div>
128
+
129
+ </body>
130
+ </html>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: Atom::Rights</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Atom::Rights</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/atom/text_rb.html">
59
+ lib/atom/text.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="Text.html">
69
+ Atom::Text
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+
84
+
85
+ </div>
86
+
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+
104
+
105
+ </div>
106
+
107
+
108
+ <div id="validator-badges">
109
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
+ </div>
111
+
112
+ </body>
113
+ </html>