Class: Pumper::Configuration

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

Defined Under Namespace

Classes: InvalidOptions, ProjectNotSet

Class Method Summary collapse

Class Method Details

.configure!(options) ⇒ Object



13
14
15
16
17
# File 'lib/pumper/configuration.rb', line 13

def configure!(options)
  validate(options)

  options[:config] ? parse_from_config : options
end