Sha256: fd3b59f94645cd641760c1d4ba79144dc1723db5a5dd39b0b9694d55f32cf055

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module Scripted
  module Running
    module Execute

      def self.call(command, delegate, logger)
        command.execute!(logger.to_io(delegate))
        delegate.success!
      rescue Exception => exception
        logger.exception(delegate, exception)
        delegate.failed!(exception)
        return false
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scripted-0.0.1 lib/scripted/running/execute.rb