Method: Bolt::Config.from_project

Defined in:
lib/bolt/config.rb

.from_project(project, overrides = {}) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/bolt/config.rb', line 34

def self.from_project(project, overrides = {})
  data = load_defaults.push(
    filepath: project.project_file,
    data: project.data
  )

  new(project, data, overrides)
end