module TTY::Markdown
def color_enabled(color)
- Api: - private
Returns:
-
(Boolean, nil)
-
Parameters:
-
color
(String, Symbol
) --
def color_enabled(color) case color.to_s when "always" then true when "never" then false end end
(Boolean, nil)
-
color
(String, Symbol
)
--
def color_enabled(color) case color.to_s when "always" then true when "never" then false end end