Sha256: cfeffb9aad20d6fca2c78b7dc5e171d133ae6f1d5c5826018c74c832c6a3e5b4
Contents?: true
Size: 314 Bytes
Versions: 7
Compression:
Stored size: 314 Bytes
Contents
## # A heading with a level (1-6) and text class RDoc::Markup::Heading < Struct.new :level, :text ## # Calls #accept_heading on +wisitor+ def accept visitor visitor.accept_heading self end def pretty_print q # :nodoc: q.group 2, "[head: #{level} ", ']' do q.pp text end end end
Version data entries
7 entries across 7 versions & 1 rubygems