Class: LogStash::Setting::NullableString

Inherits:
String show all
Defined in:
lib/logstash/settings.rb

Instance Attribute Summary

Attributes inherited from LogStash::Setting

#default, #name

Instance Method Summary collapse

Methods inherited from String

#initialize

Methods inherited from LogStash::Setting

#==, #initialize, #reset, #set, #set?, #strict?, #to_hash, #validate_value, #value

Constructor Details

This class inherits a constructor from LogStash::Setting::String

Instance Method Details

#validate(value) ⇒ Object



461
462
463
464
# File 'lib/logstash/settings.rb', line 461

def validate(value)
  return if value.nil?
  super(value)
end