Sha256: 0ca88df6dd64b167701628e5bb1dbf820142c8f764a2378ec56a4c8540e7cee3

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

require '../rev'
class Tester < Rev::TCPSocket
  def on_resolve_failed
    print "resolved failed! that's good!"
  end
end
a = Tester.connect('asdfgoogle.com', 80)
a.attach Rev::Loop.default
Rev::Loop.default.run

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cool.io-1.0.0 spec/possible_tests/test_on_resolve_failed.rb
cool.io-0.9.0 spec/possible_tests/test_on_resolve_failed.rb