icalendar 0.98 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/Rakefile +1 -1
  2. data/docs/api/classes/HashAttrs.html +15 -15
  3. data/docs/api/classes/HashAttrs.src/M000070.html +12 -5
  4. data/docs/api/classes/HashAttrs.src/{M000069.html → M000071.html} +0 -0
  5. data/docs/api/classes/HashAttrs.src/M000072.html +19 -0
  6. data/docs/api/classes/Icalendar/Alarm.html +5 -29
  7. data/docs/api/classes/Icalendar/Alarm.src/{M000020.html → M000021.html} +0 -0
  8. data/docs/api/classes/Icalendar/Calendar.html +58 -57
  9. data/docs/api/classes/Icalendar/Calendar.src/M000056.html +9 -4
  10. data/docs/api/classes/Icalendar/Calendar.src/M000057.html +4 -4
  11. data/docs/api/classes/Icalendar/Calendar.src/M000058.html +4 -4
  12. data/docs/api/classes/Icalendar/Calendar.src/M000059.html +4 -4
  13. data/docs/api/classes/Icalendar/Calendar.src/M000060.html +4 -4
  14. data/docs/api/classes/Icalendar/Calendar.src/M000061.html +4 -4
  15. data/docs/api/classes/Icalendar/Calendar.src/M000062.html +4 -4
  16. data/docs/api/classes/Icalendar/Calendar.src/M000063.html +4 -4
  17. data/docs/api/classes/Icalendar/Calendar.src/M000064.html +4 -5
  18. data/docs/api/classes/Icalendar/Calendar.src/{M000055.html → M000065.html} +4 -4
  19. data/docs/api/classes/Icalendar/Calendar.src/M000066.html +19 -0
  20. data/docs/api/classes/Icalendar/Component.html +61 -25
  21. data/docs/api/classes/Icalendar/Component.src/M000029.html +1 -1
  22. data/docs/api/classes/Icalendar/Component.src/M000030.html +1 -1
  23. data/docs/api/classes/Icalendar/Component.src/M000035.html +1 -1
  24. data/docs/api/classes/Icalendar/Component.src/M000040.html +1 -1
  25. data/docs/api/classes/Icalendar/Component.src/M000041.html +1 -1
  26. data/docs/api/classes/Icalendar/Component.src/M000042.html +1 -1
  27. data/docs/api/classes/Icalendar/Component.src/M000043.html +22 -12
  28. data/docs/api/classes/Icalendar/Component.src/M000044.html +1 -1
  29. data/docs/api/classes/Icalendar/Component.src/M000045.html +1 -1
  30. data/docs/api/classes/Icalendar/Component.src/M000046.html +1 -1
  31. data/docs/api/classes/Icalendar/Component.src/M000047.html +4 -4
  32. data/docs/api/classes/Icalendar/Component.src/M000048.html +4 -12
  33. data/docs/api/classes/Icalendar/Component.src/M000049.html +10 -14
  34. data/docs/api/classes/Icalendar/Component.src/M000050.html +14 -7
  35. data/docs/api/classes/Icalendar/Component.src/M000051.html +19 -0
  36. data/docs/api/classes/Icalendar/Component.src/M000052.html +22 -0
  37. data/docs/api/classes/Icalendar/Daylight.html +5 -5
  38. data/docs/api/classes/Icalendar/Daylight.src/{M000051.html → M000053.html} +1 -1
  39. data/docs/api/classes/Icalendar/Event.html +10 -34
  40. data/docs/api/classes/Icalendar/Event.src/{M000052.html → M000054.html} +0 -0
  41. data/docs/api/classes/Icalendar/Event.src/{M000053.html → M000055.html} +0 -0
  42. data/docs/api/classes/Icalendar/Freebusy.html +5 -44
  43. data/docs/api/classes/Icalendar/Freebusy.src/{M000065.html → M000067.html} +0 -0
  44. data/docs/api/classes/Icalendar/Geo.html +2 -2
  45. data/docs/api/classes/Icalendar/Journal.html +0 -15
  46. data/docs/api/classes/Icalendar/Parameter.html +5 -5
  47. data/docs/api/classes/Icalendar/Parameter.src/{M000066.html → M000068.html} +0 -0
  48. data/docs/api/classes/Icalendar/Parser.src/M000019.html +1 -1
  49. data/docs/api/classes/Icalendar/Standard.src/M000015.html +1 -1
  50. data/docs/api/classes/Icalendar/Timezone.src/M000027.html +3 -1
  51. data/docs/api/classes/Icalendar/Timezone.src/M000028.html +1 -1
  52. data/docs/api/classes/Icalendar/Todo.html +5 -20
  53. data/docs/api/classes/Icalendar/Todo.src/{M000021.html → M000020.html} +0 -0
  54. data/docs/api/classes/Object.html +7 -5
  55. data/docs/api/classes/URI/Generic.html +5 -5
  56. data/docs/api/classes/URI/Generic.src/{M000067.html → M000069.html} +0 -0
  57. data/docs/api/created.rid +1 -1
  58. data/docs/api/files/COPYING.html +1 -1
  59. data/docs/api/files/GPL.html +3 -3
  60. data/docs/api/files/README.html +5 -5
  61. data/docs/api/files/lib/hash_attrs_rb.html +1 -1
  62. data/docs/api/files/lib/icalendar/base_rb.html +1 -1
  63. data/docs/api/files/lib/icalendar/calendar_rb.html +1 -1
  64. data/docs/api/files/lib/icalendar/component/alarm_rb.html +1 -1
  65. data/docs/api/files/lib/icalendar/component/event_rb.html +1 -1
  66. data/docs/api/files/lib/icalendar/component/freebusy_rb.html +1 -1
  67. data/docs/api/files/lib/icalendar/component/journal_rb.html +1 -1
  68. data/docs/api/files/lib/icalendar/component/timezone_rb.html +1 -1
  69. data/docs/api/files/lib/icalendar/component/todo_rb.html +1 -1
  70. data/docs/api/files/lib/icalendar/component_rb.html +1 -1
  71. data/docs/api/files/lib/icalendar/conversions_rb.html +1 -1
  72. data/docs/api/files/lib/icalendar/helpers_rb.html +1 -1
  73. data/docs/api/files/lib/icalendar/parameter_rb.html +1 -1
  74. data/docs/api/files/lib/icalendar/parser_rb.html +1 -1
  75. data/docs/api/files/lib/icalendar_rb.html +1 -1
  76. data/docs/api/files/lib/meta_rb.html +1 -1
  77. data/docs/api/fr_method_index.html +32 -30
  78. data/lib/icalendar/component/alarm.rb +1 -1
  79. data/lib/icalendar/component/event.rb +1 -1
  80. data/lib/icalendar/component/freebusy.rb +2 -2
  81. data/lib/icalendar/component/journal.rb +1 -1
  82. data/lib/icalendar/component/timezone.rb +3 -1
  83. data/lib/icalendar/component/todo.rb +1 -1
  84. data/lib/icalendar/component.rb +36 -14
  85. data/lib/icalendar/parser.rb +1 -2
  86. metadata +34 -32
  87. data/docs/api/classes/HashAttrs.src/M000068.html +0 -26
  88. data/docs/api/classes/Icalendar/Calendar.src/M000054.html +0 -23
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/rdoctask'
5
5
  require 'rake/clean'
