Class: PictureTag::OutputFormats::DirectUrl

Inherits:
Object
  • Object
show all
Includes:
Basics
Defined in:
lib/jekyll-4-picture-tag/output_formats/direct_url.rb

Overview

Represents a bare url you can use in another context, such as a direct link, but keep the resizing functionality

Instance Method Summary collapse

Methods included from Basics

#build_base_img

Instance Method Details

#to_sObject



8
9
10
# File 'lib/jekyll-4-picture-tag/output_formats/direct_url.rb', line 8

def to_s
  build_base_img.src
end