Sha256: 51e1db66c5c7499f2ff0d39157012bf603470df2f727ed1135106c9804c2d96b
Contents?: true
Size: 314 Bytes
Versions: 19
Compression:
Stored size: 314 Bytes
Contents
# frozen_string_literal: true class Tramway::SportSchool::Cards::DocumentDecorator < ::Tramway::Landing::BlockTypes::CardsDecorator def image object.file.url if object.file.url.include?('.jpg') end delegate :title, to: :object def description nil end def path object.file.url end end
Version data entries
19 entries across 19 versions & 1 rubygems