6
6
  require 'rake/contrib/sshpublisher'
7
7
 
8
- PKG_VERSION = "0.98"
8
+ PKG_VERSION = "1.0"
9
9
 
10
10
  $VERBOSE = nil
11
11
  TEST_CHANGES_SINCE = Time.now - 600 # Recent tests = changed in last 10 minutes
@@ -86,9 +86,9 @@ A module which adds some generators for hash based accessors.
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000070">hash_accessor</a>&nbsp;&nbsp;
90
- <a href="#M000068">hash_reader</a>&nbsp;&nbsp;
91
- <a href="#M000069">hash_writer</a>&nbsp;&nbsp;
89
+ <a href="#M000072">hash_accessor</a>&nbsp;&nbsp;
90
+ <a href="#M000070">hash_reader</a>&nbsp;&nbsp;
91
+ <a href="#M000071">hash_writer</a>&nbsp;&nbsp;
92
92
  </div>
93
93
  </div>
94
94
 
@@ -110,12 +110,12 @@ A module which adds some generators for hash based accessors.
110
110
  <div id="methods">
111
111
  <h3 class="section-bar">Public Instance methods</h3>
112
112
 
113
- <div id="method-M000070" class="method-detail">
114
- <a name="M000070"></a>
113
+ <div id="method-M000072" class="method-detail">
114
+ <a name="M000072"></a>
115
115
 
