Sha256: 12781a55099a9765f435f398787d017b6d06d481e18b42005f12dc6815092a46
Contents?: true
Size: 593 Bytes
Versions: 10
Compression:
Stored size: 593 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module RuboCop module Cop module Style # This cops checks if empty lines around the bodies of modules match # the configuration. # # @example # # module Test # # def something # ... # end # # end # class EmptyLinesAroundModuleBody < Cop include EmptyLinesAroundBody KIND = 'module'.freeze def on_module(node) _name, body = *node check(node, body) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems