Top Level Namespace

Defined Under Namespace

Modules: DatadogFluentPlugin

Instance Method Summary collapse

Instance Method Details

#nilish?(s) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/fluent/plugin/out_datadog.rb', line 14

def nilish?(s)
  s.empty? || s == "nil" || s == "false" || s == "null"
end