lib/rconf/profile.rb in rconf-0.8.2 vs lib/rconf/profile.rb in rconf-0.8.3

- old
+ new

@@ -70,9 +70,27 @@ # profile(Hash):: Profile settings def profile @profile end + # Force re-configuration even if it was already done + # + # === Return + # true:: Always return true + def force + @force = true + reset + end + + # Should next configuration force re-configuration? + # + # === Return + # true:: If re-configuration should be forced + # false:: Otherwise + def force? + res = @force || false + end + protected # Retrieve profile file path # # === Return