Module: ArchUnit::Files::FluentApi::FileRuleSupport
- Defined in:
- lib/archunit/files/fluentapi/file_rule_support.rb
Overview
Shared file selection for executable rule terminals.
Class Method Summary collapse
Class Method Details
.selected_nodes(graph, filters) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/archunit/files/fluentapi/file_rule_support.rb', line 14 def selected_nodes(graph, filters) nodes = Common::Projection.project_to_nodes(graph) selected = filters.empty? ? nodes : matching_nodes(nodes, filters) Common::Logging::Inspection.selection( 'selected file', selected, &:label ) end |
ArchUnitRuby