Inspectopedia Help

Variable/parameter scope

Reports the use of local variables or parameters that may be unsafe:

  • Implicit or explicit variables or parameters that shadow an outer variable or parameter

  • Uninitialized variables or parameters

  • Redundant variable declarations inside blocks

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3


Ruby, 233.SNAPSHOT

Last modified: 13 July 2023