templates/server.rb.tt in zoomq-0.2.0 vs templates/server.rb.tt in zoomq-0.2.1
- old
+ new
@@ -1,14 +1,16 @@
# encoding: utf-8
require 'zoomq/server'
+require '<%=config[:name]%>/protocol'
+
Dir[File.join(ROOT, '<%=config[:name]%>', 'server', '*.rb')].each do |f|
require f
end
module <%=config[:constant_name]%>
- class Server
+ class Server < ZooMQ::Server
def service_name
<%=config[:name].inspect%>
end