module RuboCop::AST::MethodDispatchNode

def access_modifier?

Returns:
  • (Boolean) - whether the dispatched method is access modifier
def access_modifier?
  macro? && bare_access_modifier?
end