Class: WhatDyaReturn::AST::UntilNode
- Inherits:
-
RuboCop::AST::UntilNode
- Object
- RuboCop::AST::UntilNode
- WhatDyaReturn::AST::UntilNode
- Defined in:
- lib/what_dya_return/ast/node/until_node.rb
Overview
A node extension for ‘if` nodes.
Instance Method Summary collapse
Instance Method Details
#body_reachable? ⇒ Boolean
18 19 20 |
# File 'lib/what_dya_return/ast/node/until_node.rb', line 18 def body_reachable? condition.truthy_literal?.! end |