vendor/jruby/1.9/gems/guard-rspec-4.5.0/lib/guard/rspec/runner.rb
def _command_output
        formatter_tmp_file = _tmp_file(options[:chdir])
        lines = File.readlines(formatter_tmp_file)
        summary = lines.first.strip
        failed_paths = lines[1..11].map(&:strip).compact

        [summary, failed_paths]
      rescue
        [nil, nil]
      ensure
        File.delete(formatter_tmp_file) if File.exists?(formatter_tmp_file)
      end
# NOTE: must match with const in RspecFormatter!
must match with const in RspecFormatter!
must match with const in RspecFormatter!
def _command_output
        formatter_tmp_file = _tmp_file(options[:chdir])
        lines = File.readlines(formatter_tmp_file)
        summary = lines.first.strip
        failed_paths = lines[1..11].map(&:strip).compact
        [summary, failed_paths]
      rescue
        [nil, nil]
      ensure
        File.delete(formatter_tmp_file) if File.exists?(formatter_tmp_file)
      end
def _command_output formatter_tmp_file = _tmp_file ( options [ :chdir ] ) lines = File . readlines ( formatter_tmp_file ) summary = lines . first . strip failed_paths = lines [ 1 .. 11 ] . map ( & :strip ) . compact [ summary , failed_paths ] rescue [ nil , nil ] ensure File . delete ( formatter_tmp_file ) if File . exists? ( formatter_tmp_file ) end
NOTE: must match with const in RspecFormatter!
NOTE : must match with const in RspecFormatter!