Sha256: ef3ee651bdce3a76d86796a054efaea953cc26c7e9239818b8c0a30b6690b0d6

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

module PictureTag
  module Cache
    # Caches generated image details, so we can skip expensive operations whenever
    # possible.
    # Stored width and height are values for the source image, after cropping.
    class Generated
      include Base

      private

      def cache_dir
        'generated'
      end

      def template
        { width: nil, height: nil }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll_picture_tag-1.14.0 lib/jekyll_picture_tag/cache/generated.rb
jekyll_picture_tag-1.13.0 lib/jekyll_picture_tag/cache/generated.rb
jekyll_picture_tag-1.12.0 lib/jekyll_picture_tag/cache/generated.rb
jekyll_picture_tag-1.11.0 lib/jekyll_picture_tag/cache/generated.rb