Module: ArchUnit::Slices::FluentApi

Defined in:
lib/archunit/slices/fluentapi/slices.rb,
lib/archunit/slices/fluentapi/diagram_source.rb,
lib/archunit/slices/fluentapi/slice_scope_builder.rb,
lib/archunit/slices/fluentapi/diagram_slice_condition.rb,
lib/archunit/slices/fluentapi/negative_slice_condition_builder.rb,
lib/archunit/slices/fluentapi/positive_slice_condition_builder.rb,
lib/archunit/slices/fluentapi/forbidden_slice_dependency_condition.rb

Overview

Sentence-like builders for slice architecture rules.

Defined Under Namespace

Classes: DiagramSliceCondition, DiagramSource, ForbiddenSliceDependencyCondition, NegativeSliceConditionBuilder, PositiveSliceConditionBuilder, SliceScopeBuilder

Constant Summary collapse

DIAGRAM_SOURCE_KINDS =
%i[inline file].freeze

Class Method Summary collapse

Class Method Details

.project_slices(project_locator = nil) ⇒ Object Also known as: slices



12
13
14
# File 'lib/archunit/slices/fluentapi/slices.rb', line 12

def project_slices(project_locator = nil)
  SliceScopeBuilder.new(project_locator:)
end