lib/reek/configuration/app_configuration.rb in reek-4.7.2 vs lib/reek/configuration/app_configuration.rb in reek-4.7.3
- old
+ new
@@ -15,12 +15,13 @@
# @public
class AppConfiguration
include ConfigurationValidator
EXCLUDE_PATHS_KEY = 'exclude_paths'.freeze
- # Instantiate a configuration via given path.
+ # Instantiate a configuration via given path, or the default path.
#
- # @param path [Pathname] the path to the config file
+ # @param path [Pathname] the path to the config file, or nil to use the
+ # default path.
#
# @return [AppConfiguration]
#
# @public
def self.from_path(path = nil)