Class: Producer::Core::Tests::ShellCommandStatus
- Inherits:
-
Producer::Core::Test
- Object
- Producer::Core::Test
- Producer::Core::Tests::ShellCommandStatus
- Defined in:
- lib/producer/core/tests/shell_command_status.rb
Instance Attribute Summary
Attributes inherited from Producer::Core::Test
Instance Method Summary collapse
Methods inherited from Producer::Core::Test
#initialize, #negated?, #pass?
Constructor Details
This class inherits a constructor from Producer::Core::Test
Instance Method Details
#command ⇒ Object
12 13 14 |
# File 'lib/producer/core/tests/shell_command_status.rb', line 12 def command arguments.first end |
#verify ⇒ Object
5 6 7 8 9 10 |
# File 'lib/producer/core/tests/shell_command_status.rb', line 5 def verify remote.execute(command) true rescue RemoteCommandExecutionError false end |