aphyr/riemann-ruby-client — pull request #9 by vadv (2013-05-15 14:24:35+00:00)
Title: Socket can not be opened in method connected?

1.9.3 (main):0 > require 'riemann/client'
=> true
1.9.3 (main):0 > c = Riemann::Client.new host: 'localhost', port: 5555
=> #>, @tcp=#>>
1.9.3 (main):0 > c.connected?
NoMethodError: undefined method `closed?' for nil:NilClass
from /.../ruby-1.9.3-p392/gems/riemann-client-0.2.1/lib/riemann/client/tcp.rb:23:in `connected?'