Module: DPM

Defined in:
lib/dpm.rb,
lib/dpm/errors.rb,
lib/dpm/runner.rb,
lib/dpm/options.rb,
lib/dpm/version.rb

Defined Under Namespace

Classes: Error, Options, Runner

Constant Summary collapse

ROOT =
File.expand_path("..", __dir__).freeze
HOME =
File.expand_path("~/.dpm").freeze
VERSION =
"0.2.3"

Class Method Summary collapse

Class Method Details

.call!(argv) ⇒ Object



15
16
17
18
19
20
# File 'lib/dpm.rb', line 15

def self.call!(argv)
  options = Options.parse!(argv)
  Runner.call!(options)
rescue Error => exception
  puts "Error: #{exception.message}"
end