Sha256: 5a64ebe9b1e594530a256a8fedd6a6fa3a4a843689f2a8602ac5f2e47f4b5f85

Contents?: true

Size: 282 Bytes

Versions: 25

Compression:

Stored size: 282 Bytes

Contents

module SSHScan
  module Error
    # Target refused connection attempt.
    class ConnectionRefused < RuntimeError
      def initialize(message)
        @message = message
      end
      def to_s
        "#{self.class.to_s.split('::')[-1]}: #{@message}"
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ssh_scan-0.0.44 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.43 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.42 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.41 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.40 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.39 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.38 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.38.pre lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.37 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.36 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.35 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.34 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.33 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.32 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.31 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.30 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.29 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.28 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.27 lib/ssh_scan/error/connection_refused.rb
ssh_scan-0.0.26 lib/ssh_scan/error/connection_refused.rb