Sha256: ece7ad9d0fbf5fcac21cf3589b0670bc278c1ea1891b123606c1d388796a9377
Contents?: true
Size: 422 Bytes
Versions: 49
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module ColorThemeColors DEFAULT_THEME_COLORS = { color: :default, mode: :default, background: :default }.freeze # Ensures that default colors and mode are represented in the returned Hash. def merge_default_colors # TODO: Error checking. DEFAULT_THEME_COLORS.merge(dup) end def merge_default_colors! # TODO: Error checking. merge!(merge_default_colors) end end
Version data entries
49 entries across 49 versions & 2 rubygems