Module: ColorThemeColors
- Defined in:
- lib/core/ruby/color_theme_colors.rb
Constant Summary collapse
- DEFAULT_THEME_COLORS =
{ color: :default, mode: :default, background: :default }.freeze
Instance Method Summary collapse
-
#merge_default_colors ⇒ Object
Ensures that default colors and mode are represented in the returned Hash.
- #merge_default_colors! ⇒ Object
Instance Method Details
#merge_default_colors ⇒ Object
Ensures that default colors and mode are represented in the returned Hash.
7 8 9 10 |
# File 'lib/core/ruby/color_theme_colors.rb', line 7 def merge_default_colors # TODO: Error checking. DEFAULT_THEME_COLORS.merge(dup) end |
#merge_default_colors! ⇒ Object
12 13 14 15 |
# File 'lib/core/ruby/color_theme_colors.rb', line 12 def merge_default_colors! # TODO: Error checking. merge!(merge_default_colors) end |