ulmic/tramway-dev

View on GitHub
tramway-landing/app/decorators/tramway/landing/navbar/link_decorator.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class Tramway::Landing::Navbar::LinkDecorator < Tramway::ApplicationDecorator
  def title
    object[:title]
  end

  def link
    object[:link]
  end

  def icon
    object[:icon]
  end
end