icalendar 0.98 → 1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/docs/api/classes/HashAttrs.html +15 -15
- data/docs/api/classes/HashAttrs.src/M000070.html +12 -5
- data/docs/api/classes/HashAttrs.src/{M000069.html → M000071.html} +0 -0
- data/docs/api/classes/HashAttrs.src/M000072.html +19 -0
- data/docs/api/classes/Icalendar/Alarm.html +5 -29
- data/docs/api/classes/Icalendar/Alarm.src/{M000020.html → M000021.html} +0 -0
- data/docs/api/classes/Icalendar/Calendar.html +58 -57
- data/docs/api/classes/Icalendar/Calendar.src/M000056.html +9 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000057.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000058.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000059.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000060.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000061.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000062.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000063.html +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000064.html +4 -5
- data/docs/api/classes/Icalendar/Calendar.src/{M000055.html → M000065.html} +4 -4
- data/docs/api/classes/Icalendar/Calendar.src/M000066.html +19 -0
- data/docs/api/classes/Icalendar/Component.html +61 -25
- data/docs/api/classes/Icalendar/Component.src/M000029.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000030.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000035.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000040.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000041.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000042.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000043.html +22 -12
- data/docs/api/classes/Icalendar/Component.src/M000044.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000045.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000046.html +1 -1
- data/docs/api/classes/Icalendar/Component.src/M000047.html +4 -4
- data/docs/api/classes/Icalendar/Component.src/M000048.html +4 -12
- data/docs/api/classes/Icalendar/Component.src/M000049.html +10 -14
- data/docs/api/classes/Icalendar/Component.src/M000050.html +14 -7
- data/docs/api/classes/Icalendar/Component.src/M000051.html +19 -0
- data/docs/api/classes/Icalendar/Component.src/M000052.html +22 -0
- data/docs/api/classes/Icalendar/Daylight.html +5 -5
- data/docs/api/classes/Icalendar/Daylight.src/{M000051.html → M000053.html} +1 -1
- data/docs/api/classes/Icalendar/Event.html +10 -34
- data/docs/api/classes/Icalendar/Event.src/{M000052.html → M000054.html} +0 -0
- data/docs/api/classes/Icalendar/Event.src/{M000053.html → M000055.html} +0 -0
- data/docs/api/classes/Icalendar/Freebusy.html +5 -44
- data/docs/api/classes/Icalendar/Freebusy.src/{M000065.html → M000067.html} +0 -0
- data/docs/api/classes/Icalendar/Geo.html +2 -2
- data/docs/api/classes/Icalendar/Journal.html +0 -15
- data/docs/api/classes/Icalendar/Parameter.html +5 -5
- data/docs/api/classes/Icalendar/Parameter.src/{M000066.html → M000068.html} +0 -0
- data/docs/api/classes/Icalendar/Parser.src/M000019.html +1 -1
- data/docs/api/classes/Icalendar/Standard.src/M000015.html +1 -1
- data/docs/api/classes/Icalendar/Timezone.src/M000027.html +3 -1
- data/docs/api/classes/Icalendar/Timezone.src/M000028.html +1 -1
- data/docs/api/classes/Icalendar/Todo.html +5 -20
- data/docs/api/classes/Icalendar/Todo.src/{M000021.html → M000020.html} +0 -0
- data/docs/api/classes/Object.html +7 -5
- data/docs/api/classes/URI/Generic.html +5 -5
- data/docs/api/classes/URI/Generic.src/{M000067.html → M000069.html} +0 -0
- data/docs/api/created.rid +1 -1
- data/docs/api/files/COPYING.html +1 -1
- data/docs/api/files/GPL.html +3 -3
- data/docs/api/files/README.html +5 -5
- data/docs/api/files/lib/hash_attrs_rb.html +1 -1
- data/docs/api/files/lib/icalendar/base_rb.html +1 -1
- data/docs/api/files/lib/icalendar/calendar_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/alarm_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/event_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/freebusy_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/journal_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/timezone_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component/todo_rb.html +1 -1
- data/docs/api/files/lib/icalendar/component_rb.html +1 -1
- data/docs/api/files/lib/icalendar/conversions_rb.html +1 -1
- data/docs/api/files/lib/icalendar/helpers_rb.html +1 -1
- data/docs/api/files/lib/icalendar/parameter_rb.html +1 -1
- data/docs/api/files/lib/icalendar/parser_rb.html +1 -1
- data/docs/api/files/lib/icalendar_rb.html +1 -1
- data/docs/api/files/lib/meta_rb.html +1 -1
- data/docs/api/fr_method_index.html +32 -30
- data/lib/icalendar/component/alarm.rb +1 -1
- data/lib/icalendar/component/event.rb +1 -1
- data/lib/icalendar/component/freebusy.rb +2 -2
- data/lib/icalendar/component/journal.rb +1 -1
- data/lib/icalendar/component/timezone.rb +3 -1
- data/lib/icalendar/component/todo.rb +1 -1
- data/lib/icalendar/component.rb +36 -14
- data/lib/icalendar/parser.rb +1 -2
- metadata +34 -32
- data/docs/api/classes/HashAttrs.src/M000068.html +0 -26
- data/docs/api/classes/Icalendar/Calendar.src/M000054.html +0 -23
data/Rakefile
CHANGED
|
@@ -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="#
|
|
90
|
-
<a href="#
|
|
91
|
-
<a href="#
|
|
89
|
+
<a href="#M000072">hash_accessor</a>
|
|
90
|
+
<a href="#M000070">hash_reader</a>
|
|
91
|
+
<a href="#M000071">hash_writer</a>
|
|
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-
|
|
114
|
-
<a name="
|
|
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/
|
|
118
|
-
onclick="popupCode('HashAttrs.src/
|
|
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-
|
|
128
|
-
<a name="
|
|
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/
|
|
132
|
-
onclick="popupCode('HashAttrs.src/
|
|
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-
|
|
142
|
-
<a name="
|
|
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/
|
|
146
|
-
onclick="popupCode('HashAttrs.src/
|
|
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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-identifier">
|
|
16
|
-
|
|
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>
|
|
File without changes
|
|
@@ -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="#
|
|
100
|
+
<a href="#M000021">new</a>
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
@@ -140,30 +140,6 @@ Single properties
|
|
|
140
140
|
<td class="context-item-value"> </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"> </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"> </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"> </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"> </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-
|
|
229
|
-
<a name="
|
|
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/
|
|
233
|
-
onclick="popupCode('Alarm.src/
|
|
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>
|
|
File without changes
|
|
@@ -88,17 +88,17 @@
|
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
|
89
89
|
|
|
90
90
|
<div class="name-list">
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
93
|
-
<a href="#
|
|
94
|
-
<a href="#
|
|
95
|
-
<a href="#
|
|
96
|
-
<a href="#
|
|
97
|
-
<a href="#
|
|
98
|
-
<a href="#
|
|
99
|
-
<a href="#
|
|
100
|
-
<a href="#
|
|
101
|
-
<a href="#
|
|
91
|
+
<a href="#M000057">event</a>
|
|
92
|
+
<a href="#M000058">find_event</a>
|
|
93
|
+
<a href="#M000064">find_freebusy</a>
|
|
94
|
+
<a href="#M000062">find_journal</a>
|
|
95
|
+
<a href="#M000060">find_todo</a>
|
|
96
|
+
<a href="#M000063">freebusy</a>
|
|
97
|
+
<a href="#M000061">journal</a>
|
|
98
|
+
<a href="#M000056">new</a>
|
|
99
|
+
<a href="#M000066">publish</a>
|
|
100
|
+
<a href="#M000065">timezone</a>
|
|
101
|
+
<a href="#M000059">todo</a>
|
|
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-
|
|
187
|
-
<a name="
|
|
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/
|
|
191
|
-
onclick="popupCode('Calendar.src/
|
|
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-
|
|
203
|
-
<a name="
|
|
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/
|
|
207
|
-
onclick="popupCode('Calendar.src/
|
|
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">(&block)</span>
|
|
209
209
|
</a>
|
|
210
210
|
</div>
|
|
@@ -213,12 +213,12 @@
|
|
|
213
213
|
</div>
|
|
214
214
|
</div>
|
|
215
215
|
|
|
216
|
-
<div id="method-
|
|
217
|
-
<a name="
|
|
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/
|
|
221
|
-
onclick="popupCode('Calendar.src/
|
|
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-
|
|
231
|
-
<a name="
|
|
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/
|
|
235
|
-
onclick="popupCode('Calendar.src/
|
|
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-
|
|
245
|
-
<a name="
|
|
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/
|
|
249
|
-
onclick="popupCode('Calendar.src/
|
|
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-
|
|
259
|
-
<a name="
|
|
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/
|
|
263
|
-
onclick="popupCode('Calendar.src/
|
|
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-
|
|
273
|
-
<a name="
|
|
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/
|
|
277
|
-
onclick="popupCode('Calendar.src/
|
|
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">(&block)</span>
|
|
279
279
|
</a>
|
|
280
280
|
</div>
|
|
@@ -283,12 +283,12 @@
|
|
|
283
283
|
</div>
|
|
284
284
|
</div>
|
|
285
285
|
|
|
286
|
-
<div id="method-
|
|
287
|
-
<a name="
|
|
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/
|
|
291
|
-
onclick="popupCode('Calendar.src/
|
|
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">(&block)</span>
|
|
293
293
|
</a>
|
|
294
294
|
</div>
|
|
@@ -297,12 +297,12 @@
|
|
|
297
297
|
</div>
|
|
298
298
|
</div>
|
|
299
299
|
|
|
300
|
-
<div id="method-
|
|
301
|
-
<a name="
|
|
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/
|
|
305
|
-
onclick="popupCode('Calendar.src/
|
|
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 "PUBLISH" method in a "VEVENT" calendar component
|
|
|
313
313
|
is an unsolicited posting of an iCalendar object. Any CU may add published
|
|
314
314
|
components to their calendar. The "Organizer" MUST be present in
|
|
315
315
|
a published iCalendar component. "Attendees" MUST NOT be present.
|
|
316
|
-
Its expected usage is for encapsulating an arbitrary
|
|
317
|
-
|
|
316
|
+
Its expected usage is for encapsulating an arbitrary <a
|
|
317
|
+
href="Calendar.html#M000057">event</a> as an iCalendar object. The
|
|
318
|
+
"Organizer" may subsequently update (with another
|
|
318
319
|
"PUBLISH" method), add instances to (with an "ADD"
|
|
319
320
|
method), or cancel (with a "CANCEL" method) a previously
|
|
320
321
|
published "VEVENT" calendar component.
|
|
@@ -322,12 +323,12 @@ published "VEVENT" calendar component.
|
|
|
322
323
|
</div>
|
|
323
324
|
</div>
|
|
324
325
|
|
|
325
|
-
<div id="method-
|
|
326
|
-
<a name="
|
|
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/
|
|
330
|
-
onclick="popupCode('Calendar.src/
|
|
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">(&block)</span>
|
|
332
333
|
</a>
|
|
333
334
|
</div>
|
|
@@ -336,12 +337,12 @@ published "VEVENT" calendar component.
|
|
|
336
337
|
</div>
|
|
337
338
|
</div>
|
|
338
339
|
|
|
339
|
-
<div id="method-
|
|
340
|
-
<a name="
|
|
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/
|
|
344
|
-
onclick="popupCode('Calendar.src/
|
|
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">(&block)</span>
|
|
346
347
|
</a>
|
|
347
348
|
</div>
|
|
@@ -5,14 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
|
-
<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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-keyword kw">
|
|
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">"VCALENDAR"</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">"GREGORIAN"</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">"iCalendar-Ruby"</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">"2.0"</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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-identifier">e</span> = <span class="ruby-constant">
|
|
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">&</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">&</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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">
|
|
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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-identifier">e</span> = <span class="ruby-constant">
|
|
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">&</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">&</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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">
|
|
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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-identifier">e</span> = <span class="ruby-constant">
|
|
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">&</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">&</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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">
|
|
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>
|
|
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
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">
|
|
15
|
-
<span class="ruby-identifier">e</span> = <span class="ruby-constant">
|
|
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">&</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">&</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
|