class Cucumber::Cli::Options
def print_profile_information
def print_profile_information return if @skip_profile_information || @profiles.empty? profiles_sentence = '' profiles_sentence = @profiles.size == 1 ? @profiles.first : "#{@profiles[0...-1].join(', ')} and #{@profiles.last}" @out_stream.puts "Using the #{profiles_sentence} profile#{'s' if @profiles.size> 1}..." end