module Dramaturg

Constants

COLORS
DEFAULT_CONFIG
VERSION

Public Class Methods

Thor(thor_actions_object, config = {}) click to toggle source
# File lib/dramaturg/thor.rb, line 4
def self.Thor(thor_actions_object, config = {})
  config = ({
    runner: {
      class: Dramaturg::Runner::Thor,
      thor_actions: thor_actions_object
    }
  }).deep_merge(config)

  Dramaturg::Script.new(config)
end