lib/pitchfork/message.rb in pitchfork-0.11.1 vs lib/pitchfork/message.rb in pitchfork-0.12.0

- old
+ new

@@ -12,9 +12,10 @@ end FD = Struct.new(:index) def initialize(socket) + raise ArgumentError, "expected a socket, got: #{socket.inspect}" unless socket @socket = socket end def to_io @socket