class RuboCop::AST::BlockNode

def arguments

Returns:
  • (Array) -
def arguments
  if block_type?
    node_parts[1]
  else
    [].freeze # Numblocks and itblocks have no explicit block arguments.
  end
end