class RuboCop::AST::HashNode

def mixed_delimiters?

Returns:
  • (Boolean) - whether the `hash` uses mixed delimiters

Other tags:
    Note: - `kwsplat` nodes are ignored.
def mixed_delimiters?
  pairs.map(&:delimiter).uniq.size > 1
end