lib/backticks/command.rb in backticks-0.3.1 vs lib/backticks/command.rb in backticks-0.4.0

- old
+ new

@@ -44,9 +44,11 @@ # to Ruby's output streams. If the time limit expires, return `nil`; # otherwise, return self. # # @param [Float,Integer] limit number of seconds to wait before returning def join(limit=nil) + return self if @status + if limit tf = Time.now + limit else tf = FOREVER end