class RuboCop::AST::PairNode

def value_on_new_line?

Returns:
  • (Boolean) - whether the value in the `pair` starts its own line
def value_on_new_line?
  key.loc.line != value.loc.line
end