Class: RuboCop::Cop::RSpec::Base

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

Direct Known Subclasses

UnusedLet

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.def_node_matchervoid

This method returns an undefined value.

Parameters:

  • (Symbol)
  • (String)


13
# File 'sig/rubocop_rspec_stubs.rbs', line 13

def self.def_node_matcher: (Symbol, String) -> void

.def_node_searchvoid

This method returns an undefined value.

Parameters:

  • (Symbol)
  • (String)


15
# File 'sig/rubocop_rspec_stubs.rbs', line 15

def self.def_node_search: (Symbol, String) -> void

Instance Method Details

#add_offensevoid

This method returns an undefined value.

Parameters:

  • node (Object)
  • message: (String)


11
# File 'sig/rubocop_rspec_stubs.rbs', line 11

def add_offense: (untyped node, ?message: String) -> void

#cop_configHash[String, untyped]

Returns:

  • (Hash[String, untyped])


9
# File 'sig/rubocop_rspec_stubs.rbs', line 9

def cop_config: () -> Hash[String, untyped]