Class: GitlabConfig::LocalSource

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab_config/source/local.rb

Overview

Read the configuration from a file in the local file system

Instance Method Summary collapse

Instance Method Details

#get_configuration(options) ⇒ Object



7
8
9
# File 'lib/gitlab_config/source/local.rb', line 7

def get_configuration(options)
  YAML.load_file(options.fetch(:file))
end