class RuboCop::AST::ReturnNode
available to all ‘return` nodes within RuboCop.
plain node when the builder constructs the AST, making its methods
A node extension for `return` nodes. This will be used in place of a
def arguments
-
(Array)
- The arguments of the `return`.
def arguments if node_parts.one? && node_parts.first.begin_type? node_parts.first.children else node_parts end end