PATH:
opt
/
alt
/
ruby20
/
lib64
/
ruby
/
2.0.0
/
rdoc
/
markup
## # An Indented Paragraph of text class RDoc::Markup::IndentedParagraph < RDoc::Markup::Raw ## # The indent in number of spaces attr_reader :indent ## # Creates a new IndentedParagraph containing +parts+ indented with +indent+ # spaces def initialize indent, *parts @indent = indent super(*parts) end def == other # :nodoc: super and indent == other.indent end ## # Calls #accept_indented_paragraph on +visitor+ def accept visitor visitor.accept_indented_paragraph self end ## # Joins the raw paragraph text and converts inline HardBreaks to the # +hard_break+ text followed by the indent. def text hard_break = nil @parts.map do |part| if RDoc::Markup::HardBreak === part then '%1$s%3$*2$s' % [hard_break, @indent, ' '] if hard_break else part end end.join end end
[-] list.rb
[edit]
[-] parser.rb
[edit]
[-] text_formatter_test_case.rb
[edit]
[-] list_item.rb
[edit]
[-] rule.rb
[edit]
[-] to_bs.rb
[edit]
[-] to_tt_only.rb
[edit]
[-] attributes.rb
[edit]
[-] paragraph.rb
[edit]
[-] raw.rb
[edit]
[-] heading.rb
[edit]
[-] formatter_test_case.rb
[edit]
[-] attribute_manager.rb
[edit]
[-] blank_line.rb
[edit]
[-] to_test.rb
[edit]
[-] attr_changer.rb
[edit]
[-] special.rb
[edit]
[-] to_table_of_contents.rb
[edit]
[-] to_html_crossref.rb
[edit]
[-] to_label.rb
[edit]
[-] indented_paragraph.rb
[edit]
[+]
..
[-] include.rb
[edit]
[-] hard_break.rb
[edit]
[-] document.rb
[edit]
[-] block_quote.rb
[edit]
[-] attr_span.rb
[edit]
[-] to_html.rb
[edit]
[-] to_joined_paragraph.rb
[edit]
[-] verbatim.rb
[edit]
[-] formatter.rb
[edit]
[-] to_html_snippet.rb
[edit]
[-] to_ansi.rb
[edit]
[-] pre_process.rb
[edit]
[-] to_markdown.rb
[edit]
[-] to_rdoc.rb
[edit]
[-] inline.rb
[edit]