about summary refs log tree commit
path: root/lib/metropolis.rb
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2011-01-17 03:17:28 +0000
committerEric Wong <normalperson@yhbt.net>2011-01-17 09:18:31 +0000
commit2c913347a6e5cc8be776b14e1a177adec0fbd5b6 (patch)
tree8d001fa557ef23c66bc56aa6c2fba943e428382e /lib/metropolis.rb
parent34a18520286313a05edc9a927ac4bed95b05191c (diff)
downloadmetropolis-2c913347a6e5cc8be776b14e1a177adec0fbd5b6.tar.gz
use constants everywhere to reduce GC thrashing
This makes it easier to notice a typo, too.
Diffstat (limited to 'lib/metropolis.rb')
-rw-r--r--lib/metropolis.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/metropolis.rb b/lib/metropolis.rb
index 284cd30..986f5b8 100644
--- a/lib/metropolis.rb
+++ b/lib/metropolis.rb
@@ -41,4 +41,5 @@ module Metropolis
   end
 end
 
+require 'metropolis/constants'
 require 'metropolis/common'