class RuboCop::AST::PairNode

def value_omission?

Returns:
  • (Boolean) - whether this `pair` uses hash value omission
def value_omission?
  source.end_with?(':')
end