class RuboCop::Cop::Ariadne::NoTagMemoize

TODO: TEST THIS<br>@attributes = :h2<br>good<br><br>@attributes = fetch_or_raise(TAG_OPTIONS, tag)<br>good<br><br>@attributes ||= :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