跳至内容 跳至搜索
方法
#
E
N
包含的模块

属性

[R] _all

类公共方法

new()

# File railties/lib/rails/engine/railties.rb, line 9
def initialize
  @_all ||= ::Rails::Railtie.subclasses.map(&:instance) +
    ::Rails::Engine.subclasses.map(&:instance)
end

实例公共方法

-(其他)

# File railties/lib/rails/engine/railties.rb, line 18
def -(others)
  _all - others
end

each(*args, &block)

# File railties/lib/rails/engine/railties.rb, line 14
def each(*args, &block)
  _all.each(*args, &block)
end