Struct.new do
and Metrics/BlockLength
vs Metrics/ClassLength
#8102
Labels
Struct.new do
and Metrics/BlockLength
vs Metrics/ClassLength
#8102
Both styles should give the same offenses.
Currently
Metrics/BlockLength
will complain (when this is really not a standard block at all) andMetrics/ClassLength
will not take it into account (when it should).If we don't have a cop for to favor one style over the other, maybe we should(we do: Style/StructInheritance)The text was updated successfully, but these errors were encountered: