Sha256: bf26d9df408ffad2a3ec1ef3ea82e497d89821ef775cd80b78d5e6185a013f43
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
# frozen_string_literal: true module DevSuite module Utils module Color module Config class Configuration < BaseConfiguration config_attr :strategy, default_value: :theme, type: :symbol, resolver: :resolve_strategy config_attr :palette, default_value: :default, type: :symbol, resolver: :resolve_palette private def resolve_strategy(value) Strategy.create(value) end def resolve_palette(value) Palette.create(value) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dev_suite-0.2.5 | lib/dev_suite/utils/color/config/configuration.rb |