Class: Aruba::Platforms::UnixCommandString

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/aruba/platforms/unix_command_string.rb

Overview

This is a command which should be run

Instance Method Summary collapse

Constructor Details

#initialize(cmd) ⇒ UnixCommandString

Returns a new instance of UnixCommandString.


10
11
12
# File 'lib/aruba/platforms/unix_command_string.rb', line 10

def initialize(cmd)
  __setobj__ cmd
end

Instance Method Details

#to_aObject

Convert to array


15
16
17
# File 'lib/aruba/platforms/unix_command_string.rb', line 15

def to_a
  [__getobj__]
end