Sha256: 4ec3fd7cd130f0658249d5ac788d46b6373e9b95d3feb49a43b6d4bb8bd171ad
Contents?: true
Size: 503 Bytes
Versions: 14
Compression:
Stored size: 503 Bytes
Contents
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
Version data entries
14 entries across 14 versions & 1 rubygems