lib/rubocop/cop/mixin/def_node.rb in rubocop-0.48.1 vs lib/rubocop/cop/mixin/def_node.rb in rubocop-0.49.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module RuboCop
module Cop
- # Common functionality for checking if nodes.
+ # Common functionality for checking def nodes.
module DefNode
extend NodePattern::Macros
NON_PUBLIC_MODIFIERS = %w[private protected].freeze