lib/logstash-logger.rb in logstash-logger-0.18.0 vs lib/logstash-logger.rb in logstash-logger-0.18.1
- old
+ new
@@ -6,6 +6,6 @@
require 'logstash-logger/logger'
require 'logstash-logger/formatter'
require 'logstash-logger/configuration'
-require 'logstash-logger/railtie' if defined? Rails
+require 'logstash-logger/railtie' if defined?(Rails::Railtie)