Sha256: a10091c960b406c32286e6da242c829cea3e91dce95695323cd7774c92e73974
Contents?: true
Size: 534 Bytes
Versions: 110
Compression:
Stored size: 534 Bytes
Contents
## # 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 end
Version data entries
110 entries across 88 versions & 20 rubygems