Sha256: 44a5d477a785b938579b020d933f74698eae55dc0e43f41200fd0edf9ec30467

Contents?: true

Size: 798 Bytes

Versions: 1

Compression:

Stored size: 798 Bytes

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_uid (Icalendar::Component)</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.rb, line 98</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_uid</span>
      <span class="ruby-node">&quot;#{DateTime.now}_#{rand(999999999)}@#{Socket.gethostname}&quot;</span>
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
icalendar-1.0 docs/api/classes/Icalendar/Component.src/M000040.html