From 549ac1249142d2f9a75f8eb05963898c53ab6b6d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 11 Jun 2010 13:22:31 -0700 Subject: cleanup: use modules were applicable No point in having namespaces be classes when we never create instances of them... --- lib/unicorn/launcher.rb | 2 +- lib/unicorn/util.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/unicorn/launcher.rb b/lib/unicorn/launcher.rb index 7f3ffa6..0d957cf 100644 --- a/lib/unicorn/launcher.rb +++ b/lib/unicorn/launcher.rb @@ -7,7 +7,7 @@ $stderr.binmode require 'unicorn' -class Unicorn::Launcher +module Unicorn::Launcher # We don't do a lot of standard daemonization stuff: # * umask is whatever was set by the parent process at startup diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb index 479dd00..4e05864 100644 --- a/lib/unicorn/util.rb +++ b/lib/unicorn/util.rb @@ -14,7 +14,7 @@ module Unicorn end end - class Util + module Util class << self def is_log?(fp) -- cgit v1.2.3-24-ge0c7