class Reek::Configuration::AppConfiguration

def directive_for(source_via)

Returns:
  • (Hash) - the directory directive for the source with the default directive

Parameters:
  • source_via (String) -- the source of the code inspected
def directive_for(source_via)
  hit = directory_directives.directive_for(source_via)
  hit ? default_directive.merge(hit) : default_directive
end