lib/snapshot/snapshot_file.rb in snapshot-0.4.6 vs lib/snapshot/snapshot_file.rb in snapshot-0.4.7

- old
+ new

@@ -43,9 +43,11 @@ when :build_command raise "build_command has to be an String".red unless value.kind_of?String @config.build_command = value when :skip_alpha_removal @config.skip_alpha_removal = true + when :clear_previous_screenshots + @config.clear_previous_screenshots = true when :project_path raise "project_path has to be an String".red unless value.kind_of?String path = File.expand_path(value) if File.exists?path and (path.end_with?".xcworkspace" or path.end_with?".xcodeproj") \ No newline at end of file