module Postmodern::Runner
Constants
- COMMAND_MAP
- DEFAULT_COMMAND
Attributes
argv[R]
Public Class Methods
command_for(command)
click to toggle source
# File lib/postmodern/runner.rb, line 26 def self.command_for(command) COMMAND_MAP[command] || DEFAULT_COMMAND end
run(args)
click to toggle source
# File lib/postmodern/runner.rb, line 22 def self.run(args) command_for(args.first).new(args).run end