<!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>filetype (TypeTrigger)</title>
<link rel=StyleSheet href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body bgcolor="white">
<pre><span class="cmt"># File checktype.rb, line 86</span>
<span class="kw">def</span> filetype( depot_file )
ext = depot_file.sub( <span class="re">/.*\.(.*)/</span>, <span class="str">'\1'</span> )
ext = ext.downcase
TYPEMAP[ ext ]
<span class="kw">end</span></pre>
</body>
</html>
# |
Change |
User |
Description |
Committed |
|
#1
|
6014 |
Robert Cowham |
Bring in Tony's latest trigger changes |
|
|
//guest/tony_smith/perforce/P4Rubylib/triggers/doc/classes/TypeTrigger.src/M000009.html |
#1
|
3637 |
Tony Smith |
Add RDoc documentation to the sample triggers. |
|
|