icalendar 0.95 → 0.96

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/README +9 -4
  2. data/Rakefile +4 -3
  3. data/docs/examples/parse_cal.rb +1 -1
  4. data/lib/icalendar/calendar.rb +15 -51
  5. data/lib/icalendar/component.rb +75 -21
  6. data/lib/icalendar/component/event.rb +60 -11
  7. data/lib/icalendar/component/timezone.rb +31 -7
  8. data/lib/icalendar/component/todo.rb +1 -1
  9. data/lib/icalendar/conversions.rb +3 -1
  10. data/lib/icalendar/foo.rb +394 -0
  11. data/lib/icalendar/parser.rb +29 -22
  12. data/test/calendar_test.rb +37 -37
  13. data/test/component/event_test.rb +1 -1
  14. data/test/component_test.rb +56 -56
  15. data/test/interactive.rb +15 -0
  16. data/test/life.ics +45 -0
  17. data/test/parameter_test.rb +20 -0
  18. metadata +23 -70
  19. data/docs/api/classes/Array.html +0 -146
  20. data/docs/api/classes/Date.html +0 -157
  21. data/docs/api/classes/DateTime.html +0 -178
  22. data/docs/api/classes/Fixnum.html +0 -146
  23. data/docs/api/classes/Float.html +0 -146
  24. data/docs/api/classes/Icalendar/Alarm.html +0 -184
  25. data/docs/api/classes/Icalendar/Base.html +0 -118
  26. data/docs/api/classes/Icalendar/Calendar.html +0 -411
  27. data/docs/api/classes/Icalendar/Component.html +0 -306
  28. data/docs/api/classes/Icalendar/DateProp.html +0 -187
  29. data/docs/api/classes/Icalendar/DateProp/ClassMethods.html +0 -195
  30. data/docs/api/classes/Icalendar/Event.html +0 -202
  31. data/docs/api/classes/Icalendar/Freebusy.html +0 -157
  32. data/docs/api/classes/Icalendar/InvalidComponentClass.html +0 -117
  33. data/docs/api/classes/Icalendar/InvalidPropertyValue.html +0 -117
  34. data/docs/api/classes/Icalendar/Journal.html +0 -190
  35. data/docs/api/classes/Icalendar/Parameter.html +0 -166
  36. data/docs/api/classes/Icalendar/Parser.html +0 -447
  37. data/docs/api/classes/Icalendar/Timezone.html +0 -197
  38. data/docs/api/classes/Icalendar/Todo.html +0 -199
  39. data/docs/api/classes/String.html +0 -160
  40. data/docs/api/classes/Time.html +0 -161
  41. data/docs/api/created.rid +0 -1
  42. data/docs/api/files/COPYING.html +0 -163
  43. data/docs/api/files/GPL.html +0 -531
  44. data/docs/api/files/README.html +0 -241
  45. data/docs/api/files/lib/icalendar/base_rb.html +0 -108
  46. data/docs/api/files/lib/icalendar/calendar_rb.html +0 -101
  47. data/docs/api/files/lib/icalendar/component/alarm_rb.html +0 -101
  48. data/docs/api/files/lib/icalendar/component/event_rb.html +0 -101
  49. data/docs/api/files/lib/icalendar/component/freebusy_rb.html +0 -101
  50. data/docs/api/files/lib/icalendar/component/journal_rb.html +0 -101
  51. data/docs/api/files/lib/icalendar/component/timezone_rb.html +0 -101
  52. data/docs/api/files/lib/icalendar/component/todo_rb.html +0 -101
  53. data/docs/api/files/lib/icalendar/component_rb.html +0 -101
  54. data/docs/api/files/lib/icalendar/conversions_rb.html +0 -108
  55. data/docs/api/files/lib/icalendar/helpers_rb.html +0 -101
  56. data/docs/api/files/lib/icalendar/parameter_rb.html +0 -101
  57. data/docs/api/files/lib/icalendar/parser_rb.html +0 -109
  58. data/docs/api/files/lib/icalendar_rb.html +0 -118
  59. data/docs/api/fr_class_index.html +0 -48
  60. data/docs/api/fr_file_index.html +0 -43
  61. data/docs/api/fr_method_index.html +0 -63
  62. data/docs/api/index.html +0 -24
  63. data/docs/api/rdoc-style.css +0 -208
  64. data/lib/icalendar/#helpers.rb# +0 -92