116
116
  <div class="method-heading">
117
- <a href="HashAttrs.src/M000070.html" target="Code" class="method-signature"
118
- onclick="popupCode('HashAttrs.src/M000070.html');return false;">
117
+ <a href="HashAttrs.src/M000072.html" target="Code" class="method-signature"
118
+ onclick="popupCode('HashAttrs.src/M000072.html');return false;">
119
119
  <span class="method-name">hash_accessor</span><span class="method-args">(hash, *syms)</span>
120
120
  </a>
121
121
  </div>
@@ -124,12 +124,12 @@ A module which adds some generators for hash based accessors.
124
124
  </div>
125
125
  </div>
126
126
 
127
- <div id="method-M000068" class="method-detail">
128
- <a name="M000068"></a>
127
+ <div id="method-M000070" class="method-detail">
128
+ <a name="M000070"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="HashAttrs.src/M000068.html" target="Code" class="method-signature"
132
- onclick="popupCode('HashAttrs.src/M000068.html');return false;">
131
+ <a href="HashAttrs.src/M000070.html" target="Code" class="method-signature"
132
+ onclick="popupCode('HashAttrs.src/M000070.html');return false;">
133
133
  <span class="method-name">hash_reader</span><span class="method-args">(hash_sym, syms)</span>
134
134
  </a>
135
135
  </div>
@@ -138,12 +138,12 @@ A module which adds some generators for hash based accessors.
138
138
  </div>
139
139
  </div>
140
140
 
141
- <div id="method-M000069" class="method-detail">
142
- <a name="M000069"></a>
141
+ <div id="method-M000071" class="method-detail">
142
+ <a name="M000071"></a>
143
143
 
144
144
  <div class="method-heading">
145
- <a href="HashAttrs.src/M000069.html" target="Code" class="method-signature"
146
- onclick="popupCode('HashAttrs.src/M000069.html');return false;">
145
+ <a href="HashAttrs.src/M000071.html" target="Code" class="method-signature"
146
+ onclick="popupCode('HashAttrs.src/M000071.html');return false;">
147
147
  <span class="method-name">hash_writer</span><span class="method-args">(hash_sym, syms)</span>
148
148
  </a>
149
149
  </div>
@@ -5,15 +5,22 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>hash_accessor (HashAttrs)</title>
8
+ <title>hash_reader (HashAttrs)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/hash_attrs.rb, line 29</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash_accessor</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
15
- <span class="ruby-identifier">hash_reader</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-identifier">syms</span>)
16
- <span class="ruby-identifier">hash_writer</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-identifier">syms</span>)
13
+ <pre><span class="ruby-comment cmt"># File lib/hash_attrs.rb, line 4</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash_reader</span>(<span class="ruby-identifier">hash_sym</span>, <span class="ruby-identifier">syms</span>)
15
+ <span class="ruby-identifier">syms</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">id</span><span class="ruby-operator">|</span>
16
+ <span class="ruby-identifier">id</span> = <span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span>
17
+ <span class="ruby-identifier">func</span> = <span class="ruby-constant">Proc</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword kw">do</span>
18
+ <span class="ruby-identifier">hash</span> = <span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-identifier">hash_sym</span>)
19
+ <span class="ruby-identifier">hash</span>[<span class="ruby-identifier">id</span>.<span class="ruby-identifier">to_sym</span>]
20
+ <span class="ruby-keyword kw">end</span>
21
+
22
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">:define_method</span>, <span class="ruby-identifier">id</span>, <span class="ruby-identifier">func</span>)
23
+ <span class="ruby-keyword kw">end</span>
17
24
  <span class="ruby-keyword kw">end</span></pre>
