Sha256: c6d90aa301b3c7fa30ab6ce29a9835e0fa7bb6a77067c0b5b314409d6234424e

Contents?: true

Size: 399 Bytes

Versions: 8

Compression:

Stored size: 399 Bytes

Contents

require 'delegate'
require 'shellwords'

# Aruba
module Aruba
  # Platforms
  module Platforms
    # This is a command which should be run
    #
    # @private
    class UnixCommandString
      def initialize(command, *arguments)
        @command = command
        @arguments = arguments
      end

      # Convert to array
      def to_a
        [@command, *@arguments]
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
aruba-1.0.4 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.3 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.2 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.1 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.0 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.0.pre.alpha.5 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.0.pre.alpha.4 lib/aruba/platforms/unix_command_string.rb
aruba-1.0.0.pre.alpha.3 lib/aruba/platforms/unix_command_string.rb