Sha256: b7fce832d2ff6c679da85a71b6a8fff6f5a23fec243c8e71a57489e05417a726
Contents?: true
Size: 302 Bytes
Versions: 4
Compression:
Stored size: 302 Bytes
Contents
require 'npmdc' module Npmdc class Engine < Rails::Engine # :nodoc: # Make config accessible through application config config.npmdc = Npmdc.config initializer "npmdc.load_hook" do |_app| Npmdc.config.path = Rails.root unless Npmdc.config.path? Npmdc.call end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
npmdc-0.3.1 | lib/npmdc/engine.rb |
npmdc-0.3.0 | lib/npmdc/engine.rb |
npmdc-0.2.5 | lib/npmdc/engine.rb |
npmdc-0.2.4 | lib/npmdc/engine.rb |