Methods
Included Modules
Attributes
[R] | _all |
Class Public methods
new()
📝 Source code
# File railties/lib/rails/engine/railties.rb, line 9
def initialize
@_all ||= ::Rails::Railtie.subclasses.map(&:instance) +
::Rails::Engine.subclasses.map(&:instance)
end
🔎 See on GitHub
Instance Public methods
-(others)
📝 Source code
# File railties/lib/rails/engine/railties.rb, line 18
def -(others)
_all - others
end
🔎 See on GitHub
each(*args, &block)
📝 Source code
# File railties/lib/rails/engine/railties.rb, line 14
def each(*args, &block)
_all.each(*args, &block)
end
🔎 See on GitHub