Sha256: 75e83aad91e82d2f082f35dfae71240efd2081a53d732b9fbeded7197e1d4f45

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

module LogRanger
  def self.root
    File.dirname __dir__
  end

  class MyRailtie < Rails::Railtie
    log_ranger_generator_path = LogRanger::root.+'/log_ranger/log_ranger/log_ranger_generator.rb'

    config.app_generators do
      require log_ranger_generator_path
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
log_ranger-0.1.7 lib/log_ranger/railtie.rb
log_ranger-0.1.6 lib/log_ranger/railtie.rb
log_ranger-0.1.5 lib/log_ranger/railtie.rb
log_ranger-0.1.4 lib/log_ranger/railtie.rb