lib/rules_processor.rb
Method RulesProcessor.configuration
is defined at both lib/rules_processor.rb:21 and lib/rules_processor.rb:25. Open
Open
def self.configuration
- Read upRead up
- Exclude checks
This cop checks for duplicated instance (or singleton) method definitions.
Example:
# bad
def duplicated
1
end
def duplicated
2
end
Example:
# bad
def duplicated
1
end
alias duplicated other_duplicated
Example:
# good
def duplicated
1
end
def other_duplicated
2
end