class RuboCop::AST::YieldNode

to all ‘yield` nodes within RuboCop.
node when the builder constructs the AST, making its methods available
A node extension for `yield` nodes. This will be used in place of a plain

def node_parts

Returns:
  • (Array) - the different parts of the `send` node
def node_parts
  [nil, :yield, *to_a]
end