Module: Shrine::Plugins::Thumbhash::InstanceMethods
- Defined in:
- lib/shrine/plugins/thumbhash.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#extract_metadata(io, **options) ⇒ Object
52 53 54 55 |
# File 'lib/shrine/plugins/thumbhash.rb', line 52 def (io, **) thumbhash = self.class.generate_thumbhash(io) super.merge!(encode_thumbhash_as_base64(thumbhash)) end |