module RuboCop::AST::ParameterizedNode
def block_argument?
-
(Boolean)
- whether the last argument of the node is a block pass
def block_argument? arguments? && (last_argument.block_pass_type? || last_argument.blockarg_type?) end
(Boolean)
- whether the last argument of the node is a block pass
def block_argument? arguments? && (last_argument.block_pass_type? || last_argument.blockarg_type?) end