lib/elastic_apm/sinatra.rb in elastic-apm-3.2.0 vs lib/elastic_apm/sinatra.rb in elastic-apm-3.3.0
- old
+ new
@@ -28,9 +28,9 @@
config.framework_version ||= ::Sinatra::VERSION
config.__root_path ||= Dir.pwd
end
def format_name(str)
- str && str.gsub('::', '_')
+ str&.gsub('::', '_')
end
end
end