Class: Middleman::Extensions::AutomaticImageSizes
- Inherits:
-
Middleman::Extension
- Object
- Middleman::Extension
- Middleman::Extensions::AutomaticImageSizes
- Defined in:
- lib/middleman-more/extensions/automatic_image_sizes.rb
Overview
Automatic Image Sizes extension
Instance Attribute Summary
Attributes inherited from Middleman::Extension
Instance Method Summary collapse
-
#initialize(app, options_hash = {}, &block) ⇒ AutomaticImageSizes
constructor
A new instance of AutomaticImageSizes.
Methods inherited from Middleman::Extension
activate, activated_extension, after_extension_activated, clear_after_extension_callbacks, config, extension_name, helpers, option, register
Constructor Details
#initialize(app, options_hash = {}, &block) ⇒ AutomaticImageSizes
Returns a new instance of AutomaticImageSizes.
4 5 6 7 8 9 |
# File 'lib/middleman-more/extensions/automatic_image_sizes.rb', line 4 def initialize(app, ={}, &block) super # Include 3rd-party fastimage library require "vendored-middleman-deps/fastimage" end |