Sha256: 664a96bc496de19bf35ee047dd68c1434e6f61fb0f8d3401c1fd40194f0f1a50
Contents?: true
Size: 591 Bytes
Versions: 12
Compression:
Stored size: 591 Bytes
Contents
module Coprl module Presenters module DSL module Components class Page < Base attr_accessor :title, :background_color def initialize(**attribs_, &block) super(type: :page, **attribs_, &block) expand! end def title(title=nil) return @title if locked? @title = title end def background_color(color=nil) return @background_color if locked? @background_color = color end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems