%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/rdoc/markup/
Upload File :
Create Path :
Current File : //proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/rdoc/markup/heading.rb

##
# 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


Zerion Mini Shell 1.0