Class: Pageflow::ImageFileUrlTemplates
- Inherits:
-
Object
- Object
- Pageflow::ImageFileUrlTemplates
- Defined in:
- app/models/pageflow/image_file_url_templates.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/models/pageflow/image_file_url_templates.rb', line 3 def call styles.each_with_object({}) do |style, result| result[style] = replace_extension_with_placeholder( UrlTemplate.(example_file., style) ) end end |