app/services/descriptor/activity_description.rb
Method has too many lines. [11/10] Open
Open
def activity_descriptors(rule_type)
rule = package.public_send(rule_type)
return [] if !rule && rule_type == :zone_acitivity_rule
package.activities.map do |activity|
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.