Class: LogStasher::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- LogStasher::Railtie
- Defined in:
- lib/logstasher/railtie.rb
Constant Summary collapse
- LOGSTASHER =
Load and ERB templating of YAML files
File.exist?(config_file) ? YAML.safe_load(ERB.new(File.read(config_file)).result).symbolize_keys : nil
Instance Method Summary collapse
Instance Method Details
#rack_cache_hashlike?(app) ⇒ Boolean
62 63 64 |
# File 'lib/logstasher/railtie.rb', line 62 def rack_cache_hashlike?(app) app.config.action_dispatch.rack_cache&.respond_to?(:[]=) end |