Sha256: 3e86833c1fe45702016d3f70612054420fd93b67b91d333813b4b218d471214b

Contents?: true

Size: 187 Bytes

Versions: 28

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

class Tramway::Landing::BlockLinkDecorator < ::Tramway::Landing::LinkDecorator
  delegate :title, to: :object

  def link
    "##{object.anchor}"
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
tramway-landing-2.2 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.1.0.2 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.1.0.1 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.1 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.0.1.6 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.0.1.5 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.0.1.4 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-2.0.1.3 app/decorators/tramway/landing/block_link_decorator.rb