class Lemonade::Formatter::Raw::AttributeBlock

Overview

e.g: %{+u} or %{!o}

Defined in:

lemonade/formatters.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Lemonade::Formatter::BaseBlock

formatting(io, &) formatting

Instance methods inherited from class Lemonade::Block::BaseBlock

dirty! dirty!, dirty? dirty?, inspect(io : IO) : Nil inspect, parents : Array(Lemonade::Block::BaseBlock) parents, parents=(parents : Array(Lemonade::Block::BaseBlock)) parents=, redraw(io) redraw, render(io) render

Constructor Detail

def self.new(attribute : Char, state : Char) #

[View source]

Class Method Detail

def self.disable(attr) #

[View source]
def self.enable(attr) #

[View source]
def self.toggle(attr) #

[View source]

Instance Method Detail

def render(io) #
Description copied from class Lemonade::Block::BaseBlock

TODO doc


[View source]