Rails::Initializable::Collection
Methods
#
T
Included Modules
  • TSort
Instance Public methods
+(other)
# File railties/lib/rails/initializable.rb, line 51
def +(other)
  Collection.new(to_a + other.to_a)
end
tsort_each_child(initializer, &block)
# File railties/lib/rails/initializable.rb, line 47
def tsort_each_child(initializer, &block)
  select { |i| i.before == initializer.name || i.name == initializer.after }.each(&block)
end