Class: PictureTag::Srcsets::PixelRatio
- Defined in:
- lib/jekyll_picture_tag/srcsets/pixel_ratio.rb
Overview
Creates a srcset in the “(filename) (pixel_ratio)x” format. Example: “img.jpg 1x, img2.jpg 1.5x, img3.jpg 2x”
Instance Attribute Summary
Attributes inherited from Basic
Method Summary
Methods inherited from Basic
#check_widths, #files, #format, #initialize, #media_attribute, #mime_type, #sizes, #to_a, #to_s
Constructor Details
This class inherits a constructor from PictureTag::Srcsets::Basic