@@ -1,195 +0,0 @@
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: Icalendar::DateProp::ClassMethods</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">Icalendar::DateProp::ClassMethods</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/icalendar/helpers_rb.html">
59
- lib/icalendar/helpers.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
- <div id="description">
76
- <p>
77
- This is made a sub-module just so it can be added as class methods rather
78
- than instance methods.
79
- </p>
80
-
81
- </div>
82
-
83
-
84
- </div>
85
-
86
- <div id="method-list">
87
- <h3 class="section-bar">Methods</h3>
88
-
89
- <div class="name-list">
90
- <a href="#M000009">date_property</a>&nbsp;&nbsp;
91
- </div>
92
- </div>
93
-
94
- </div>
95
-
96
-
97
- <!-- if includes -->
98
-
99
- <div id="section">
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
- <!-- if method_list -->
109
- <div id="methods">
110
- <h3 class="section-bar">Public Instance methods</h3>
111
-
112
- <div id="method-M000009" class="method-detail">
113
- <a name="M000009"></a>
114
-
115
- <div class="method-heading">
116
- <a href="#M000009" class="method-signature">
117
- <span class="method-name">date_property</span><span class="method-args">(dp, alias_name = nil)</span>
118
- </a>
119
- </div>
120
-
121
- <div class="method-description">
122
- <p><a class="source-toggle" href="#"
123
- onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
124
- <div class="method-source-code" id="M000009-source">
125
- <pre>
126
- <span class="ruby-comment cmt"># File lib/icalendar/helpers.rb, line 38</span>
127
- 38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">date_property</span>(<span class="ruby-identifier">dp</span>, <span class="ruby-identifier">alias_name</span> = <span class="ruby-keyword kw">nil</span>)
128
- 39: <span class="ruby-identifier">dp</span> = <span class="ruby-node">&quot;#{dp}&quot;</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">downcase</span>
129
- 40: <span class="ruby-identifier">getter</span> = <span class="ruby-identifier">dp</span>
130
- 41: <span class="ruby-identifier">setter</span> = <span class="ruby-node">&quot;#{dp}=&quot;</span>
131
- 42: <span class="ruby-identifier">query</span> = <span class="ruby-node">&quot;#{dp}?&quot;</span>
132
- 43:
133
- 44: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">getter</span>
134
- 45: <span class="ruby-identifier">code</span> = <span class="ruby-value str">&quot;def \#{getter}(*a)\nif a.empty?\n@properties[\#{dp.upcase}]\nelse\nself.\#{dp} = a.first\nend\nend\n&quot;</span>
135
- 46:
136
- 47: <span class="ruby-identifier">module_eval</span> <span class="ruby-identifier">code</span>
137
- 48: <span class="ruby-keyword kw">end</span>
138
- 49:
139
- 50: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">setter</span>
140
- 51: <span class="ruby-identifier">code</span> = <span class="ruby-value str">&quot;def \#{setter} a\n@properties[\#{dp.upcase}] = a\nend\n&quot;</span>
141
- 52:
142
- 53: <span class="ruby-identifier">module_eval</span> <span class="ruby-identifier">code</span>
143
- 54: <span class="ruby-keyword kw">end</span>
144
- 55:
145
- 56: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">instance_methods</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">query</span>
146
- 57: <span class="ruby-identifier">code</span> = <span class="ruby-value str">&quot;def \#{query}\n@properties.has_key?(\#{dp.upcase})\nend\n&quot;</span>
147
- 58:
148
- 59: <span class="ruby-identifier">module_eval</span> <span class="ruby-identifier">code</span>
149
- 60: <span class="ruby-keyword kw">end</span>
150
- 61:
151
- 62: <span class="ruby-comment cmt"># Define the getter</span>
152
- 63: <span class="ruby-identifier">getter</span> = <span class="ruby-node">&quot;get#{property.to_s.capitalize}&quot;</span>
153
- 64: <span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">getter</span>.<span class="ruby-identifier">to_sym</span>) <span class="ruby-keyword kw">do</span>
154
- 65: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;inside getting...&quot;</span>
155
- 66: <span class="ruby-identifier">getDateProperty</span>(<span class="ruby-identifier">property</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">upcase</span>)
156
- 67: <span class="ruby-keyword kw">end</span>
157
- 68:
158
- 69: <span class="ruby-comment cmt"># Define the setter</span>
159
- 70: <span class="ruby-identifier">setter</span> = <span class="ruby-node">&quot;set#{property.to_s.capitalize}&quot;</span>
160
- 71: <span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">setter</span>.<span class="ruby-identifier">to_sym</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-operator">*</span><span class="ruby-identifier">params</span><span class="ruby-operator">|</span>
161
- 72: <span class="ruby-identifier">date</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">0</span>]
162
- 73: <span class="ruby-identifier">utc</span> = <span class="ruby-identifier">params</span>[<span class="ruby-value">1</span>]
163
- 74: <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;inside setting...&quot;</span>
164
- 75: <span class="ruby-identifier">setDateProperty</span>(<span class="ruby-identifier">property</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">upcase</span>, <span class="ruby-identifier">date</span>, <span class="ruby-identifier">utc</span>)
165
- 76: <span class="ruby-keyword kw">end</span>
166
- 77:
167
- 78: <span class="ruby-comment cmt"># Create aliases if a name was specified</span>
168
- 79: <span class="ruby-comment cmt"># if not aliasName.nil?</span>
169
- 80: <span class="ruby-comment cmt"># gasym = &quot;get#{aliasName.to_s.capitalize}&quot;.to_sym </span>
170
- 81: <span class="ruby-comment cmt"># gsym = getter.to_sym</span>
171
- 82: <span class="ruby-comment cmt"># alias gasym gsym </span>
172
- 83:
173
- 84: <span class="ruby-comment cmt"># sasym = &quot;set#{aliasName.to_s.capitalize}&quot;.to_sym </span>
174
- 85: <span class="ruby-comment cmt"># ssym = setter.to_sym</span>
175
- 86: <span class="ruby-comment cmt"># alias sasym ssym </span>
176
- 87: <span class="ruby-comment cmt"># end</span>
177
- 88: <span class="ruby-keyword kw">end</span>
178
- </pre>
179
- </div>
180
- </div>
181
- </div>
182
-
183
-
184
- </div>
185
-
186
-
187
- </div>
188
-
189
-
190
- <div id="validator-badges">
191
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
192
- </div>
193
-
194
- </body>
195
- </html>
@@ -1,202 +0,0 @@
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: Icalendar::Event</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">Icalendar::Event</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/icalendar/component/event_rb.html">
59
- lib/icalendar/component/event.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="Component.html">
69
- Component
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 <a href="Event.html">Event</a> calendar component is a grouping of
86
- component properties, and possibly including <a href="Alarm.html">Alarm</a>
87
- calendar components, that represents a scheduled amount of time on a
88
- calendar. For example, it can be an activity; such as a one-hour long,
89
- department meeting from 8:00 AM to 9:00 AM, tomorrow. Generally, an event
90
- will take up time on an individual calendar.
91
- </p>
92
-
93
- </div>
94
-
95
-
96
- </div>
97
-
98
- <div id="method-list">
99
- <h3 class="section-bar">Methods</h3>
100
-
101
- <div class="name-list">
102
- <a href="#M000026">new</a>&nbsp;&nbsp;
103
- <a href="#M000027">to_ical</a>&nbsp;&nbsp;
104
- </div>
105
- </div>
106
-
107
- </div>
108
-
109
-
110
- <!-- if includes -->
111
-
112
- <div id="section">
113
-
114
-
115
-
116
-
117
-
118
- <div id="attribute-list">
119
- <h3 class="section-bar">Attributes</h3>
120
-
121
- <div class="name-list">
122
- <table>
123
- <tr class="top-aligned-row context-row">
124
- <td class="context-item-name">alarms</td>
125
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
126
- <td class="context-item-desc"></td>
127
- </tr>
128
- </table>
129
- </div>
130
- </div>
131
-
132
-
133
-
134
- <!-- if method_list -->
135
- <div id="methods">
136
- <h3 class="section-bar">Public Class methods</h3>
137
-
138
- <div id="method-M000026" class="method-detail">
139
- <a name="M000026"></a>
140
-
141
- <div class="method-heading">
142
- <a href="#M000026" class="method-signature">
143
- <span class="method-name">new</span><span class="method-args">()</span>
144
- </a>
145
- </div>
146
-
147
- <div class="method-description">
148
- <p><a class="source-toggle" href="#"
149
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
150
- <div class="method-source-code" id="M000026-source">
151
- <pre>
152
- <span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 56</span>
153
- 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
154
- 57: <span class="ruby-keyword kw">super</span>(<span class="ruby-value str">&quot;VEVENT&quot;</span>)
155
- 58:
156
- 59: <span class="ruby-ivar">@alarms</span> = []
157
- 60: <span class="ruby-keyword kw">end</span>
158
- </pre>
159
- </div>
160
- </div>
161
- </div>
162
-
163
- <h3 class="section-bar">Public Instance methods</h3>
164
-
165
- <div id="method-M000027" class="method-detail">
166
- <a name="M000027"></a>
167
-
168
- <div class="method-heading">
169
- <a href="#M000027" class="method-signature">
170
- <span class="method-name">to_ical</span><span class="method-args">()</span>
171
- </a>
172
- </div>
173
-
174
- <div class="method-description">
175
- <p><a class="source-toggle" href="#"
176
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
177
- <div class="method-source-code" id="M000027-source">
178
- <pre>
179
- <span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 62</span>
180
- 62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ical</span>
181
- 63: <span class="ruby-identifier">print_string</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span>
182
- 64: <span class="ruby-ivar">@alarms</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">alarm</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">alarm</span>.<span class="ruby-identifier">to_ical</span> }
183
- 65: <span class="ruby-keyword kw">end</span>
184
- 66: <span class="ruby-keyword kw">end</span>
185
- </pre>
186
- </div>
187
- </div>
188
- </div>
189
-
190
-
191
- </div>
192
-
193
-
194
- </div>
195
-
196
-
197
- <div id="validator-badges">
198
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
199
- </div>
200
-
201
- </body>
202
- </html>
@@ -1,157 +0,0 @@
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: Icalendar::Freebusy</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">Icalendar::Freebusy</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/icalendar/component/freebusy_rb.html">
59
- lib/icalendar/component/freebusy.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="Component.html">
69
- Component
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 <a href="Freebusy.html">Freebusy</a> calendar component is a grouping of
86
- component properties that represents either a request for, a reply to a
87
- request for free or busy time information or a published set of busy time
88
- information.
89
- </p>
90
-
91
- </div>
92
-
93
-
94
- </div>
95
-
96
- <div id="method-list">
97
- <h3 class="section-bar">Methods</h3>
98
-
99
- <div class="name-list">
100
- <a href="#M000036">new</a>&nbsp;&nbsp;
101
- </div>
102
- </div>
103
-
104
- </div>
105
-
106
-
107
- <!-- if includes -->
108
-
109
- <div id="section">
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
- <!-- if method_list -->
119
- <div id="methods">
120
- <h3 class="section-bar">Public Class methods</h3>
121
-
122
- <div id="method-M000036" class="method-detail">
123
- <a name="M000036"></a>
124
-
125
- <div class="method-heading">
126
- <a href="#M000036" class="method-signature">
127
- <span class="method-name">new</span><span class="method-args">()</span>
128
- </a>
129
- </div>
130
-
131
- <div class="method-description">
132
- <p><a class="source-toggle" href="#"
133
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
134
- <div class="method-source-code" id="M000036-source">
135
- <pre>
136
- <span class="ruby-comment cmt"># File lib/icalendar/component/freebusy.rb, line 31</span>
137
- 31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
138
- 32: <span class="ruby-keyword kw">super</span>(<span class="ruby-value str">&quot;VFREEBUSY&quot;</span>)
139
- 33: <span class="ruby-keyword kw">end</span>
140
- </pre>
141
- </div>
142
- </div>
143
- </div>
144
-
145
-
146
- </div>
147
-
148
-
149
- </div>
150
-
151
-
152
- <div id="validator-badges">
153
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
154
- </div>
155
-
156
- </body>
157
- </html>