18
25
  </body>
19
26
  </html>
@@ -0,0 +1,19 @@
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>
7
+ <head>
8
+ <title>hash_accessor (HashAttrs)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/hash_attrs.rb, line 29</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash_accessor</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">syms</span>)
15
+ <span class="ruby-identifier">hash_reader</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-identifier">syms</span>)
16
+ <span class="ruby-identifier">hash_writer</span>(<span class="ruby-identifier">hash</span>, <span class="ruby-identifier">syms</span>)
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -97,7 +97,7 @@ href="Event.html">Event</a> or an overdue <a href="Todo.html">Todo</a>.
97
97
  <h3 class="section-bar">Methods</h3>
98
98
 
99
99
  <div class="name-list">
100
- <a href="#M000020">new</a>&nbsp;&nbsp;
100
+ <a href="#M000021">new</a>&nbsp;&nbsp;
101
101
  </div>
102
102
  </div>
103
103
 
@@ -140,30 +140,6 @@ Single properties
140
140
  <td class="context-item-value">&nbsp;&nbsp;</td>
141
141
  <td class="context-item-desc"></td>
142
142
  </tr>
143
- <tr class="top-aligned-row context-row">
144
- <td class="context-item-name">attendee</td>
145
- <td class="context-item-value">&nbsp;&nbsp;</td>
146
- <td class="context-item-desc">
147
- Multi properties
148
-
149
- </td>
150
- </tr>
151
- <tr class="top-aligned-row context-row">
152
- <td class="context-item-name">attendee</td>
153
- <td class="context-item-value">&nbsp;&nbsp;</td>
154
- <td class="context-item-desc">
155
- Multi properties
156
-
157
- </td>
158
- </tr>
159
- <tr class="top-aligned-row context-row">
160
- <td class="context-item-name">attendees</td>
161
- <td class="context-item-value">&nbsp;&nbsp;</td>
162
- <td class="context-item-desc">
163
- Multi properties
164
-
165
- </td>
166
- </tr>
167
143
  <tr class="top-aligned-row context-row">
168
144
  <td class="context-item-name">created</td>
169
145
  <td class="context-item-value">&nbsp;&nbsp;</td>
@@ -225,12 +201,12 @@ Single but must appear together
225
201
  <div id="methods">
226
202
  <h3 class="section-bar">Public Class methods</h3>
227
203
 
228
- <div id="method-M000020" class="method-detail">
229
- <a name="M000020"></a>
204
+ <div id="method-M000021" class="method-detail">
205
+ <a name="M000021"></a>
230
206
 
231
207
  <div class="method-heading">
232
- <a href="Alarm.src/M000020.html" target="Code" class="method-signature"
233
- onclick="popupCode('Alarm.src/M000020.html');return false;">
208
+ <a href="Alarm.src/M000021.html" target="Code" class="method-signature"
209
+ onclick="popupCode('Alarm.src/M000021.html');return false;">
234
210
  <span class="method-name">new</span><span class="method-args">()</span>
235
211
  </a>
236
212
  </div>
@@ -88,17 +88,17 @@
88
88
  <h3 class="section-bar">Methods</h3>
89
89
 
90
90
  <div class="name-list">
