Module: Diffend::Config

Defined in:
lib/diffend/config.rb,
lib/diffend/config/fetcher.rb,
lib/diffend/config/validator.rb,
lib/diffend/config/file_finder.rb

Overview

Module for all the components related to setting up the config

Defined Under Namespace

Modules: Fetcher, FileFinder, Validator

Class Method Summary collapse

Class Method Details

.callOpenStruct?

Build diffend config object

Returns:

  • (OpenStruct, nil)

Raises:



12
13
14
15
16
# File 'lib/diffend/config.rb', line 12

def call
  Diffend::Config::Fetcher.call(
    File.expand_path('..', ::Bundler.bin_path)
  )
end