Method: SSHake::Mock::Session#has_executed_command?

Defined in:
lib/sshake/mock/session.rb

#has_executed_command?(matcher) ⇒ Boolean

rubocop:disable Naming/PredicateName

Returns:

  • (Boolean)


91
92
93
# File 'lib/sshake/mock/session.rb', line 91

def has_executed_command?(matcher)
  find_executed_commands(matcher).size.positive?
end