D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
1.9.1
/
rdoc
/
markup
/
Filename :
heading.rb
back
Copy
## # A heading with a level (1-6) and text class RDoc::Markup::Heading < Struct.new :level, :text ## # Calls #accept_heading on +visitor+ 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