class Oho::NonDisplayEscapeCode

Defined in:

oho/non_display_escape_code.cr

Constructors

Instance Method Summary

Instance methods inherited from class Oho::EscapeCode

affects_display? : Bool affects_display?, raw : String raw, styles : Array(Int32) styles, to_span(escape_code : EscapeCode | Nil) : String to_span

Constructor methods inherited from class Oho::EscapeCode

new(string : String, options : Hash(Symbol, String)) new

Constructor Detail

def self.new(string : String, options : Hash(Symbol, String)) #

[View source]

Instance Method Detail

def affects_display? : Bool #

[View source]
def background_color : String? #

[View source]
def foreground_color : String? #

[View source]
def raw : String #

[View source]
def string : String #

[View source]
def styles : Array(Int32) #

[View source]
def to_span(escape_code : EscapeCode | Nil) : String #

[View source]