method

pretty_print

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: RDoc::Attr
pretty_print(q) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/attr.rb, line 120
  def pretty_print q # :nodoc:
    q.group 2, "[#{self.class.name} #{full_name} #{rw} #{visibility}", "]" do
      unless comment.empty? then
        q.breakable
        q.text "comment:"
        q.breakable
        q.pp @comment
      end
    end
  end
Register or log in to add new notes.