Class: Apiary::Command::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/apiary/command/runner.rb

Overview

Run commands

Class Method Summary (collapse)

Class Method Details

+ (Object) run(cmd, options)



7
8
9
# File 'lib/apiary/command/runner.rb', line 7

def self.run(cmd, options)
  Apiary::Command.const_get(cmd.capitalize).send(:execute, options)
end