From 000568a82ea89bb5b03f3832f40320bb5195939c Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Wed, 20 Mar 2024 19:10:35 -0300 Subject: [PATCH] Feature#conflict? -> Feature#invalid? --- lib/bsd/control/feature.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bsd/control/feature.rb b/lib/bsd/control/feature.rb index abc4768..898cda9 100644 --- a/lib/bsd/control/feature.rb +++ b/lib/bsd/control/feature.rb @@ -93,10 +93,10 @@ module BSD::Control # The path to a file. # # @return [Boolean] - # Returns true when a feature is in conflict - # (i.e: the feature is both enabled and disabled at the same time). - def conflict?(path) - status(path) == :conflict + # Returns true when a feature is in an invalid state + # (eg: the feature is both enabled and disabled at the same time). + def invalid?(path) + status(path) == :invalid end ##