Method: Blueprinter::BlockExtractor#extract

Defined in:
lib/blueprinter/extractors/block_extractor.rb

#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.



4
5
6
# File 'lib/blueprinter/extractors/block_extractor.rb', line 4

def extract(field_name, object, local_options, options = {})
  options[:block].call(object, local_options)
end