class RuboCop::Cop::Primer::NoTagMemoize

@system_arguments = :h2<br>good<br><br>@system_arguments = fetch_or_fallback(TAG_OPTIONS, tag, DEFAULT_TAG)<br>good<br><br>@system_arguments ||= :h1
bad
This cop ensures that tags are not set with ||=

def on_or_asgn(node)

def on_or_asgn(node)
  add_offense(node, message: INVALID_MESSAGE) if tag_memoized?(node)
end