Module: Fluent::PluginHelper::RecordAccessor

Defined in:
lib/fluent/plugin_helper/record_accessor.rb

Defined Under Namespace

Classes: Accessor

Instance Method Summary collapse

Instance Method Details

#record_accessor_create(param) ⇒ Object



22
23
24
# File 'lib/fluent/plugin_helper/record_accessor.rb', line 22

def record_accessor_create(param)
  Accessor.new(param)
end

#record_accessor_nested?(param) ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/fluent/plugin_helper/record_accessor.rb', line 26

def record_accessor_nested?(param)
  Accessor.parse_parameter(param).is_a?(Array)
end