Class: RuboCop::AST::ProcessedSource

Inherits:
Object
  • Object
show all
Defined in:
sig/gems/rubocop_rspec_stubs.rbs

Overview

The collection's RBS omits file_path and from_file; declare only what this gem uses.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_fileRuboCop::AST::ProcessedSource

Parameters:

  • path (String)
  • ruby_version (Numeric)

Returns:



46
# File 'sig/gems/rubocop_rspec_stubs.rbs', line 46

def self.from_file: (String path, Numeric ruby_version) -> RuboCop::AST::ProcessedSource

Instance Method Details

#file_pathString?

Returns:

  • (String, nil)


44
# File 'sig/gems/rubocop_rspec_stubs.rbs', line 44

def file_path: () -> String?