Method: Workling::Discovery.discover!

Defined in:
lib/workling/discovery.rb

.discover!Object

requires worklings so that they are added to routing.



14
15
16
17
18
# File 'lib/workling/discovery.rb', line 14

def self.discover!
  Workling.load_path.each do |p|
    Dir.glob(p).each { |wling| require wling }
  end
end