Class: Blueprinter::HashExtractor
- Defined in:
- lib/blueprinter/extractors/hash_extractor.rb
Instance Method Summary collapse
Methods inherited from Extractor
Instance Method Details
#extract(field_name, object, _local_options, _options = {}) ⇒ Object
3 4 5 |
# File 'lib/blueprinter/extractors/hash_extractor.rb', line 3 def extract(field_name, object, , = {}) object[field_name] end |