Sha256: 8824cb5d65ffcd45122859ae3f7a0bb3d2c31b51d98e80f8a1848a97ad1bd8aa

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>expand_include_dir_options (lib/ruby-vpi/runner.rb)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <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/ruby-vpi/runner.rb, line 75</span>
75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expand_include_dir_options</span> <span class="ruby-identifier">aSimId</span>, <span class="ruby-identifier">aIncludes</span> = <span class="ruby-constant">SIMULATOR_INCLUDES</span>
76:   <span class="ruby-identifier">prefix</span> = <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">aSimId</span>
77:     <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:ivl</span>
78:       <span class="ruby-value str">'-I'</span>
79: 
80:     <span class="ruby-keyword kw">else</span>
81:       <span class="ruby-value str">'+incdir+'</span>
82:   <span class="ruby-keyword kw">end</span>
83: 
84:   <span class="ruby-identifier">aIncludes</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">prefix</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">i</span>}
85: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-vpi-11.1.0 ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html
ruby-vpi-11.1.1 ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html
ruby-vpi-9.0.0 ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000004.html