Skip to content

Section

class Tourmaline::Format::Section
inherits Tourmaline::Format::Token #

Direct known subclasses#

Tourmaline::Format::SubSection Tourmaline::Format::SubSubSection

Class methods#

.build(*args, **kwargs, &block : self -> ) #

.new(*tokens, indent : Int32 = 4, spacing : Int32 = 1) #

Methods#

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

#<< #

#indent : Int32 #

#indent=(indent : Int32) #

#push(*args, **options) #

#push #

#shift(*args, **options) #

#shift #

#spacing : Int32 #

#spacing=(spacing : Int32) #

#to_html : String #

#to_md(version : Int32 = 2) : String #

#tokens : Array(Token | String) #

#tokens=(tokens : Array(Token | String)) #

#unshift(*args, **options) #

#unshift #