class Tourmaline::Format::LineItem

Defined in:

tourmaline/extra/format.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tourmaline::Format::Group

<<(*args, **options)
<<(*args, **options, &)
<<
, build(*args, **kwargs, &block : self -> ) build, push(*args, **options)
push(*args, **options, &)
push
, shift(*args, **options)
shift(*args, **options, &)
shift
, to_html : String to_html, to_md(version : Int32 = 2) : String to_md, tokens : Array(Token | String) tokens, tokens=(tokens : Array(Token | String)) tokens=, unshift(*args, **options)
unshift(*args, **options, &)
unshift

Constructor methods inherited from class Tourmaline::Format::Group

new(*tokens) new

Instance methods inherited from class Tourmaline::Format::Token

to_html : String to_html, to_md(version : Int32) : String to_md

Constructor Detail

def self.new(*tokens, spaces : Int32 = 1) #

[View source]

Instance Method Detail

def <<(*args, **options) #

[View source]
def <<(*args, **options, &) #

[View source]
def push(*args, **options) #

[View source]
def push(*args, **options, &) #

[View source]
def shift(*args, **options) #

[View source]
def shift(*args, **options, &) #

[View source]
def spaces : Int32 #

[View source]
def spaces=(spaces : Int32) #

[View source]
def to_html : String #

[View source]
def to_md(version : Int32 = 2) : String #

[View source]
def tokens : Array(Token | String) #

[View source]
def tokens=(tokens : Array(Token | String)) #

[View source]
def unshift(*args, **options) #

[View source]
def unshift(*args, **options, &) #

[View source]