Class: Aruba::Platforms::WindowsCommandString
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Aruba::Platforms::WindowsCommandString
- Defined in:
- lib/aruba/platforms/windows_command_string.rb
Overview
This is a command which should be run
This adds cmd.exec in front of commmand
Instance Method Summary collapse
-
#to_a ⇒ Object
Convert to array.
- #to_s ⇒ Object (also: #inspect)
Instance Method Details
#to_a ⇒ Object
Convert to array
14 15 16 |
# File 'lib/aruba/platforms/windows_command_string.rb', line 14 def to_a [cmd_path, '/c', __getobj__] end |
#to_s ⇒ Object Also known as: inspect
19 20 21 |
# File 'lib/aruba/platforms/windows_command_string.rb', line 19 def to_s __getobj__.to_s end |