Sha256: 2df51c62bc7fa2008fb69e7a92ec2b9eeb70b81b2bb426cb8c168e82ea832365

Contents?: true

Size: 302 Bytes

Versions: 28

Compression:

Stored size: 302 Bytes

Contents

module PictureTag
  module OutputFormats
    # Similar to Auto, but sets data-src (and so on) instead of src
    class DataAuto < Auto
      def self.new
        if PictureTag::Utils.count_srcsets > 1
          DataPicture.new
        else
          DataImg.new
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
jekyll_picture_tag-2.1.2 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.1.1 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.1.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.4 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.3 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.2 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.1 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-2.0.0pre1 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.14.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.13.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.12.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.11.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.10.2 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.10.1 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.10.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.9.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.8.0 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.7.1 lib/jekyll_picture_tag/output_formats/data_auto.rb
jekyll_picture_tag-1.7.0 lib/jekyll_picture_tag/output_formats/data_auto.rb