91
- <a href="#M000055">event</a>&nbsp;&nbsp;
92
- <a href="#M000056">find_event</a>&nbsp;&nbsp;
93
- <a href="#M000062">find_freebusy</a>&nbsp;&nbsp;
94
- <a href="#M000060">find_journal</a>&nbsp;&nbsp;
95
- <a href="#M000058">find_todo</a>&nbsp;&nbsp;
96
- <a href="#M000061">freebusy</a>&nbsp;&nbsp;
97
- <a href="#M000059">journal</a>&nbsp;&nbsp;
98
- <a href="#M000054">new</a>&nbsp;&nbsp;
99
- <a href="#M000064">publish</a>&nbsp;&nbsp;
100
- <a href="#M000063">timezone</a>&nbsp;&nbsp;
101
- <a href="#M000057">todo</a>&nbsp;&nbsp;
91
+ <a href="#M000057">event</a>&nbsp;&nbsp;
92
+ <a href="#M000058">find_event</a>&nbsp;&nbsp;
93
+ <a href="#M000064">find_freebusy</a>&nbsp;&nbsp;
94
+ <a href="#M000062">find_journal</a>&nbsp;&nbsp;
95
+ <a href="#M000060">find_todo</a>&nbsp;&nbsp;
96
+ <a href="#M000063">freebusy</a>&nbsp;&nbsp;
97
+ <a href="#M000061">journal</a>&nbsp;&nbsp;
98
+ <a href="#M000056">new</a>&nbsp;&nbsp;
99
+ <a href="#M000066">publish</a>&nbsp;&nbsp;
100
+ <a href="#M000065">timezone</a>&nbsp;&nbsp;
101
+ <a href="#M000059">todo</a>&nbsp;&nbsp;
102
102
  </div>
103
103
  </div>
104
104
 
@@ -183,12 +183,12 @@
183
183
  <div id="methods">
184
184
  <h3 class="section-bar">Public Class methods</h3>
185
185
 
186
- <div id="method-M000054" class="method-detail">
187
- <a name="M000054"></a>
186
+ <div id="method-M000056" class="method-detail">
187
+ <a name="M000056"></a>
188
188
 
189
189
  <div class="method-heading">
190
- <a href="Calendar.src/M000054.html" target="Code" class="method-signature"
191
- onclick="popupCode('Calendar.src/M000054.html');return false;">
190
+ <a href="Calendar.src/M000056.html" target="Code" class="method-signature"
191
+ onclick="popupCode('Calendar.src/M000056.html');return false;">
192
192
  <span class="method-name">new</span><span class="method-args">()</span>
193
193
  </a>
194
194
  </div>
@@ -199,12 +199,12 @@
199
199
 
200
200
  <h3 class="section-bar">Public Instance methods</h3>
201
201
 
202
- <div id="method-M000055" class="method-detail">
203
- <a name="M000055"></a>
202
+ <div id="method-M000057" class="method-detail">
203
+ <a name="M000057"></a>
204
204
 
205
205
  <div class="method-heading">
206
- <a href="Calendar.src/M000055.html" target="Code" class="method-signature"
207
- onclick="popupCode('Calendar.src/M000055.html');return false;">
206
+ <a href="Calendar.src/M000057.html" target="Code" class="method-signature"
207
+ onclick="popupCode('Calendar.src/M000057.html');return false;">
208
208
  <span class="method-name">event</span><span class="method-args">(&amp;block)</span>
209
209
  </a>
210
210
  </div>
@@ -213,12 +213,12 @@
213
213
  </div>
214
214
  </div>
215
215
 
216
- <div id="method-M000056" class="method-detail">
217
- <a name="M000056"></a>
216
+ <div id="method-M000058" class="method-detail">
217
+ <a name="M000058"></a>
218
218
 
219
219
  <div class="method-heading">
220
- <a href="Calendar.src/M000056.html" target="Code" class="method-signature"
221
- onclick="popupCode('Calendar.src/M000056.html');return false;">
220
+ <a href="Calendar.src/M000058.html" target="Code" class="method-signature"
221
+ onclick="popupCode('Calendar.src/M000058.html');return false;">
222
222
  <span class="method-name">find_event</span><span class="method-args">(uid)</span>
223
223
  </a>
224
224
  </div>
