Sha256: 4279e58a4666b345648284fa34cca4daeacd03fe2b4476723282b1662fd163b7
Contents?: true
Size: 569 Bytes
Versions: 28
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module ActiveElement module Components # Provides a description of a page, intended to be used underneath the `page_title` component. class PageDescription def initialize(controller, content:) @controller = controller @content = content end def template 'active_element/components/page_description' end def locals { component: self, content: content } end private attr_reader :controller, :content end end end
Version data entries
28 entries across 28 versions & 1 rubygems