class Aruba::Platforms::WindowsCommandString
This is a command which should be run
This adds `cmd.exec` in front of commmand
@private
Public Instance Methods
to_a()
click to toggle source
Convert to array
# File lib/aruba/platforms/windows_command_string.rb, line 14 def to_a [cmd_path, '/c', __getobj__] end
to_s()
click to toggle source
# File lib/aruba/platforms/windows_command_string.rb, line 19 def to_s __getobj__.to_s end
Also aliased as: inspect
Private Instance Methods
cmd_path()
click to toggle source
# File lib/aruba/platforms/windows_command_string.rb, line 27 def cmd_path Aruba.platform.which('cmd.exe') end