We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032024b commit 630ad43Copy full SHA for 630ad43
2 files changed
lib/rdoc/markup/block_quote.rb
@@ -1,14 +1,14 @@
1
# frozen_string_literal: true
2
-##
3
-# A quoted section which contains markup items.
4
5
-class RDoc::Markup::BlockQuote < RDoc::Markup::Raw
6
-
7
- ##
8
- # Calls #accept_block_quote on +visitor+
9
10
- def accept(visitor)
11
- visitor.accept_block_quote self
+module RDoc
+ class Markup
+ class BlockQuote < Raw
+ # Calls #accept_block_quote on +visitor+
+ # @override
+ #: (untyped) -> void
+ def accept(visitor)
+ visitor.accept_block_quote(self)
+ end
12
13
end
14
lib/rdoc/markup/raw.rb
@@ -3,7 +3,7 @@
module RDoc
class Markup
# A section of text that is added to the output document as-is
- class Raw
+ class Raw < Element
# The component parts of the list
#: Array[String]
attr_reader :parts
0 commit comments