Sha256: 2bc81a799d3fde04e39f9d0d585fc1f0f63f29a07de3824789ac0629bd6394aa

Contents?: true

Size: 325 Bytes

Versions: 4

Compression:

Stored size: 325 Bytes

Contents

module PictureTag
  module Cache
    # Caches source image details, so we can skip expensive operations whenever
    # possible.
    class Source
      include Base

      private

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

      def cache_dir
        'source'
      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/source.rb
jekyll_picture_tag-1.13.0 lib/jekyll_picture_tag/cache/source.rb
jekyll_picture_tag-1.12.0 lib/jekyll_picture_tag/cache/source.rb
jekyll_picture_tag-1.11.0 lib/jekyll_picture_tag/cache/source.rb