@@ -227,12 +227,12 @@
227
227
  </div>
228
228
  </div>
229
229
 
230
- <div id="method-M000062" class="method-detail">
231
- <a name="M000062"></a>
230
+ <div id="method-M000064" class="method-detail">
231
+ <a name="M000064"></a>
232
232
 
233
233
  <div class="method-heading">
234
- <a href="Calendar.src/M000062.html" target="Code" class="method-signature"
235
- onclick="popupCode('Calendar.src/M000062.html');return false;">
234
+ <a href="Calendar.src/M000064.html" target="Code" class="method-signature"
235
+ onclick="popupCode('Calendar.src/M000064.html');return false;">
236
236
  <span class="method-name">find_freebusy</span><span class="method-args">(uid)</span>
237
237
  </a>
238
238
  </div>
@@ -241,12 +241,12 @@
241
241
  </div>
242
242
  </div>
243
243
 
244
- <div id="method-M000060" class="method-detail">
245
- <a name="M000060"></a>
244
+ <div id="method-M000062" class="method-detail">
245
+ <a name="M000062"></a>
246
246
 
247
247
  <div class="method-heading">
248
- <a href="Calendar.src/M000060.html" target="Code" class="method-signature"
249
- onclick="popupCode('Calendar.src/M000060.html');return false;">
248
+ <a href="Calendar.src/M000062.html" target="Code" class="method-signature"
249
+ onclick="popupCode('Calendar.src/M000062.html');return false;">
250
250
  <span class="method-name">find_journal</span><span class="method-args">(uid)</span>
251
251
  </a>
252
252
  </div>
@@ -255,12 +255,12 @@
255
255
  </div>
256
256
  </div>
257
257
 
258
- <div id="method-M000058" class="method-detail">
259
- <a name="M000058"></a>
258
+ <div id="method-M000060" class="method-detail">
259
+ <a name="M000060"></a>
260
260
 
261
261
  <div class="method-heading">
262
- <a href="Calendar.src/M000058.html" target="Code" class="method-signature"
263
- onclick="popupCode('Calendar.src/M000058.html');return false;">
262
+ <a href="Calendar.src/M000060.html" target="Code" class="method-signature"
263
+ onclick="popupCode('Calendar.src/M000060.html');return false;">
264
264
  <span class="method-name">find_todo</span><span class="method-args">(uid)</span>
265
265
  </a>
266
266
  </div>
@@ -269,12 +269,12 @@
269
269
  </div>
270
270
  </div>
271
271
 
272
- <div id="method-M000061" class="method-detail">
273
- <a name="M000061"></a>
272
+ <div id="method-M000063" class="method-detail">
273
+ <a name="M000063"></a>
274
274
 
275
275
  <div class="method-heading">
276
- <a href="Calendar.src/M000061.html" target="Code" class="method-signature"
277
- onclick="popupCode('Calendar.src/M000061.html');return false;">
276
+ <a href="Calendar.src/M000063.html" target="Code" class="method-signature"
277
+ onclick="popupCode('Calendar.src/M000063.html');return false;">
278
278
  <span class="method-name">freebusy</span><span class="method-args">(&amp;block)</span>
279
279
  </a>
280
280
  </div>
@@ -283,12 +283,12 @@
283
283
  </div>
284
284
  </div>
285
285
 
286
- <div id="method-M000059" class="method-detail">
287
- <a name="M000059"></a>
286
+ <div id="method-M000061" class="method-detail">
287
+ <a name="M000061"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="Calendar.src/M000059.html" target="Code" class="method-signature"
291
- onclick="popupCode('Calendar.src/M000059.html');return false;">
290
+ <a href="Calendar.src/M000061.html" target="Code" class="method-signature"
291
+ onclick="popupCode('Calendar.src/M000061.html');return false;">
292
292
  <span class="method-name">journal</span><span class="method-args">(&amp;block)</span>
293
293
  </a>
294
294
  </div>
@@ -297,12 +297,12 @@
297
297
  </div>
