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