Method: RuboCop::Cop::Style::DataInheritance#data_define?

Defined in:
lib/rubocop/cop/style/data_inheritance.rb

#data_define?(node) ⇒ Object

[View source]

48
49
50
51
# File 'lib/rubocop/cop/style/data_inheritance.rb', line 48

def_node_matcher :data_define?, <<~PATTERN
  {(send (const {nil? cbase} :Data) :define ...)
   (block (send (const {nil? cbase} :Data) :define ...) ...)}
PATTERN