Sha256: 4c28564cce67af05324026f352eaf893e2c2ff736a7c4181bf45c590c964297f
Contents?: true
Size: 579 Bytes
Versions: 16
Compression:
Stored size: 579 Bytes
Contents
# encoding: utf-8 module RuboCop module Cop module Style # This cops checks if empty lines around the bodies of classes match the # configuration. # # @example # # class Test # # def something # ... # end # # end # class EmptyLinesAroundClassBody < Cop include EmptyLinesAroundBody KIND = 'class' def on_class(node) check(node) end def on_sclass(node) check(node) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems