class Object

Public Instance Methods

parse_command_line_args() click to toggle source
# File lib/recumber.rb, line 9
def parse_command_line_args
  options_hash = {}

  option_parser = OptionParser.new do |option|
    option.banner = "Usage: recumber [OPTIONS] [LOGFILE]"
    option.separator  ""
    option.separator  "Options"

    option.on("-z","--zeus","Rerun the failing steps under Zeus") do
      options_hash[:zeus] = true
    end

    option.on("-h","--help","help") do
      puts option_parser
    end
  end

  option_parser.parse!
  options_hash
end
print_no_failures_message() click to toggle source
print_rerun_message(failed_features) click to toggle source
print_title() click to toggle source
read_piped_input() click to toggle source
# File lib/recumber.rb, line 5
def read_piped_input
  ARGF.read
end