Class: LogStash::Setting::NullableString
- Inherits:
-
String
- Object
- LogStash::Setting
- String
- LogStash::Setting::NullableString
- Defined in:
- lib/logstash/settings.rb
Instance Attribute Summary
Attributes inherited from LogStash::Setting
Instance Method Summary collapse
Methods inherited from String
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 |