Class: LogStruct::ConfigStruct::FilterMatcher

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/log_struct/config_struct/filters.rb

Instance Method Summary collapse

Instance Method Details

#matches?(key, value) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/log_struct/config_struct/filters.rb', line 13

def matches?(key, value)
  callable.call(key, value)
end