298
298
  </div>
299
299
 
300
- <div id="method-M000064" class="method-detail">
301
- <a name="M000064"></a>
300
+ <div id="method-M000066" class="method-detail">
301
+ <a name="M000066"></a>
302
302
 
303
303
  <div class="method-heading">
304
- <a href="Calendar.src/M000064.html" target="Code" class="method-signature"
305
- onclick="popupCode('Calendar.src/M000064.html');return false;">
304
+ <a href="Calendar.src/M000066.html" target="Code" class="method-signature"
305
+ onclick="popupCode('Calendar.src/M000066.html');return false;">
306
306
  <span class="method-name">publish</span><span class="method-args">()</span>
307
307
  </a>
308
308
  </div>
@@ -313,8 +313,9 @@ The &quot;PUBLISH&quot; method in a &quot;VEVENT&quot; calendar component
313
313
  is an unsolicited posting of an iCalendar object. Any CU may add published
314
314
  components to their calendar. The &quot;Organizer&quot; MUST be present in
315
315
  a published iCalendar component. &quot;Attendees&quot; MUST NOT be present.
316
- Its expected usage is for encapsulating an arbitrary event as an iCalendar
317
- object. The &quot;Organizer&quot; may subsequently update (with another
316
+ Its expected usage is for encapsulating an arbitrary <a
317
+ href="Calendar.html#M000057">event</a> as an iCalendar object. The
318
+ &quot;Organizer&quot; may subsequently update (with another
318
319
  &quot;PUBLISH&quot; method), add instances to (with an &quot;ADD&quot;
319
320
  method), or cancel (with a &quot;CANCEL&quot; method) a previously
320
321
  published &quot;VEVENT&quot; calendar component.
@@ -322,12 +323,12 @@ published &quot;VEVENT&quot; calendar component.
322
323
  </div>
323
324
  </div>
324
325
 
325
- <div id="method-M000063" class="method-detail">
326
- <a name="M000063"></a>
326
+ <div id="method-M000065" class="method-detail">
327
+ <a name="M000065"></a>
327
328
 
328
329
  <div class="method-heading">
329
- <a href="Calendar.src/M000063.html" target="Code" class="method-signature"
330
- onclick="popupCode('Calendar.src/M000063.html');return false;">
330
+ <a href="Calendar.src/M000065.html" target="Code" class="method-signature"
331
+ onclick="popupCode('Calendar.src/M000065.html');return false;">
331
332
  <span class="method-name">timezone</span><span class="method-args">(&amp;block)</span>
332
333
  </a>
333
334
  </div>
@@ -336,12 +337,12 @@ published &quot;VEVENT&quot; calendar component.
336
337
  </div>
337
338
  </div>
338
339
 
339
- <div id="method-M000057" class="method-detail">
340
- <a name="M000057"></a>
340
+ <div id="method-M000059" class="method-detail">
341
+ <a name="M000059"></a>
341
342
 
342
343
  <div class="method-heading">
343
- <a href="Calendar.src/M000057.html" target="Code" class="method-signature"
344
- onclick="popupCode('Calendar.src/M000057.html');return false;">
344
+ <a href="Calendar.src/M000059.html" target="Code" class="method-signature"
345
+ onclick="popupCode('Calendar.src/M000059.html');return false;">
345
346
  <span class="method-name">todo</span><span class="method-args">(&amp;block)</span>
346
347
  </a>
347
348
  </div>
@@ -5,14 +5,19 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>find_event (Icalendar::Calendar)</title>
8
+ <title>new (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 37</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_event</span>(<span class="ruby-identifier">uid</span>)
15
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">events</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 19</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
15
+ <span class="ruby-keyword kw">super</span>(<span class="ruby-value str">&quot;VCALENDAR&quot;</span>)
16
+
17
+ <span class="ruby-comment cmt"># Set some defaults</span>
18
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">calscale</span> = <span class="ruby-value str">&quot;GREGORIAN&quot;</span> <span class="ruby-comment cmt"># Who knows, but this is the only one in the spec.</span>
19
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">prodid</span> = <span class="ruby-value str">&quot;iCalendar-Ruby&quot;</span> <span class="ruby-comment cmt"># Current product... Should be overwritten by apps that use the library</span>
20
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">version</span> = <span class="ruby-value str">&quot;2.0&quot;</span> <span class="ruby-comment cmt"># Version of the specification</span>
16
21
  <span class="ruby-keyword kw">end</span></pre>
17
22
  </body>
18
23
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>todo (Icalendar::Calendar)</title>
8
+ <title>event (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 41</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">todo</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">e</span> = <span class="ruby-constant">Todo</span>.<span class="ruby-identifier">new</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 28</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">event</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ <span class="ruby-identifier">e</span> = <span class="ruby-constant">Event</span>.<span class="ruby-identifier">new</span>
16
16
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add_component</span> <span class="ruby-identifier">e</span>
17
17
 
18
18
  <span class="ruby-identifier">e</span>.<span class="ruby-identifier">instance_eval</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>find_todo (Icalendar::Calendar)</title>
8
+ <title>find_event (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 50</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_todo</span>(<span class="ruby-identifier">uid</span>)
15
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">todos</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 37</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_event</span>(<span class="ruby-identifier">uid</span>)
15
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">events</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
16
16
  <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>journal (Icalendar::Calendar)</title>
8
+ <title>todo (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 54</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">journal</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">e</span> = <span class="ruby-constant">Journal</span>.<span class="ruby-identifier">new</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 41</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">todo</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ <span class="ruby-identifier">e</span> = <span class="ruby-constant">Todo</span>.<span class="ruby-identifier">new</span>
16
16
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add_component</span> <span class="ruby-identifier">e</span>
17
17
 
18
18
  <span class="ruby-identifier">e</span>.<span class="ruby-identifier">instance_eval</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>find_journal (Icalendar::Calendar)</title>
8
+ <title>find_todo (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 63</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_journal</span>(<span class="ruby-identifier">uid</span>)
15
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">journals</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span> <span class="ruby-identifier">j</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 50</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_todo</span>(<span class="ruby-identifier">uid</span>)
15
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">todos</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
16
16
  <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>freebusy (Icalendar::Calendar)</title>
8
+ <title>journal (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 67</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freebusy</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">e</span> = <span class="ruby-constant">Freebusy</span>.<span class="ruby-identifier">new</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 54</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">journal</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ <span class="ruby-identifier">e</span> = <span class="ruby-constant">Journal</span>.<span class="ruby-identifier">new</span>
16
16
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add_component</span> <span class="ruby-identifier">e</span>
17
17
 
18
18
  <span class="ruby-identifier">e</span>.<span class="ruby-identifier">instance_eval</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>find_freebusy (Icalendar::Calendar)</title>
8
+ <title>find_journal (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 76</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_freebusy</span>(<span class="ruby-identifier">uid</span>)
15
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">freebusys</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 63</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">find_journal</span>(<span class="ruby-identifier">uid</span>)
15
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">journals</span>.<span class="ruby-identifier">find</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">j</span><span class="ruby-operator">|</span> <span class="ruby-identifier">j</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">uid</span>}
16
16
  <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>timezone (Icalendar::Calendar)</title>
8
+ <title>freebusy (Icalendar::Calendar)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 80</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">timezone</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
- <span class="ruby-identifier">e</span> = <span class="ruby-constant">Timezone</span>.<span class="ruby-identifier">new</span>
13
+ <pre><span class="ruby-comment cmt"># File lib/icalendar/calendar.rb, line 67</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freebusy</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+ <span class="ruby-identifier">e</span> = <span class="ruby-constant">Freebusy</span>.<span class="ruby-identifier">new</span>
16
16
  <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add_component</span> <span class="ruby-identifier">e</span>
17
17
 
18
18
  <span class="ruby-identifier">e</span>.<span class="ruby-identifier">instance_eval</span> <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>