Sha256: 03e8f56baae366a2d358e511fb4544eb2ab95e1a31556ceb01aa55cd2e3595c8
Contents?: true
Size: 1.34 KB
Versions: 6
Compression:
Stored size: 1.34 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>sh (FileUtils)</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/rake.rb, line 12</span> 12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sh</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span> 13: <span class="ruby-identifier">old_sh</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">collect_args</span>(<span class="ruby-identifier">aArgs</span>).<span class="ruby-identifier">reject</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">empty?</span>}, <span class="ruby-operator">&</span><span class="ruby-identifier">aBlock</span>) 14: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
6 entries across 6 versions & 1 rubygems