mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Aliasing class_eval makes JRuby ornery.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user