Class: Aruba::Platforms::WindowsPlatform
Overview
WARNING: All methods found here are not considered part of the public API of aruba.
Those methods can be changed at any time in the feature or removed without any further notice.
This includes all methods for the Windows platform
Class Method Summary
collapse
Instance Method Summary
collapse
#absolute_path?, #announcer, #chdir, #chmod, #command?, #command_monitor, #cp, #create_file, #create_fixed_size_file, #current_ruby, #default_shell, #deprecated, #detect_ruby, #determine_disk_usage, #determine_file_size, #directory?, #executable?, #exist?, #expand_path, #file?, #filesystem_status, #getwd, #logger, #mkdir, #mv, #relative_command?, #relative_path?, #require_matching_files, #rm, #simple_table, #touch, #with_environment, #write_file
Class Method Details
.match? ⇒ Boolean
20
21
22
|
# File 'lib/aruba/platforms/windows_platform.rb', line 20
def self.match?
Gem.win_platform?
end
|
Instance Method Details
#builtin_shell_commands ⇒ Object
39
40
41
|
# File 'lib/aruba/platforms/windows_platform.rb', line 39
def builtin_shell_commands
%w(cd dir echo exit set type)
end
|
#command_string ⇒ Object
25
26
27
|
# File 'lib/aruba/platforms/windows_platform.rb', line 25
def command_string
WindowsCommandString
end
|
#environment_variables ⇒ Object
#term_signal_supported? ⇒ Boolean
43
44
45
|
# File 'lib/aruba/platforms/windows_platform.rb', line 43
def term_signal_supported?
false
end
|
#which(program, path = ENV["PATH"]) ⇒ Object
35
36
37
|
# File 'lib/aruba/platforms/windows_platform.rb', line 35
def which(program, path = ENV["PATH"])
WindowsWhich.new.call(program, path)
end
|