lib/celluloid/group.rb in celluloid-0.9.0 vs lib/celluloid/group.rb in celluloid-0.9.1

- old
+ new

@@ -69,9 +69,10 @@ # Stringify keys :/ options = options.inject({}) { |h,(k,v)| h[k.to_s] = v; h } @as = options['as'] @args = options['args'] || [] + raise ":args should be an Array" unless @args.kind_of? Array end def supervise Supervisor.new_link(@as, @klass, *@args) end