class RuboCop::Cop::Style::EmptyLinesAroundModuleBody

This cops checks if empty lines around the bodies of modules match the configuration.

@example

module Test

   def something
     ...
   end

end

Constants

KIND

Public Instance Methods

on_module(node) click to toggle source
# File lib/rubocop/cop/style/empty_lines_around_module_body.rb, line 24
def on_module(node)
  _name, body = *node
  check(node, body)
end