Class: ConventionalCommits::Configuration::BranchConfigurationReader

Inherits:
Object
  • Object
show all
Defined in:
lib/configuration/branch_configuration_reader.rb

Instance Method Summary collapse

Instance Method Details

#get_configuration(path: Configuration::DEFAULT_CONFIGURATION_PATH) ⇒ Object



6
7
8
9
10
# File 'lib/configuration/branch_configuration_reader.rb', line 6

def get_configuration(path: Configuration::DEFAULT_CONFIGURATION_PATH)
  reader = MainConfigurationReader.new
  config = reader.get_configuration(path:)
  config.branch
end