Sha256: 363e2a989085482b56512bcec6748345b80469cf50731a665e31c43dbb1b68a2
Contents?: true
Size: 719 Bytes
Versions: 8
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true module DevSuite module Utils module Table module Config class Configuration < Utils::Construct::Config::Base set_default_settings( colors: { title: :cyan, column: :yellow, row: :default, border: :blue, }, # alignments: { # column: :left, # row: :left, # }, ) config_attr :renderer, default_value: :simple, type: :symbol, resolver: :resolve_renderer private def resolve_renderer(value) Renderer.build_component(value) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems