lib/guard/cucumber.rb
def read_failed_features
      failed = []

      if File.exist?("rerun.txt")
        failed = File.open("rerun.txt") { |file| file.read.split(" ") }
        File.delete("rerun.txt")
      end

      failed
    end
# Read the failed features that from `rerun.txt`
#
# @see Guard::Cucumber::NotificationFormatter#write_rerun_features
# @return [Array<String>] the list of features
#
Read the failed features that from `rerun.txt`
Read the failed features that from ` rerun . txt `
def read_failed_features
      failed = []
      if File.exist?("rerun.txt")
        failed = File.open("rerun.txt") { |file| file.read.split(" ") }
        File.delete("rerun.txt")
      end
      failed
    end
def read_failed_features failed = [ ] if File . exist? ( "rerun.txt" ) failed = File . open ( "rerun.txt" ) { | file | file . read . split ( " " ) } File . delete ( "rerun.txt" ) end failed end
Read the failed features that from `rerun.txt`
Read the failed features that from ` rerun . txt `
the list of features
the list of features
Array<String>
see
None