Inspectopedia Help

Cyclic class/module alias declaration

Reports cyclic declarations of class or module aliases.

Cyclic declarations produce CyclicClassAliasDefinitionError.

Example:

# Cyclic class alias declaration class User = Customer class Customer = User

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

Ruby, 233.SNAPSHOT

Last modified: 13 July 2023