Sha256: d15aaf31cbcc8e4cd7e49865fb1f59f11080c13fe27c0e4a3f8682d13628bb41

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 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>make_absolute_path (bin/dskexplorer.rb)</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 bin/dskexplorer.rb, line 73</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_absolute_path</span>(<span class="ruby-identifier">relative_path</span>)
        <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">root_dir_is_website?</span> <span class="ruby-keyword kw">then</span>
                <span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-identifier">uri_encode</span>(<span class="ruby-identifier">relative_path</span>)
        <span class="ruby-keyword kw">else</span>
                <span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-identifier">relative_path</span>
        <span class="ruby-keyword kw">end</span>    
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dsktool-0.1.5 doc/files/bin/dskexplorer_rb.src/M000006.html