提交 79b0b508 编写于 作者: W wycats

Aliasing class_eval makes JRuby ornery.

上级 54a69c31
......@@ -15,7 +15,10 @@ class Application < Engine
class << self
private :new
alias :configure :class_eval
def configure(&block)
class_eval(&block)
end
def instance
if self == Rails::Application
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册