Aliasing class_eval makes JRuby ornery.

This commit is contained in:
wycats
2010-03-07 22:34:39 -08:00
parent 54a69c31ed
commit 79b0b5082c

View File

@@ -15,7 +15,10 @@ module Rails
class << self
private :new
alias :configure :class_eval
def configure(&block)
class_eval(&block)
end
def instance
if self == Rails::Application