def ifd_mobile_scaffold if File.exists?(@features_dir) puts "A features directory already exists. Stopping..." exit 1 end msg("Question") do puts "I'm about to create a subdirectory called features." puts "features will contain all your project tests." puts "Please hit return to confirm that's what you want." end exit 2 unless STDIN.gets.chomp == '' FileUtils.cp_r(@source_dir, @features_dir) msg("Info") do puts "features subdirectory created. \n" end end