Get rid of the stupid constant redefine warnings.
This commit is contained in:
parent
bc3dc8deda
commit
25ba972889
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue