module TTY::Markdown

def color_enabled(color)

Other tags:
    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