# File lib/gelf/transport/tcp_tls.rb, line 79 def resource(data) if data.is_a?(String) && File.exist?(data) File.read(data) else data end end