1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

There is no need to make isolated? method with bang-bang, just alias isolated

This commit is contained in:
Piotr Sarnacki 2010-11-14 19:32:43 -06:00 committed by José Valim
parent dc1250265c
commit ef4afed81c

View file

@ -329,6 +329,7 @@ module Rails
class << self
attr_accessor :called_from, :isolated
alias :isolated? :isolated
alias :engine_name :railtie_name
def inherited(base)
@ -368,10 +369,6 @@ module Rails
end
end
end
def isolated?
!!isolated
end
end
delegate :middleware, :root, :paths, :to => :config