Sha256: 1c8564bd0600d76730ab9dc252f3f2636c986932452730192f9cc99ba36edc66

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 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>object_file_path (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 48</span>
48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_file_path</span> <span class="ruby-identifier">aSimId</span>, <span class="ruby-identifier">aShared</span> = <span class="ruby-keyword kw">false</span>
49:   <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">OBJECT_PATH</span>, <span class="ruby-node">&quot;ruby-vpi.#{aSimId}.#{aShared ? 'so' : 'o'}&quot;</span>)
50:   <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Object file #{path.inspect} is missing.\n Rebuild Ruby-VPI to generate the missing file.&quot;</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span> <span class="ruby-identifier">path</span>
51:   <span class="ruby-identifier">path</span>
52: <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-vpi-8.2.0 ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000002.html