instance method
Prism::UnlessNode#consequent
consequent
lib/prism/node_ext.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node_ext.rb, line 506
def consequent
deprecated("else_clause")
else_clause
end
Returns the else clause of the unless node. This method is deprecated in favor of else_clause.