方法
包含的模組
屬性
[R] | _all |
類別公開方法
new() 連結
來源: 顯示 | 在 GitHub 上
# File railties/lib/rails/engine/railties.rb, line 9 def initialize @_all ||= ::Rails::Railtie.subclasses.map(&:instance) + ::Rails::Engine.subclasses.map(&:instance) end
實例公開方法
-(others) 連結
來源: 顯示 | 在 GitHub 上
# File railties/lib/rails/engine/railties.rb, line 18 def -(others) _all - others end
each(*args, &block) 連結
來源: 顯示 | 在 GitHub 上
# File railties/lib/rails/engine/railties.rb, line 14 def each(*args, &block) _all.each(*args, &block) end