Class: ArchUnit::Files::FluentApi::NegatedMatchPatternFileConditionBuilder

Inherits:
MatchPatternFileConditionBuilder show all
Defined in:
lib/archunit/files/fluentapi/negated_match_pattern_file_condition_builder.rb

Overview

The should_not mood for file predicates.

Instance Attribute Summary

Attributes inherited from MatchPatternFileConditionBuilder

#filters, #project_locator

Instance Method Summary collapse

Methods inherited from MatchPatternFileConditionBuilder

#adhere_to, #be_in_folder, #be_in_path, #depend_on_external_modules, #depend_on_files, #have_name, #negated?

Constructor Details

#initialize(scope) ⇒ NegatedMatchPatternFileConditionBuilder

Returns a new instance of NegatedMatchPatternFileConditionBuilder.



10
11
12
# File 'lib/archunit/files/fluentapi/negated_match_pattern_file_condition_builder.rb', line 10

def initialize(scope)
  super(scope, negated: true)
end