lib/rack/websocket/application.rb in websocket-rack-0.1.3 vs lib/rack/websocket/application.rb in websocket-rack-0.1.3.1
- old
+ new
@@ -3,10 +3,10 @@
class Application
class << self
def new(*args)
if args.last == {:real_run => true}
- args.shift
+ args.pop
super(*args)
else
proc do |env|
self.new(*(args << {:real_run => true})).call(env)
end
\ No newline at end of file