# frozen_string_literal: true module RuboCop module Cop module Naming # This cop makes sure that all methods use the configured style, # snake_case or camelCase, for their names. # # @example EnforcedStyle: snake_case (default) # # bad # def fooBar; end # # # good # def foo_bar; end # # @example EnforcedStyle: camelCase # # bad # def foo_bar; end # # # good # def fooBar; end class MethodName < Cop include ConfigurableNaming MSG = 'Use %