ref/ruby/classes/FileUtils.src/M000089.html in ruby-vpi-8.2.0 vs ref/ruby/classes/FileUtils.src/M000089.html in ruby-vpi-9.0.0

- old
+ new

@@ -3,16 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>collect_args (FileUtils)</title> + <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 32</span> -32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">collect_args</span> <span class="ruby-operator">*</span><span class="ruby-identifier">aArgs</span> -33: <span class="ruby-identifier">aArgs</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">compact</span> -34: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/rake.rb, line 27</span> +27: <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">&amp;</span><span class="ruby-identifier">aBlock</span> +28: <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">&amp;</span><span class="ruby-identifier">aBlock</span> +29: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file