Sha256: 297f26e6a194855885d8777c0faaddd8530232581bd5d77ccbbe569e215e5cd5

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>new (Icalendar::Event)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 103</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
      <span class="ruby-keyword kw">super</span>(<span class="ruby-value str">&quot;VEVENT&quot;</span>)

      <span class="ruby-comment cmt"># Now doing some basic initialization</span>
      <span class="ruby-identifier">sequence</span> <span class="ruby-value">0</span>
      <span class="ruby-identifier">timestamp</span> <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">now</span>
      <span class="ruby-identifier">uid</span> <span class="ruby-identifier">new_uid</span>
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
icalendar-0.97 docs/api/classes/Icalendar/Event.src/M000052.html
icalendar-0.98 docs/api/classes/Icalendar/Event.src/M000052.html
icalendar-1.0 docs/api/classes/Icalendar/Event.src/M000054.html