lib/qonfig/settings/key_matcher.rb in qonfig-0.20.0 vs lib/qonfig/settings/key_matcher.rb in qonfig-0.21.0

- old
+ new

@@ -59,9 +59,17 @@ @scope_pattern = scope_pattern.dup.freeze @scope_pattern_size = count_scope_pattern_size(scope_pattern) @pattern_matcher = build_pattern_matcher(scope_pattern) end + # @return [Boolean] + # + # @api private + # @since 0.21.0 + def generic? + scope_pattern == GENERIC_PART_PATTERN || scope_pattern == INFINITE_PART_PATTERN + end + # @param setting_key_pattern [String] # @return [Boolean] # # @api private # @since 0.13.0