class RuboCop::AST::Node

def defined_module_name

def defined_module_name
  (const = defined_module) && const.const_name
end