M000018.html #1

  • //
  • guest/
  • tony_smith/
  • perforce/
  • P4Rubylib/
  • triggers/
  • doc/
  • classes/
  • P4Trigger.src/
  • M000018.html
  • View
  • Commits
  • Open Download .zip Download (774 B)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>new (P4Trigger)</title>
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body bgcolor="white">
<pre><span class="cmt"># File P4Triggers.rb, line 123</span>
    <span class="kw">def</span> initialize
        @change = <span class="kw">nil</span>
        @p4 = P4.new
        @p4.parse_forms
        @p4.exception_level = 1
        <span class="kw">begin</span>
            @p4.connect
        <span class="kw">rescue</span> P4Exception
            error_message()
            raise
        <span class="kw">end</span>
    <span class="kw">end</span></pre>
</body>
</html>
# Change User Description Committed
#1 3637 Tony Smith Add RDoc documentation to the sample triggers.