From: matz@... (Yukihiro Matsumoto) Date: 2001-07-30T09:41:35+09:00 Subject: [ruby-talk:18771] Re: Autoflush backquotes?? Hi, In message "[ruby-talk:18760] Autoflush backquotes??" on 01/07/30, Chris Moline writes: |def make( action ) | print `cd #{ @ports_dir }/#{ @category }/#{ @portname }; | make #{ action } #{ autoclean? ? "clean" : "" }` |end def make(action) open("|cd #{ @ports_dir }/#{ @category }/#{ @portname }; make #{ action } #{ autoclean? ? "clean" : "" }") do |f| f.each{|line| print line} end end matz.