Sha256: d93dbef19251246f649d698459b9a31b4fcd21930ae657c4af62bf288d0932e5
Contents?: true
Size: 515 Bytes
Versions: 23
Compression:
Stored size: 515 Bytes
Contents
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?(/^https?:\/\//) external_link else "http://#{external_link}" end else '' end end end end
Version data entries
23 entries across 23 versions & 1 rubygems