M000017.html #1

  • //
  • guest/
  • tony_smith/
  • perforce/
  • P4Rubylib/
  • triggers/
  • doc/
  • classes/
  • CaseTrigger.src/
  • M000017.html
  • View
  • Commits
  • Open Download .zip Download (838 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>report (CaseTrigger)</title>
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body bgcolor="white">
<pre><span class="cmt"># File checkcase.rb, line 155</span>
    <span class="kw">def</span> report( badfiles )
        errors = 0
        msg = @@USER_MESSAGE
        badfiles.each <span class="kw">do</span>
            |file,mismatch|
            msg += sprintf( @@BADFILE_FORMAT, file, mismatch )
            errors += 1
            <span class="kw">break</span> <span class="kw">if</span> ( errors &gt;= @max_errors )

        <span class="kw">end</span>
        message( msg )
    <span class="kw">end</span></pre>
</body>
</html>
# Change User Description Committed
#1 3637 Tony Smith Add RDoc documentation to the sample triggers.