Skip to content

Commit 1959cc3

Browse files
authored
rubocop-ast: Add type for RuboCop::AST::ProcessedSource#lines (#1019)
ref: https://github.com/rubocop/rubocop-ast/blob/v1.46.0/lib/rubocop/ast/processed_source.rb#L77
1 parent 72d61c6 commit 1959cc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gems/rubocop-ast/1.46/rubocop-ast.rbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module RuboCop
77
attr_reader parser_engine: Symbol
88

99
def initialize: (String source, Float ruby_version, ?path?, ?parser_engine: Symbol, ?prism_result: untyped) -> untyped
10+
def lines: () -> Array[String]
1011
def raw_source: () -> String
1112
def buffer: () -> Parser::Source::Buffer
1213
def comments: () -> Array[Parser::Source::Comment]

0 commit comments

Comments
 (0)