lib/rconf/profile.rb in rconf-0.6.1 vs lib/rconf/profile.rb in rconf-0.6.2

- old
+ new

@@ -49,9 +49,18 @@ @profile[:configurator_signatures][key] = signature persist true end + # Delete profile from disk + # + # === Return + # true:: Always return true + def reset + File.delete(profile_path) if File.file?(profile_path) + true + end + # Entire profile with all settings # # === Return # profile(Hash):: Profile settings def profile