Method: Asciidoctor::Section#to_s
- Defined in:
- lib/asciidoctor/section.rb
#to_s ⇒ Object
164 165 166 167 168 169 170 171 |
# File 'lib/asciidoctor/section.rb', line 164 def to_s if @title formal_title = @numbered ? %(#{sectnum} #{@title}) : @title %(#<#{self.class}@#{object_id} {level: #{@level}, title: #{formal_title.inspect}, blocks: #{@blocks.size}}>) else super end end |