Rails::Initializable::Collection (original) (raw)

Methods

T

Included Modules

Instance Public methods

Source: show | on GitHub

File railties/lib/rails/initializable.rb, line 53

def +(other) Collection.new(to_a + other.to_a) end

Source: show | on GitHub

File railties/lib/rails/initializable.rb, line 49

def tsort_each_child(initializer, &block) select { |i| i.before == initializer.name || i.name == initializer.after }.each(&block) end