In Files

  • rdoc/markup/indented_paragraph.rb

Class/Module Index [+]

Quicksearch

RDoc::Markup::IndentedParagraph

An Indented Paragraph of text

Attributes

indent[R]

The indent in number of spaces

Public Class Methods

new(indent, *parts) click to toggle source

Creates a new IndentedParagraph containing parts indented with indent spaces

 
               # File rdoc/markup/indented_paragraph.rb, line 15
def initialize indent, *parts
  @indent = indent

  super(*parts)
end
            

Public Instance Methods

accept(visitor) click to toggle source

Calls accept_indented_paragraph on visitor

 
               # File rdoc/markup/indented_paragraph.rb, line 28
def accept visitor
  visitor.accept_indented_paragraph self
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus