Feature#conflict? -> Feature#invalid?

This commit is contained in:
0x1eef 2024-03-20 19:10:35 -03:00
parent 427165d1b7
commit 000568a82e

View file

@ -93,10 +93,10 @@ module BSD::Control
# The path to a file. # The path to a file.
# #
# @return [Boolean] # @return [Boolean]
# Returns true when a feature is in conflict # Returns true when a feature is in an invalid state
# (i.e: the feature is both enabled and disabled at the same time). # (eg: the feature is both enabled and disabled at the same time).
def conflict?(path) def invalid?(path)
status(path) == :conflict status(path) == :invalid
end end
## ##