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

.run(cmd, options) ⇒ Object



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

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