Function: ruby-ts--same-line-args-p
ruby-ts--same-line-args-p is a byte-compiled function defined in
ruby-ts-mode.el.gz.
Signature
(ruby-ts--same-line-args-p N PARENT &rest _)
Documentation
Return non-nil when first argument is on the same line as the method.
PARENT will be argument_list. NODE can be the close paren.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ruby-ts-mode.el.gz
(defun ruby-ts--same-line-args-p (_n parent &rest _)
"Return non-nil when first argument is on the same line as the method.
PARENT will be argument_list. NODE can be the close paren."
(let* ((method (treesit-node-parent parent))
(first-param (ruby-ts--first-non-comment-child parent)))
(= (ruby-ts--lineno method) (ruby-ts--lineno first-param))))