Sha256: 6807876b9838d2b7e5cc682e8135910be83b0fab62cb2d2621db96754f90ac53

Contents?: true

Size: 195 Bytes

Versions: 34

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
tramway-landing-3.3.0.11 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.10 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.9 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.8 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.7 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.6 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.5 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.4 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.3 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.2 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3.0.1 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.3 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.2.0.3 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.2.0.2 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.2 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.1.1.12 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.1.1.11 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.1.1.10 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.1.1.9 app/decorators/tramway/landing/block_link_decorator.rb
tramway-landing-3.1.1.8 app/decorators/tramway/landing/block_link_decorator.rb