File tree Expand file tree Collapse file tree 1 file changed +25
-23
lines changed
Expand file tree Collapse file tree 1 file changed +25
-23
lines changed Original file line number Diff line number Diff line change 11# frozen_string_literal: true
2- ##
3- # An empty line. This class is a singleton.
42
5- class RDoc ::Markup ::BlankLine
6-
7- @instance = new
8-
9- ##
10- # RDoc::Markup::BlankLine is a singleton
11-
12- def self . new
13- @instance
3+ module RDoc
4+ class Markup
5+ # An empty line
6+ class BlankLine < Element
7+ @instance = new
8+
9+ # RDoc::Markup::BlankLine is a singleton
10+ #: () -> BlankLine
11+ def self . new
12+ @instance
13+ end
14+
15+ # Calls #accept_blank_line on +visitor+
16+ # @override
17+ #: (untyped) -> void
18+ def accept ( visitor )
19+ visitor . accept_blank_line ( self )
20+ end
21+
22+ # @override
23+ #: (PP) -> void
24+ def pretty_print ( q ) # :nodoc:
25+ q . text ( "blankline" )
26+ end
27+ end
1428 end
15-
16- ##
17- # Calls #accept_blank_line on +visitor+
18-
19- def accept ( visitor )
20- visitor . accept_blank_line self
21- end
22-
23- def pretty_print ( q ) # :nodoc:
24- q . text 'blankline'
25- end
26-
2729end
You can’t perform that action at this time.
0 commit comments