Skip to Content Skip to Search

class Rails::Engine::Railties

Inherits From

Attributes

[R] _all

Public class methods

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

Public instance methods

Source code GitHub
# File railties/lib/rails/engine/railties.rb, line 18
def -(others)
  _all - others
end
Source code GitHub
# File railties/lib/rails/engine/railties.rb, line 14
def each(*args, &block)
  _all.each(*args, &block)
end

Definition files