module RuboCop::AST::HashElementNode

def delimiter_delta(other)

Returns:
  • (Integer) - the delta between the two delimiters

Other tags:
    Note: - Pairs with different delimiter styles return a delta of 0
def delimiter_delta(other)
  HashElementDelta.new(self, other).delimiter_delta
end