diff options
author | Graham Hughes <graham@rightscale.com> | 2011-02-07 16:49:31 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-07 19:07:06 -0800 |
commit | a34b1048d05397f72ad579fcef72cbb1a9e9d8bc (patch) | |
tree | 4e16063fa1dd9944ecfce80dee1a3552250f7822 /lib/rainbows/http_server.rb | |
parent | b7d974960b58d732149d5fabf870b2332b6877f7 (diff) | |
download | rainbows-a34b1048d05397f72ad579fcef72cbb1a9e9d8bc.tar.gz |
Actually use the Rainbows::O constant for use [ew: rewritten commit message subject] Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r-- | lib/rainbows/http_server.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb index 71ed192..ab214c3 100644 --- a/lib/rainbows/http_server.rb +++ b/lib/rainbows/http_server.rb @@ -63,8 +63,8 @@ class Rainbows::HttpServer < Unicorn::HttpServer raise ArgumentError, "concurrency model #{model.inspect} not supported" args.each do |opt| case opt - when Hash; O.update(opt) - when Symbol; O[opt] = true + when Hash; Rainbows::O.update(opt) + when Symbol; Rainbows::O[opt] = true else; raise ArgumentError, "can't handle option: #{opt.inspect}" end end |