Get rid of the stupid constant redefine warnings.

This commit is contained in:
Paul van Tilburg 2010-06-21 19:38:37 +02:00
parent bc3dc8deda
commit 25ba972889
1 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,10 @@ Markaby::Builder.set(:indent, 2)
Camping.goes :Anne
PUBLIC_DIR = Pathname.new(__FILE__).dirname + "public"
IMAGE_DIR = PUBLIC_DIR + "images"
unless defined? PUBLIC_DIR
PUBLIC_DIR = Pathname.new(__FILE__).dirname + "public"
IMAGE_DIR = PUBLIC_DIR + "images"
end
module Anne