Sha256: 84e921d16fc0091620d82e98ccaf40acc8e84f69b0b34695bf170a04889ac732

Contents?: true

Size: 268 Bytes

Versions: 25

Compression:

Stored size: 268 Bytes

Contents

module SSHScan
  module Error
    # Got disconnected somehow.
    class Disconnected < 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.25 lib/ssh_scan/error/disconnected.rb
ssh_scan-0.0.24 lib/ssh_scan/error/disconnected.rb
ssh_scan-0.0.23 lib/ssh_scan/error/disconnected.rb
ssh_scan-0.0.22 lib/ssh_scan/error/disconnected.rb
ssh_scan-0.0.21 lib/ssh_scan/error/disconnected.rb