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