class Producer::Core::Tests::HasExecutable

Public Instance Methods

verify() click to toggle source
# File lib/producer/core/tests/has_executable.rb, line 5
def verify
  remote.execute "type #{arguments.first}"
  true
rescue RemoteCommandExecutionError
  false
end