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

Methods included from Util::Loggable

included, #logger, #slow_logger

Constructor Details

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

Instance Method Details

#validate(value) ⇒ Object



392
393
394
395
# File 'lib/logstash/settings.rb', line 392

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