Sha256: 68bcd6fd34d6007d9c9782bdaeec4eda482e864c4aa4c92e7d3cbcfa48d51441
Contents?: true
Size: 626 Bytes
Versions: 14
Compression:
Stored size: 626 Bytes
Contents
module Voom module Presenters module DSL module Components class Page < Base attr_accessor :title, :background_color def initialize(**attribs_, &block) super(type: :page, context: context, **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
14 entries across 14 versions & 1 rubygems