Enforce consistent whitespaces around blocks, equal signs, and in parameters in Ruby code
diff --git a/lib/rb/spec/nonblocking_server_spec.rb b/lib/rb/spec/nonblocking_server_spec.rb
index cfc60ff..572e0b5 100644
--- a/lib/rb/spec/nonblocking_server_spec.rb
+++ b/lib/rb/spec/nonblocking_server_spec.rb
@@ -21,7 +21,6 @@
require 'timeout'
describe 'NonblockingServer' do
-
class Handler
def initialize
@queue = Queue.new
@@ -77,7 +76,7 @@
@transport.read(sz)
end
- def write(buf,sz=nil)
+ def write(buf, sz = nil)
@transport.write(buf, sz)
end
@@ -167,7 +166,7 @@
break
end
end
- @clients.each { |c,t| t.close and break if c == client } #close the transport
+ @clients.each { |c, t| t.close and break if c == client } # close the transport
rescue => e
raise e unless @catch_exceptions
end