class RuboCop::Cop::Style::WordArray
def smallest_percent_size(style, ary_size)
def smallest_percent_size(style, ary_size) @smallest_percent ||= Float::INFINITY if style == :percent && ary_size < @smallest_percent @smallest_percent = ary_size end @smallest_percent end