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



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

def configure!(options)
  validate(options)

  options[:config] ? by_config(options[:list]) : [ options ]
end