class RuboCop::AST::DefNode
def void_context?
-
(Boolean)- whether the `def` node body is a void context
def void_context? (def_type? && method?(:initialize)) || assignment_method? end
(Boolean)
- whether the `def` node body is a void context
def void_context? (def_type? && method?(:initialize)) || assignment_method? end