Class: Blueprinter::PublicSendExtractor Private

Inherits:
Extractor
  • Object
show all
Defined in:
lib/blueprinter/extractors/public_send_extractor.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

API:

  • private

Instance Method Summary collapse

Methods inherited from Extractor

extract

Instance Method Details

#extract(field_name, object, _local_options, _options = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

API:

  • private



8
9
10
# File 'lib/blueprinter/extractors/public_send_extractor.rb', line 8

def extract(field_name, object, _local_options, _options = {})
  object.public_send(field_name)
end