Module: TbHeavyControl::Loader

Defined in:
lib/tb_heavy_control/loader.rb

Class Method Summary collapse

Class Method Details

.callObject



4
5
6
7
8
9
10
11
12
# File 'lib/tb_heavy_control/loader.rb', line 4

def call
  @order = TbHeavyControl.pipeline
  @order.each do |entry|
    case entry
    when Pathname then load_file(entry.to_s)
    when String   then check_constant(entry)
    end
  end
end