Sha256: 200f19fe3e59c60e4640a99b15b378cd119f674e1003c903837d4bf888ff2a0d

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

module Psychic
  module Shell
    autoload :ExecutionResult, 'psychic/shell/execution_result'
    autoload :ExecutionError, 'psychic/shell/execution_result'
    autoload :MixlibShellOutExecutor, 'psychic/shell/mixlib_shellout_executor'

    class << self
      attr_writer :shell
    end

    def self.shell
      @shell ||=  MixlibShellOutExecutor.new
    end

    def shell
      Psychic::Shell.shell
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psychic-runner-0.0.3 lib/psychic/shell.rb
psychic-runner-0.0.2 lib/psychic/shell.rb