Sha256: 549011c9d1c4c8ba518abe005ad72ef46f42ef7741720b8c3659ba5436df2716

Contents?: true

Size: 313 Bytes

Versions: 24

Compression:

Stored size: 313 Bytes

Contents

require 'lhc'

module LHS
end

Gem.find_files('lhs/**/*.rb').each { |path| require path }

# Preload all the services that are defined in app/services
class Engine < Rails::Engine
  initializer 'Load all services' do |app|
    Dir.glob(app.root.join('app/services/**/*.rb')).each {|file| require file }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
lhs-2.2.2 lib/lhs.rb
lhs-1.6.1 lib/lhs.rb
lhs-2.2.1 lib/lhs.rb
lhs-2.2.0 lib/lhs.rb
lhs-1.6.0 lib/lhs.rb
lhs-2.1.1 lib/lhs.rb
lhs-2.1.0 lib/lhs.rb
lhs-2.0.5 lib/lhs.rb
lhs-2.0.4 lib/lhs.rb
lhs-2.0.3 lib/lhs.rb
lhs-2.0.2 lib/lhs.rb
lhs-2.0.1 lib/lhs.rb
lhs-2.0.0 lib/lhs.rb
lhs-1.5.0 lib/lhs.rb
lhs-1.4.0 lib/lhs.rb
lhs-1.3.1 lib/lhs.rb
lhs-1.3.0 lib/lhs.rb
lhs-1.2.3 lib/lhs.rb
lhs-1.2.2 lib/lhs.rb
lhs-1.2.1 lib/lhs.rb