Method: Blueprinter::AutoExtractor#initialize
- Defined in:
- lib/blueprinter/extractors/auto_extractor.rb
#initialize ⇒ AutoExtractor
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.
Returns a new instance of AutoExtractor.
6 7 8 9 10 11 |
# File 'lib/blueprinter/extractors/auto_extractor.rb', line 6 def initialize @hash_extractor = HashExtractor.new @public_send_extractor = PublicSendExtractor.new @block_extractor = BlockExtractor.new @datetime_formatter = DateTimeFormatter.new end |