module RuboCop::Cop::MinBodyLength

def min_body_length

def min_body_length
  length = cop_config['MinBodyLength'] || 1
  return length if length.is_a?(Integer) && length.positive?
  raise 'MinBodyLength needs to be a positive integer!'
end