struct Climate::Style

Defined in:

climate/style.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(delimiters : Tuple(Char, Char), keep_delimiters : Bool, colors : NamedTuple(fore: Colorize::Color256 | Colorize::ColorANSI | Colorize::ColorRGB | Symbol, back: Colorize::Color256 | Colorize::ColorANSI | Colorize::ColorRGB | Symbol) | Nil = nil, decoration = nil) #

[View source]

Instance Method Detail

def colors : NamedTuple(fore: Colorize::Color | Symbol, back: Colorize::Color | Symbol) | Nil #

[View source]
def decoration : Colorize::Mode | Nil #

[View source]
def delimiters : Tuple(Char, Char) #

[View source]
def keep_delimiters? : Bool #

[View source]
def parse(message : String) : String #

[View source]
def strip(message : String, *, force = false) : String #

[View source]