class RuboCop::AST::BlockNode

def first_argument

Returns:
  • (Node, nil) - the first argument of this block,
def first_argument
  arguments[0]
end