Sha256: 46e8308f187ea2d67c43d3a9d38da41c89a4f4010a5e809ba9b43a5afdd2d44b
Contents?: true
Size: 546 Bytes
Versions: 80
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true class Tramway::Landing::BlockTypes::FeaturesDecorator < ::Tramway::Core::ApplicationDecorator def icon; end def image; end def title; end def text; end def anchor; end def full_text; end def external_link; end def active_link if anchor.present? "##{anchor}" else if external_link.present? if external_link.match?(%r{^https?://}) external_link else "http://#{external_link}" end else '' end end end end
Version data entries
80 entries across 80 versions & 1 rubygems