Sha256: 970169653c3e2389535c7319bd88410f6403f17b5c21a1abf1316e28b1705e75

Contents?: true

Size: 399 Bytes

Versions: 10

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

10 entries across 10 versions & 3 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/aruba-2.2.0/lib/aruba/platforms/unix_command_string.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/aruba-2.2.0/lib/aruba/platforms/unix_command_string.rb
aruba-2.2.0 lib/aruba/platforms/unix_command_string.rb
aruba-2.1.0 lib/aruba/platforms/unix_command_string.rb
aruba-2.0.1 lib/aruba/platforms/unix_command_string.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/aruba-2.0.0/lib/aruba/platforms/unix_command_string.rb
aruba-2.0.0 lib/aruba/platforms/unix_command_string.rb
aruba-1.1.2 lib/aruba/platforms/unix_command_string.rb
aruba-1.1.1 lib/aruba/platforms/unix_command_string.rb
aruba-1.1.0 lib/aruba/platforms/unix_command_string.rb