class RuboCop::AST::BlockNode
def braces?
-
(Boolean)
- whether the `block` literal is enclosed in braces
def braces? loc.end&.is?('}') end
(Boolean)
- whether the `block` literal is enclosed in braces
def braces? loc.end&.is?('}') end